novus / nvd3

A reusable charting library written in d3.js
http://nvd3.org/
Other
7.22k stars 2.14k forks source link

Tool-tip with actual y value based on position on the bar. #2187

Open Ansuman28 opened 6 years ago

Ansuman28 commented 6 years ago

I have a simple discrete Bar chart with tool-tip enabled.

Is there any option where i can configure the tool-tip to show the actual values on Y axis as we move along.

For example: If the value is 10 for the data point. It always shows 10. When we move along the bar vertically, is it possible to show 1..2...5....10 as we move along.

I am planning for something interactive, where one can change the value by tool-tip/slider control. If tool-tip can give actual position in y-axis, i will try to save the data and refresh the chart.

Any suggestions?