sycshk

JSON Passing Data Workaround Needed for MariMekko

Recommended Posts

Due to a system limitation, I can only produce in JSON "dataset":[{"label":"Desktop","seriesname":"A","value":"335000"}] instead of the below in the documentation. Anyway to configure it so that it will take the figures similar to my ideal case? Can someone suggest a workaround for me? This is for MariMekko chart and I'm new to FusionCharts. Thanks in advance.

 

"categories":[{
      "category":[{
          "label":"Desktop"
        },
        {
          "label":"Laptop"
        },
        {
          "label":"Notebook"
        }
      ]
    }
  ],
  "dataset":[{
      "seriesname":"A",
      "data":[{
          "value":"335000"
        },
        {
          "value":"225100"
        },
        {
          "value":"164200"
        }
      ]
    },
    {
      "seriesname":"B",
      "data":[{
          "value":"245000"
        },
        {
          "value":"198000"
        },
        {
          "value":"120000"
        }
      ]
    },
    {
      "seriesname":"C",
      "data":[{
          "value":"298000"
        },
        {
          "value":"109300"
        },
        {
          "value":"153600"
        }

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now