Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have been fiddling with getting the menu commands extension setup on our embedded solution and I have found that in a line chart not all data comes through in the command details of the underlying event.
From the json output, under dataPoints I can see identity(which is related to the axis) and values(which are the values) but I am not able to see anything related to the legends.
Is this a bug? or is legends not yet implemented as a feature?
Edit: This happens when I trigger the command over a blank area rather than a specific point on the line, therefore showing values across the legend range on the axis value but no data showing the legend that the value is related to.
The type of output I get from the command is so:
{
"dataPoints": [{
"identity": [{
"target": {
"table": "Date",
"column": "DayOfYear"
},
"equals": 6
}],
"values": [{
"target": {
"table": "Table2",
"measure": "Measure"
},
"value": 9359,
"formattedValue": "9359"
}, {
"target": {
"table": "Table2",
"measure": "Measure"
},
"value": 9270,
"formattedValue": "9270"
}, {
"target": {
"table": "Table2",
"measure": "Measure"
},
"value": 9323,
"formattedValue": "9323"
}, {
"target": {
"table": "Table2",
"measure": "Measure"
},
"value": 7680,
"formattedValue": "7680"
}]
}]
}What I would expect is that for the values to be spread out into multiple dataPoints objects in the format of:
{
"identity": [{
"target": {
"table": "Date",
"column": "DayOfYear"
},
"equals": 6
}, {
"target": {
"table": "Date",
"column": "Year"
},
"equals": 2019
}],
"values": [{
"target": {
"table": "Table2",
"measure": "Measure"
},
"value": 9359,
"formattedValue": "9359"
}]
}so the identity array would contain the legend data also which is something that you get if you trigger the command on a single datapoint.
Thank you in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.