I am using chartkick gem with googlecharts. I need to add space between chart and legend text.
<%= pie_chart [["Cash", @currentHoldings['priceChangePercent']], ["Equity", @currentHoldings['equityPercentage']], ["ManagedFunds", @currentHoldings['managedFundsPercentage']]], library: {pieSliceText:'percentage'},donut:true, legend: 'top',height: "200px", colors: ["#1e88e5","#8e24aa","#00acc1"] %>
Looks like you have to do it by using and modifying chartkick.js rather than using the gem. Other option is to supress the legend and build your own