We are looking into your query and will get back to you at the earliest.
—–
Manoj Mohan
Team CanvasJS
Can you kindly create a sample JSFiddle with your use-case and share it with us with more briefing so that we can understand your scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
You can update the chart on button click by updating the chart options and calling render(). Please refer to this documentation page for step to step tutorial on the same.
—-
Manoj Mohan
Team CanvasJS
Please contact sales[at]canvasjs[dot]com for license related queries. Feel free to post your technical queries related to CanvasJS in the support forum.
—-
Manoj Mohan
Team CanvasJS
Can you kindly share a sample project reproducing the issue you are facing over Google-Drive or OneDrive so that we can look into your code, run it locally at our end to understand the scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
Considering this thread as duplicate of Plot graph from a large size .txt file and hence closing the same.
—-
Manoj Mohan
Team CanvasJS
Considering this thread as duplicate of Plot graph from a large size .txt file and hence closing the same.
—-
Manoj Mohan
Team CanvasJS
Considering this thread as duplicate of Plot graph from a large size .txt file and hence closing the same.
—-
Manoj Mohan
Team CanvasJS
Can you kindly share text file you are using over Google-Drive or Onedrive so that we can run it at our end and help you with an appropriate solution?
—-
Manoj Mohan
Team CanvasJS
Can you kindly share StackBlitz example reproducing the issue you facing on loading async data to chart so that we can understand your scenario better and help you with an appropriate solution.
—-
Manoj Mohan
Team CanvasJS
To access ref attributes in react, you need to use stockChart.current.stockChart. Please take a look at this react documentation for more information.
Please take a look at this updated StackBlitz example.
—-
Manoj Mohan
Team CanvasJS
The StackBlitz example shared by you seems to be broken. Can you kindly share a working StackBlitz example?
—-
Manoj Mohan
Team CanvasJS
You can get reference to the chart instance by passing onRef = {ref => chart = ref}
props to the component. This allows you to access all chart properties and methods including render(). Please refer documentation for more information.
—
Manoj Mohan
Team CanvasJS
Defining options
as a member of class Chart
should work fine in your case. Please take a look at this updated StackBlitz.
—-
Manoj Mohan
Team CanvasJS