Replies: 5 comments
-
What kind of values did you provide? Chart.js version, plugin version? If you want to limit the chart to the original data range, then you can use |
Beta Was this translation helpful? Give feedback.
-
@kurkle Since the dataset is dynamic I first create the chart instance with the following values for scales ed plugins inside options:
Then when the data are receveid from a get request i set dataset and then I set also the options values in this way;
options is a variable that contain all the settings from the server response. |
Beta Was this translation helpful? Give feedback.
-
I'd think the issue is probably that you need to define the limits in millis ( |
Beta Was this translation helpful? Give feedback.
-
Yes, it seems to work. Thank you, you saved my day. |
Beta Was this translation helpful? Give feedback.
-
Hi, Each time when I get the new data I update chart and also move limits to show the new data ( |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, i'm trying to set min-max zoom for a time scale axis in order to avoid to zoom out from the period that i need to represent on charts but I can't implement this behaviour.
If i set min and max to the min date and max date used in the charts, the zoom is not working but remain fixed.
How can be implemented this aspect?
Beta Was this translation helpful? Give feedback.
All reactions