JavaScript outputs the time according to the local timezone of the machine it’s running on. Setting JavaScript Date to your particular time zone should work fine in your case. Please refer this Stack Overflow thread for more information.
—–
Manoj Mohan
Team CanvasJS
Can you kindly create a sample project reproducing the issue you are facing and share it with us over Google-Drive or OneDrive along with sample data so that we can run it locally at our end, understand the scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
Legends are basically used to represent dataSeries in the chart. To give some identification to stripLines, you can use labels property.
Can you kindly share your exact scenario and requirement, so that we can suggest an optimal solution?
—-
Manoj Mohan
Team CanvasJS
minimum sets the minimum value for axis. Values smaller than minimum in axis are clipped. However, when you pass the dataPoints in options, chart will consider all the dataPoint to render it. If you like to display dataPoints only for a certain range, you can filter and remove all the dataPoints beyond the required range.
—-
Manoj Mohan
Team CanvasJS
The code you provided converts to millisecond and it does not identify the time from my json timestamp.
The timestamp present in the JSON that you have shared is in UNIX timestamp because of which it has been converted to JavaScript timestamp.
Is it possible you can give me an example of a chart that uses 24 hours?
You can group it according to your requirement either by day or hour. Please take a look at this JSFiddle for an example on grouping the data by an hour.
—-
Manoj Mohan
Team CanvasJS
There seems to be an issue with Laravel and snappy PDF package. Please refer to this Stack Overflow link for more information.
—-
Manoj Mohan
Team CanvasJS
Do you mean showing the number of occurrences of ajax_action (loadmore, blg_preview_action, heartbeat, etc) in chart? If so, then please take a look at this JSFiddle.
In case this doesn’t fulfill your requirement, kindly brief us further about your requirements so that we can understand the scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
Please take a look at the documentation page for information on Stacked Bar Chart and mousemove event.
—
Manoj Mohan
Team CanvasJS
Resetting the maximum by setting it to null on adding new dataPoint should work fine in your case.
Please take a look at this gallery page which shows dynamic chart where maximum is auto-updated when a new dataPoint is added.
—-
Manoj Mohan
Team CanvasJS
Please take a look at this documentation page for tutorial on creating chart using JSON data. Also, take a look at this JSFiddle for an example on creating chart using dataPoints from localStorage.
—-
Manoj Mohan
Team CanvasJS