arty-charty icon indicating copy to clipboard operation
arty-charty copied to clipboard

Can we display some information in the chart?

Open Davidmeteor opened this issue 8 years ago • 2 comments
trafficstars

Hi : )

This lib is so cool and I really love it. I have one question, can we add some information, like label name, value into the chart (like ArtyChartyPie)? I can't find the corresponding API in the readme.

Thanks!

Davidmeteor avatar Feb 23 '17 00:02 Davidmeteor

Hi,

thanks for your comment and apologies for replying so late. Because the charts are shown on mobile displays with little space, I thought it is best to not use labels and just have points clickable and then in the click callback we tell you the point that has been clicked and you can decide how to display that value to the user.

I do not oppose using labels however. Could you make a simple sketch or annotated screenshot or something like that how you think the labels could be displayed and I'll try to add that feature. Thanks

redpandatronicsuk avatar May 22 '17 12:05 redpandatronicsuk

I thought about this a bit more. Do you want labels for points, such as points with label or more like a legend: legend?

redpandatronicsuk avatar May 24 '17 12:05 redpandatronicsuk