Home forums Using CanvasJS STATIC TO DYNAMIC CONVERSION Reply To: STATIC TO DYNAMIC CONVERSION

#22036

Priyanka M S
Member

@hemel619619,

chart looking so clumsy in here. How can I reduce it?

You can shift the dataPoints. If you need only the current dataPoints, use shift() method. Please take a look at this example in our documentation.

ALso wanna know in the coding where did u make the changes so the time slots are visible in x-axis?

You should assign the labels along x-axis with values obtained from JSON.

I have one more question! could you please explain how did u create this? https://api.myjson.com/bins/a98dm

You can create JSON data in http://myjson.com/ and get the link that has your JSON data.

__
Priyanka M S
Team CanvasJS