I am struggling to get multiple sets displayed in my chart.
I have prepared my data using a custom JS (to do some computations) and output it (dmxParse) in the following format:
allData = {
result1: [{
measurement: 202,
frequency: 10
}, {
measurement: 2324,
frequency: 20
}],
result2: [{
measurement: 25532,
frequency: 20
}, {
measurement: 2332,
frequency: 23
}],
result3: [{
measurement: 22,
frequency: 10
}, {
measurement: 755,
frequency: 22
}]
}
How can I have the frequency of result1
, result2
and result3
display as different data sets in the same chart?
I’ve tried dmx-bind:data="allData"
and defining the sets with dataset-1:value="result1.values('frequency')"
, but that didn’t work.
Any suggestions?
Community Page
Last updated:
Last updated: