Ross,
One of representatives from sales team will get in touch with you over email. Feel free to contact sales[at]canvasjs.[dot].com for any other license related queries.
—
Vishwas R
Team CanvasJS
In JavaScript month starts from 0(January) and ends at 11(December). So while displaying they are incremented by 1. However, you can use ISO format to pass month from 1 to 12 (Example: “2015-03-25” is considered as March 25, 2015). You can adopt the one of the format to fit your requirements.
—
Vishwas R
Team CanvasJS
Can you kindly create JSFiddle with sample data 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?
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a JSFiddle helps us in figuring out the issue and many a time we can just edit your code on JSFiddle to fix the issue right away.
—
Vishwas R
Team CanvasJS
Please take a look at this Gallery Page for an example on rendering chart with data from database. You can also download sample from our download page which you can run locally.
If you still facing issue, kindly create sample project reproducing the issue you are facing and share with with us over Google-Drive or Onedrive so that we can run it locally to understand the scenario better and help you resolve.
—
Vishwas R
Team CanvasJS
Robert Masse,
In case of line chart, click event gets fired when you click on marker as well. When you set markerSize, the click event gets fired only within the area of the marker based on markerSize. However, when you move mouse over a dataPoint, marker size gets increased by few pixels just to highlight it but event won’t get fired. You can disable highlighting by setting highlightEnabled to false.
In the JSFiddle that you have shared, markerSize is set to 2. In this case, click event will be fired only when you click within the marker of 2px.
—
Vishwas R
Team CanvasJS
Parsing stripLines values just like the way you are parsing dataPoints should work fine in your case. Please take a look at this updated JSFiddle.
—
Vishwas R
Team CanvasJS
Can you kindly create JSFiddle and share it with us so that we can look into the code, understand the scenario better and help you resole?
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a JSFiddle helps us in figuring out the issue and many a time we can just edit your code on JSFiddle to fix the issue right away.
—
Vishwas R
Team CanvasJS
It’s not possible to have a separator below axisX as of now. However you can work-around this by adding stripLines and labels to it as shown in this JSFiddle.
—
Vishwas R
Team CanvasJS
You can remove the values with 0 from indexlabels with the help of indexLabelFormatter. Please take a look at this updated JSFiddle.
—
Vishwas R
Team CanvasJS
Robert Masse,
It seems to be working fine – the event seems to be firing even when you click on marker. Please refer he screenshot below.
—
Vishwas R
Team CanvasJS
Robert Masse,
Click event is fired even on clicking the marker. Please take a look at this JSFiddle.
If you are still facing issue, 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.
—
Vishwas R
Team CanvasJS
Is Canvasjs Better then PHP
CanvasJS is a JavaScript based charting library which you can integrate with your PHP application. Please take a look at PHP Gallery for examples on integrating CanvasJS in PHP.
Hello All, I want to know which one is better for web development. I have a search on google to find comparison between JS and PHP. Can anyone suggest to me which one better in terms of simplicity and security between JS and PHP?
JavaScript is a client-side scripting language, which means the source code is processed by the client’s web browser rather than on the web server whereas PHP is a server side scripting language that can embedded in HTML. Please refer this article for more information on the same.
—
Vishwas R
Team CanvasJS
Chris,
In JavaScript month index starts from 0(January) and ends at 11(December). For more information please refer to this StackOverflow page.
A second point, I seem to have to include the following code just to get the chart to work in the first place (before I try adding striplines):
for (var i = 0; i < rawData.length; i++) { rawData[i][“x”] = new Date(rawData[i][“x”]); }
X values can either be number or date-object. In your case, to make it date-object this loop would be required.
—
Vishwas R
Team CanvasJS
Can you kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into your code, understand the scenario better and help you out?
—
Vishwas R
Team CanvasJS
Sorry, it’s not possible to add space between columns of multi-series charts as of now.
—
Vishwas R
Team CanvasJS