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 the sample data so that we can run it locally to understand the scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
Setting legendText as legendText: '<?php echo $legendText; ?>'
should work fine in your case.
If you are still facing issue, kindly create sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive along with the sample data so that we can run it locally to understand the scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
[UPDATE]
@kunal,
We have just launched CanvasJS StockCharts with key features like slider, range selector, syncing toolTip & crosshair across multiple charts, etc. Please refer to the release blog for more information. Do download the latest version from download page & let us know your feedback.
—
Manoj Mohan
Team CanvasJS
[UPDATE]
@yosyf,
We have just launched CanvasJS StockCharts with key features like slider, range selector, syncing toolTip & crosshair across multiple charts, etc. Please refer to the release blog for more information. Do download the latest version from download page & let us know your feedback.
—
Manoj Mohan
Team CanvasJS
[UPDATE]
@govind,
We have just released v3.0 Beta-1 with this feature. Please refer to the release blog for more information. Do download the latest version from download page & let us know your feedback.
—
Manoj Mohan
Team CanvasJS
You can pass entire JSON to dataPoints as shown in this JSFiddle.
To know more about the format accepted by CanvasJS, please take a look at this documentation page.
—–
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 the sample database so that we can run it locally to understand the scenario better and help you out?
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 sample project helps us in figuring out the issue and suggesting an appropriate solution accordingly.
—-
Manoj Mohan
Team CanvasJS
I have a dynamic chart with A LOT of datapoints (in specific scenarios upwards of 500.000 and more). After a few seconds ther render task will use 100% CPU and my chart is lagging behind.
Can you kindly create a JSFiddle reproducing the issue and share it with us so that we can look into code, understand the scenario better and help you out?
Now I need to render a different granularity of datapoints. For example: In the normal view I would like to render each 10th datapoint and when I zoom in, I would like to render each datapoint.
Is there a possibility to do that with CanvasJS? I already tried to switch out the datapoints when switching to zoom but somehow I didn’t get that to work…
You can update the dataPoint on zooming with the help of rangeChanging event as shown in this JSFiddle.
—-
Manoj Mohan
Team CanvasJS
CanvasJS supports exporting chart as an image or to print it. To export multiple charts rendered within a page or to export chart along with extra content, you can use html2canvas as shown in this JSFiddle. Please refer this article for more information.
—-
Manoj Mohan
Team CanvasJS
Thanks for your suggestion. We will improve it in future versions.
—-
Manoj Mohan
Team CanvasJS
Do you mean printing chart? If so, you can use print method.
If you are looking for something else, can you kindly create a JSFiddle demonstrating your use-case and share it with us so that we can understand your requirement better and help you out?
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 sample project helps us in figuring out the issue and suggesting an appropriate solution accordingly.
—-
Manoj Mohan
Team CanvasJS
Please refer to this Stack Overflow thread for more information on saving page as html file.
—-
Manoj Mohan
Team CanvasJS
Please take a look at this gallery example to render chart with data from database in ASP.NET MVC. You can also download ASP.NET MVC sample from our download page.
If this doesn’t help you resolve the issue you are facing, kindly create sample project reproducing the issue along with sample database and share with us over Google-Drive or Onedrive so that we can run it locally to understand your scenario better and help you out.
—-
Manoj Mohan
Team CanvasJS
The issue seems to be happening when labels are being used. Removing labels should work fine in your case as shown in this JSFiddle.
Thanks for reporting the use-case and we will look into it further.
Considering this thread as duplicate of Interval in line chart and hence closing the same.
—-
Manoj Mohan
Team CanvasJS