Formatting google charts programmatically
问题 Using the following code how can I set the formatting so that CurrencyValue1 and CurrencyValue2 is shown with a dollar (as a currency value) in the chart? function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('date', 'Date'); data.addColumn('number', 'CurrencyValue1'); data.addColumn('number', 'CurrencyValue2'); data.addRows(1); data.setValue(0, 0, new Date(2011, 8, 12)); data.setValue(0, 1, 300.0000); data.setValue(0, 2, 759.1707); var chart = new google