6
鑑於餅圖中的數據:谷歌圖表顯示金錢並非百分比
data = new google.visualization.arrayToDataTable([
['Sales', 'Revenue Distribution'],
['Author', 5],
['Company', 2],
['Tax', 0.4],
['Payment Processors', 0.9]
]);
drawChart();
我怎樣才能使它顯示爲美元數額?無論是在提示或實際圖形本身(這兩個將是可取的!)
例如,理想情況下這會工作:
data = new google.visualization.arrayToDataTable([
['Sales', 'Revenue Distribution'],
['Author', '$5'],
['Company', '$2'],
['Tax', '$0.4'],
['Payment Processors', '$0.9']
]);
drawChart();
作品的魅力,非常感謝! –