Home › forums › Using CanvasJS › How to show labels just where have data points › Reply To: How to show labels just where have data points
For doing the same, set the valueFormatString to empty string inside axisX and assign the formatted date to the label. Here is an example.
For formatting dateTime values you can use Either use MomentJS or assign it directly on the server side too.
because in responsive (resolution < 768px) gets a mess
Just want to know what is going wrong when resolution is < 768px. Can you please create a JSFiddle so that we can have a look. As long as you have not set interval property, it should automatically adjust to any screen size. Try changing window size in this example.