【发布时间】:2016-12-23 04:24:59
【问题描述】:
我正在使用带有 googlecharts 的 chartkick gem。我需要在图表和图例文本之间添加空格。
<%= pie_chart [["Cash", @currentHoldings['priceChangePercent']], ["Equity", @currentHoldings['equityPercentage']], ["ManagedFunds", @currentHoldings['managedFundsPercentage']]], library: {pieSliceText:'percentage'},donut:true, legend: 'top',height: "200px", colors: ["#1e88e5","#8e24aa","#00acc1"] %>
【问题讨论】:
标签: ruby-on-rails ruby-on-rails-4 rubygems chart.js chartkick