一栏的融合图隐藏编号前缀

时间:2018-09-19 13:40:41

标签: charts fusioncharts

我需要从显示值$ 410K的第一个小节顶部删除美元($)符号,只需要410K。 enter link description here

"chart": { "caption": "Daily Revenue by Order", "subcaption": "Last 2 weeks", "xaxisname": "Date", "yaxisname": "Revenue (In USD)", "numberprefix": "$", "showvalues": "1", "theme": "fusion" }, "data": [{ "label": "Total Order", "value": "410000" },

1 个答案:

答案 0 :(得分:2)

是的,您需要删除 numberPrefix 属性。使用此属性,可以将前缀添加到图形上所有可见的数字。

因此,将遵循修改后的代码。

"chart": {
    "caption": "Daily Revenue by Order",
    "subcaption": "Last 2 weeks",
    "xaxisname": "Date",
    "yaxisname": "Revenue (In USD)",
    "showvalues": "1",
    "theme": "fusion"
  },
  "data": [{
      "label": "Total Order",
      "value": "410000"
    },