javascript - Change Xaxis values to time using canvas js? -


the problem encountering want change x values incrementing current time (hour:minute:second)? have been working on more 2-3 hours, , know there way solve problem..

if have instance 3 different samples:

  1. data - 14.33.45

  2. data - 14.33.46

  3. data - 14.33.47

click here view diagram , edite too

kind regards dler h.

i'm not sure mean if want show time in x axis should replace x: xval, x: new date(),.

if looking change speed of when chart updated need change var updateinterval = 20; var updateinterval = 1000;. mean chart update every 1000 millisecond's (1 second).


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -