Setting minimum and maximum of axisX with an appropriate javascript date object or timestamp as per your data range and dataPoints should work fine in your case.
In case you are still facing the issue, can you kindly create JSFiddle along with sample data and share it so that we can look into the code, understand it better and help you out?
—-
Manoj Mohan
Team CanvasJS
Earlier WebKit allowed 448MB of canvas buffer memory whereas now they have dropped it to 224MB. Because of this, there was some memory issue with CanvasJS Charts in the latest iOS. However, we had optimized memory consumption in CanvasJS v2.3 – please check out this release blog for more info.
For more optimization on dynamic charts, update chart options and re-render and don’t instantiate/create new chart on every update.
Also, we will further optimize this behavior in future releases.
—-
Manoj Mohan
Team CanvasJS
Can you kindly share an example and brief us more about your requirements so that we can understand your scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
You can achieve the above requirement by formatting the labels of axisX2 using labelFormatter.
—-
Manoj Mohan
Team CanvasJS
Can you kindly create a JSFiddle reproducing the issue you are facing and share it with us so that we can look it into your code, understand the scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
Please take a look at this documentation page for information on rendering a dynamic chart.
Adding date and time to axis Y is not available as of now. However, you can take a look at this workaround to achieve the same.
___________
Manoj Mohan
Team CanvasJS
The download sample seems to be working fine. Providing proper relative path for canvasjs.react.js
file should work fine in your case.
—-
Manoj Mohan
Team CanvasJS
Could you explain how these width and height values are used by your algorithm ie. how is it that this fixes the problem? I have to cope with varying screen sizes in this application so I will need to understand exactly how to dynamically derive those values to be ones that work. Understanding what it is about those values that makes the labels display correctly will help.
To make the chart responsive, the chart is re-rendered when the window is resized with the updated size of the container. And upon resize of the chart, labels/indexLabels of the chart are readjusted to avoid overlapping.
Actually your proposed workaround works for this specific chart but not for others. In the following example, your setting of width 50% and height 300px still results in label display issues. I need a solution that will reliably work regardless of the pie chart size and screen size – the data varies, so the screen layout varies.
Sorry, we are unable to reproduce the issue at our end. Can you kindly share steps to reproduce the issue? Meanwhile you can try re-rendering the chart on changing the view to fullscreen, which might fix the issue in this case.
—-
Manoj Mohan
Team CanvasJS
Sorry, we are unable to reproduce the issue at our end. Can you kindly create a sample project reproducing the issue along with sample data and share it over Google-Drive or One Drive so that we can look into your code, understand your scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
The image shared above seems to be broken. Can you kindly share a pictorial representation(with a live link) and brief us further about your exact requirement so that we can understand your scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
Alex,
Setting the width and height of the chart-container-left (div) should work fine in your case. Please take a look at this updated project.
—-
Manoj Mohan
Team CanvasJShan
Team CanvasJS
Can you kindly share a sample project reproducing the issue along with sample data over Google-Drive or Onedrive so that we can look into the code, run it locally to understand the scenario better and help you resolve?
—
Manoj Mohan
Team CanvasJS
Can you please brief us further about your requirements along with some example or pictorial representation so that we can understand your scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
Domenic,
Can you kindly share a sample project reproducing the issue over google-drive or one-drive so that we can look into the code, understand the scenario better and help you out?
—–
Manoj Mohan
Team CanvasJS