Forum Discussion
AnViL12
1 year agoFrequent Visitor
supportsHighlight is not working
Hello,
I have
added supportsHighlight in the capabilities file:
{
"dataRoles": [
{
"name": "Geometry",
"kind": "Grouping",
"displayName": "Geometry"
},
{
"name": "Label",
"kind": "Grouping",
"displayName": "Label"
},
{
"name": "BubbleSize",
"kind": "Measure",
"displayName": "Bubble Size"
}
],
"dataViewMappings": [
{
"conditions": [
{
"Geometry": {
"max": 1
},
"Size": {
"max": 1
},
"BubbleSize": {
"max": 1
}
}
],
"categorical": {
"categories": {
"select": [
{
"bind": {
"to": "Geometry"
}
},
{
"bind": {
"to": "Label"
}
}
],
"dataReductionAlgorithm": {
"top": {
"count": 30000
}
}
},
"values": {
"select": [
{
"bind": {
"to": "BubbleSize"
}
}
]
},
"dataVolume": 3
}
}
],
"tooltips": {
"supportedTypes": {
"default": true,
"canvas": true
},
"supportEnhancedTooltips": true,
"roles": [
"tooltips"
]
},
"privileges": [],
"supportsHighlight": true
}
And I was hoping that when I filter on a grouping data Role I would get the Highlight array for the specific group but I don't see it?
I don't see it either when filtering on a measure and then checking catetegorical.values.highlights?
I don't see it either when filtering on a measure and then checking catetegorical.values.highlights?
So I was also checking if in metadata the isDataFilterApplied can be used to know if the list being retrieved is filtered or not. But that says: Property 'IsDataFilterApplied' does not exist on type 'DataViewMetadata'.ts(2339).
With kind regards,
Baran
No RepliesBe the first to reply