Jump to content
Changes to the Jaspersoft community edition download ×

JSON Query Source for SpiderChart


aleix.vaz

Recommended Posts

Hi everyone,

I'm trying to build a Spider chart from the following JSON data source:

[ {  "id" : "testingperformance",  "name" : "Testing Performance",  "metrics" : [ {    "id" : "fasttests",    "name" : "Fast Tests",    "description" : "Percentage of tests under the testing duration threshold",    "value" : 0.8  },  {    "id" : "somethingelse",    "name" : "SE",    "description" : "bla bla",    "value" : 0.8  },     ... ]} ][/code]

Where the serie would be "testingperformance", and I would like to have each "value"as value from the array of "metrics" with its correspondent "name" as category of the chart. Is there anyway to do it? If I write $F{metrics.value} I'm only obtaining the first value of the array, not every single one of them.

Thanks in advance, 

Aleix

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

×
×
  • Create New...