5

I'm using Chartkick for visualization some statisitcs data in my Ruby-on-Rails project. Chartkick based on Google Charts. Is there some way to customized data output in legend of chart?

For example:

= pie_chart User.get_country_statistic, library: {legend: {position: "left"}, chartArea: {left:0, width:'100%'}}

It gives enter image description here

But I need something like this: enter image description here

I.e. more information in legend. How I can get it?

Gena Shumilkin
  • 713
  • 4
  • 16

0 Answers0