Shinji Kim • over 7 years ago
Displaying data values
Hi there,
I might be missing something here, but is there an option to show the value for each data point? For example of using a bar chart - if I want to show each data value on top of each bar, what chart options can I use?
Thanks,
Shinji
Comments are closed.
4 comments
Ranjan Dailata • over 7 years ago
Even I'm looking for the same option. Are you telling something about the legends. It appears to me that we don't have that option as of now.
https://github.com/nnnick/Chart.js/issues/3
Shinji Kim • over 7 years ago
Hey Ranjan - I'm not talking about legends. For example of this pie chart (http://www.kidslovepc.com/php-tutorial/testplot4.php), legend is the box that says stock 1, stock 2, stock 3.
What I'm looking for is how to display data values, which are 25.0%, 33.3%, 41.7%
Ranjan Dailata • over 7 years ago
I see an option of labeling..and hope it might solve your problem to some extent.
Try using this library which is a fork of the original code.. https://github.com/Regaddi/Chart.js
This is how it looks like.. http://jsfiddle.net/7ktug/2/
Shinji Kim • over 7 years ago
This is good. Thanks Ranjan for your help!