ChartsCSS / charts.css

Open source CSS framework for data visualization.
https://ChartsCSS.org
MIT License
6.2k stars 176 forks source link

Show data points on secondary axes #19

Closed lenormf closed 3 years ago

lenormf commented 3 years ago

Hi,

It'd be nice to allow showing data points on secondary axes, which currently give a sense of scale but don't allow estimating what data is roughly associated with a given bar/point.

Using the example in the documentation: there are secondary axes, but what data point (or milestone) do they represent, in relation with the bars? Secondary axe could in turn show something like “10k”, “20k”, “30k” etc.

I have a bar chart with multiple datasets in the same unit of measure, but different scales, so I'd like to be able to set data point on the secondary axes for each of them.

Thanks!

ramiy commented 3 years ago

Related: #12

@lenormf Currently the framework doesn't support labels on both axes. Dual axes labels are in the future roadmap.

lenormf commented 3 years ago

Great, thanks!

eea76 commented 3 years ago

I know this is closed and a few months old, but @lenormf were you referring to simply a label on a vertical axis, or labeling incremental data points on a vertical axis? @ramiy I continue to use this framework on a daily basis and you have no idea how grateful I am for it, but I am patiently awaiting something like this, (which I mocked up quickly in photoshop). Do you have any plans on implementing this, if indeed it is possible?

Screen Shot 2021-08-05 at 15 29 06
ramiy commented 3 years ago

@eea76

This feature is under development. I already have a working prototype but if I will implement this, the next version will have breaking changes...

Looking for better solutions.

filmaj commented 4 months ago

I am also very grateful for this library ❤️ Would be great to re-open this issue (even if there is no solution on the roadmap) as it is not supported and so maybe could be considered an open feature request?