visjs / vis-timeline

📅 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.
https://visjs.github.io/vis-timeline/
Other
1.74k stars 302 forks source link

[Feature request] Is there a way to customise the precision of the Y-axis lines for graph2D visualization? #1777

Open GO5IT opened 3 months ago

GO5IT commented 3 months ago

I have not found how to custmise the precision of the Y-axis lines for graph2D visualization. The documentation only says, the data should be a number.

When I used float numbers for testing, I managed to see a line for each 0.25, but I don't know if I can change the setting. If there is, can somebody let me know how to configure it with an example, and ignore the feature request?

Also, I am wondering what the lowest granularity of the precision would be. Thank you!

image