@rayateng,
Updating xVal = t; in your jsfiddle by xVal = t + ms; should work in your case. Please have a look at this updated jsfiddle. ___ Suyash Singh Team CanvasJS
xVal = t;
xVal = t + ms;
@cancmgz,
Please have a look at this jsfiddle.
___ Suyash Singh Team CanvasJS
Are you trying to change axisX.maximum? Also, can you kindly brief what do you mean by:
I also don’t want to show it like time value, I need to show normal number
If you want to increase the maximum axisX / axisY you can do so by using the set method: chart.axisX[0].set("maximum", 1000);
chart.axisX[0].set("maximum", 1000);
If this doesn’t suit your requirements, kindly create a jsfiddle reproducing the issue you are facing or provide us some pictorial representation so that we can understand your requirements better & help you out.
@anand_rl,
Exporting of the chart is triggered before the animation actually completes. Therefore, it results in an empty graph. Exporting the chart after it renders completely should work fine in your case. Please take a look at this jsfiddle.
@happy,
You can achieve the same by using valueFormatString for axisX & axisY. If this doesn’t suit your requirements, Can you please create a jsfiddle with sample data you are getting from your API?
@mudassir,
dataPoints is an array of objects. But as per the code shared above, it seems like you are passing a string ("{x: new Date(2017, 10, 20),y: 10},{x: new Date(2017, 10, 17),y: 15}") to dataPoints array instead of objects. Therefore, parsing the data and converting it to objects like {x: new Date(2017, 10, 20),y: 10},{x: new Date(2017, 10, 17),y: 15} should work fine in your case. Here is an example you can refer.
"{x: new Date(2017, 10, 20),y: 10},{x: new Date(2017, 10, 17),y: 15}"
{x: new Date(2017, 10, 20),y: 10},{x: new Date(2017, 10, 17),y: 15}
If this doesn’t suit your requirements, Can you please create a JSFiddle, along with your sample data, reproducing the issue?
Eve,
You can use toolTip.contentFormatter event for the same. Please have a look at this jsfiddle.
Alexander,
You can place the title in the center by setting the following properties within in the title object: dockInsidePlotArea to true & verticalAlign to "center". Please have a look at this updated jsfiddle.
true
"center"
Divya,
Thanks for your interest in CanvasJS. Please send license related queries to sales[at]canvasjs[dot]com and the sales team will surely assist you.
— Suyash Singh Team CanvasJS
@sbsbsb,
Thanks for the suggestion we will consider it for the future versions. ___ Suyash Singh Team CanvasJS
Gayle,
You can download the commercial version of the library from “My Account” Page. Replacing the trial version of library in your project with the downloaded commercial version (canvasjs.min.js file) will remove the trial version text. We suggest you to clear the browser cache after replacing the script.
If you are still facing issue in downloading commercial version or for further license related queries, please contact sales[at]canvasjs[dot]com.
@prabhjot,
Can you please create jsfiddle reproducing the issue that you are facing, so that we can look into it & help you out?
Cristian,
We are looking into it & will get back to you at the earliest.
You can place title inside Doughnut chart by using verticalAlign. Please have a look at this JSFiddle.
You can place title inside Doughnut chart by using verticalAlign. Please have a look at this jsfiddle.