Home forums Using CanvasJS Need some help regarding my usage scenario Reply To: Need some help regarding my usage scenario

#22693

Priyanka M S
Member

@souravndp,

1. https://jsfiddle.net/2jhaL9qk
This is the basic implementation. I am just pushing the new data points (x: timestamp and y: a random number). I am not using any initial data points. Everything works fine except during the first few seconds, the x-axis labels do not make sense. (Please increase the result tab area in JSfiddle)

You can use valueFormatString to define the format of values / labels displayed on axis X and this should work fine in this case. Please take a look at this updated jsfiddle for the same.

Glad that you solved the other issues with the help of our documentation.

__
Priyanka M S
Team CanvasJS