Can you kindly share working sample project over Google-Drive or Onedrive along with sample database so that we can run it locally at our end, 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 sample project helps us in figuring out the issue and suggesting an appropriate solution accordingly.
—
Vishwas R
Team CanvasJS
One of our representatives from sales team will get in touch with you soon. For more information on licensing please contact sales[at]canvasjs[dot]com
—
Vishwas R
Team CanvasJS
Stefan,
Thanks for reporting the use-case to us. Setting pointer-events to ‘auto’ should work fine in this case. We have updated the JSFiddle with the same.
—
Vishwas R
Team CanvasJS
CanvasJS Chart automatically sets the height and width of the chart according to container’s dimensions. If the values are not set for the chart-container, it takes the default values (500px X 400px).
Setting height to the chart-container should work fine in your case. If you are still facing any issue, kindly create JSFiddle reproducing the issue and share it with us so that we can look into the code, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS
Saurabh,
You can update dataPoints based on zoom-level with the help of rangeChanging event to achieve your requirements. Please take a look at this JSFiddle.
—
Vishwas R
Team CanvaJS
Is there something like the “suggestedmin” function: when datapoints are between the min-max values the max and min values are taken, if there outside the larger value is used.
Sorry, we don’t have such option as of now.
—
Vishwas R
Team CanvasJS
Setting proper DocumentRoot should work fine in your case. Please refer this StackOverflow thread for more information.
—
Vishwas R
Team CanvasJS
It seems you are not using valid chart options to set the axis range. You can set the range of axisY by setting minimum and maximum properties, please refer documentation for live examples & more customizations available.
—
Vishwas R
Team CanvasJS
Saul,
Glad that you figured it out :)
—
Vishwas R
Team CanvasJS
Please take a look at this video for complete tutorial on connecting and reading data from database in 000webhost.
—
Vishwas R
Team CanvasJS
Saulius,
From the code that you have shared, I observe that you are not re-rendering the chart after fetching data. Rendering chart by calling chart.render()
after updating dataPoints (TotalPower & TotalVoltage) inside getJSON should work fine in this case. Try calling render method and let us know if that works for you.
If the issue still persists, kindly create JSFiddle reproducing the issue and share it with us along with sample JSON so that we can run it locally at our end to understand the scenario better and help you resolve.
—
Vishwas R
Team CanvasJS
Please refer this documentation page for step-to-step tutorial on rendering chart with data from JSON. If you are still facing issue, kindly create JSFiddle reproducing the issue you are facing and share it with us along with sample JSON so that we can run it locally at our end to understand the scenario better and help you resolve.
—
Vishwas R
Team CanvasJS
The example in Gallery seems to be working fine. Please take a look at this working sample for rendering dynamic line chart in React. You can also download sample project from our download page.
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 so that we can look into your code, run it locally to understand the scenario better and help you resolve.
—
Vishwas R
Team CanvasJS
Please take a look at this documentation page for step-to-step tutorial on rendering chart from csv file.
—
Vishwas R
Team CanvasJS