You can use contentFormatter to customize the content of toolTip to show date-time in the desired format along with timestamp.
—-
Manoj Mohan
Team CanvasJS
There are no restrictions on the number of dataSeries in case of multi-series charts. Can you kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
Can you kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you resolve the issue?
—-
Manoj Mohan
Team CanvasJS
It seems like you are trying to merge multiple html tags that has multiple window.onload
– which might cause issue. Please take a look at this tutorial for merging two files in PHP.
Also, please refer this stackoverflow thread for more information about multiple window.onload
in a single page.
—-
Manoj Mohan
Team CanvasJS
Glad that you were able to figure out the issue. In order to get UTF-8 characters from the database, you can set CharacterSet to UTF-8 in the connection options as shown in this documentation page.
—–
Manoj Mohan
Team CanvasJS
It seems to be working fine. Please take a look at this working sample project along with the database.
Also, please take a look at this documentation for more information.
—-
Manoj Mohan
Team CanvasJS
Claire Smith,
You can reset the indexLabel to it’s default value (defaults to “” – empty string) by setting indexLabel to null. Please take a look at this JSFiddle.
—-
Manoj Mohan
Team CanvasJS
I would suggest you to use column chart to show the number of searches over axisY and the search term as labels over axisX.
If this doesn’t help you fulfill your requirements, kindly share a pictorial representation or some example of your requirements so that we can understand it better and help you out.
—-
Manoj Mohan
Team CanvasJS
Thanks for reporting the use-case. We are looking into it and will get back to you at the earliest.
—-
Manoj Mohan
Team CanvasJS
It seems to be working fine with SQL Server(v14.0.1000.169) and PHP versions (v7.0+). Kindly check with the PHP v7.0+ as there seems to be an issue with SQL Driver and PHP v5.6. Once connected kindly check whether the data you are receiving from the database is being parsed to the format accepted by CanvasJS ({label: “Apple”, y: 6}) or not.
—–
Manoj Mohan
Team CanvasJS
You can use column chart with search value on axisY and search terms as label on axisX as shown in this tutorial.
—–
Manoj Mohan
Team CanvasJS
You seemed to be creating chart everytime you click on the button. I would suggest you to create chart once, outside graphGenerate method and update the chart within the method. Also kindly confirm whether the y-values are numeric or not.
If this doesn’t help you resolve the issue, kindly share sample project over Google-Drive / Onedrive so that we can run it locally at our end, understand the scenario better and help you out.
——
Manoj Mohan
Team CanvasJS
In case of range-charts, indexlabels will be shown for both minimum and maximum values. However, you can customize it to show only once by using indexLabelFormatter as shown in this JSFiddle.
—-
Manoj Mohan
Team CanvasJS