Issue
SVG graphs don't show the exact values of data points. This makes understanding the graphs difficult particularly when the difference between two points is minimal.
Ideas
Core idea is to embed javascript into the SVG which enables tooltips in compatible environments and stays non-functional otherwise.
The main challenge here is that we are using plotters which has a challenging architecture. I made a draft PR plotters-rs/plotters#721 to show a proof-of-concept to plotters, but it would require significant re-architecture of internal details, breaking the plugins and other APIs.
We can either
- wait for plotters to find a way to have tootips or find alternative library.
- have an inbuilt SVG renderer with tooltips
- use a javascript based charting library like chartjs. Not ideal.
Issue
SVG graphs don't show the exact values of data points. This makes understanding the graphs difficult particularly when the difference between two points is minimal.
Ideas
Core idea is to embed javascript into the SVG which enables tooltips in compatible environments and stays non-functional otherwise.
The main challenge here is that we are using plotters which has a challenging architecture. I made a draft PR plotters-rs/plotters#721 to show a proof-of-concept to plotters, but it would require significant re-architecture of internal details, breaking the plugins and other APIs.
We can either