我目前正在從事一個使用 Google Visualization API 的項目。我已將圖表 y 軸上的值格式化為使用vAxis: {format: 'currency'}my 中的貨幣顯示options,但我不知道如何刪除分值。這是我的options:var options = {? ? ? chartArea: {width: '90%', height: '80%'},? ? ? vAxis: {format: 'currency', ticks: [0, 20000, 40000, 60000]},? ? ? colors: ['#4285f4'],? ? ? legend: {position: 'none'}? ? };它vAxis在 $0.00、$20,000.00、$40,000.00 和 $60,000.00 處顯示標記,但我希望它顯示 $0、$20,000、$40,000 和 $60,000 處的標記。在此先感謝您的幫助。
沒有分值的谷歌圖表格式貨幣
www說
2023-06-15 17:07:16