It is not possible to display axis labels at irregular intervals as of now. As a workaround, you can use stripLines on axisY for displaying labels at certain points as shown in this JSFiddle.
—
Manoj Mohan
Team CanvasJS
DataSeries is an object where you can define all the dataPoints to be plotted and also control various properties like type, color, events, etc. It seems that you are passing dataSeries as a string instead of an object. Passing it as an object should work fine in your case. Please take a look at this updated JSFiddle.
—-
Manoj Mohan
Team CanvasJS
Setting the scale option to 100 in browser print dialog panel should work fine in your case. Please refer this article to enable scaling & changing the option in chrome.
—-
Manoj Mohan
Team CanvasJS
Having single indexLabel with multiple font-color is not possible as of now. As multi-color in indexLabel is not supported, showing arrows in red & green is not possible
—-
Manoj Mohan
Team CanvasJS
You can achieve the above requirement by using an area chart and formatting the indexLabels using indexlabelFormatter by passing Unicode arrows as shown in this JSFiddle.
Also, you can refer to this Wikipedia page for a list of Unicode.
—
Manoj Mohan
Team CanvasJS
The issue seems to be with the Date Format passed as an argument to new Date()
. Passing it in the standard formats supported in JavaScript Date object should work fine in your case.
—
Manoj Mohan
Team CanvasJS
It seems to be working fine, please refer screenshot below.
To make us understand the scenario better to help you resolve the issue, can you kindly share the OS & Browser versions?
—-
Manoj Mohan
Team CanvasJS
Can you kindly share a pictorial representation and brief us furthermore about your requirements?
—-
Manoj Mohan
Team CanvasJS
Please take a look at this JSFiddle to create the chart with data depending on the value selected from the dropdown list. To know more about updating the chart options, please take a look at this documentation page.
—-
Manoj Mohan
Team CanvasJS
CanvasJS is a self-hosted library. Instead of linking the library file from our server, you can download the file and host it on your own server.
—-
Manoj Mohan
Team CanvasJS
We are working on some other important features at this point of time. Hence no definite timeline yet.
—-
Manoj Mohan
Team CanvasJS
Please take a look at these gallery examples for creating a dynamic chart and using data from the database to create a chart in JSP. Combining the approach from both the examples you can create dynamic line charts using data from the database in JSP. Furthermore, you can download the JSP code samples from our download page.
—-
Manoj Mohan
Team CanvasJS
Sorry, aligning the indexLabel to the center of dataPoint is not possible as of now. We will re-consider this behaviour in our future releases.
—-
Manoj Mohan
Team CanvasJS