playground:playground

这是本文档旧的修订版!


PlayGround

const dataSource = {

chart: {
  caption: "Recommended Portfolio Split",
  subcaption: "For a net-worth of $1M",
  showvalues: "1",
  showpercentintooltip: "0",
  numberprefix: "$",
  enablemultislicing: "1",
  theme: "fusion"
},
data: [
  {
    label: "Equity",
    value: "300000"
  },
  {
    label: "Debt",
    value: "230000"
  },
  {
    label: "Bullion",
    value: "180000"
  },
  {
    label: "Real-estate",
    value: "270000"
  },
  {
    label: "Insurance",
    value: "20000"
  }
]

};

FusionCharts.ready(function() {

var myChart = new FusionCharts({
  type: "pie3d",
  renderAt: "chart-container",
  width: "100%",
  height: "100%",
  dataFormat: "json",
  dataSource
}).render();

});

  • playground/playground.1620980377.txt.gz
  • 最后更改: 2021/05/14 16:19
  • ysbywyxfp