我正在使用Chartkick在Ruby-on-Rails项目中显示一些statisitcs数据 . Chartkick基于Google Charts . 有没有办法在图表的图例中自定义数据输出?

例如:

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

它给出了
enter image description here

但是我需要这样的东西:
enter image description here

即传奇中的更多信息 . 我怎么能得到它?