Open M1CK431 opened 1 year ago
any idea @Caele ?
After so many answers... I finally found a way to workaround this issue after reading this: https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-Get-Object-layout-for-an-Alternate-Dimension/td-p/1670667
The workaround is to implement a select yourself:
getProperties()
on the generic object then build an array with [...qHyperCubeDef.qDimensions, ...qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions]
to get all available dimensionsqHyperCubeDef.qDimensions[0]
qDimensions
by qMeasures
qDef.qFieldLabels[0]
but for measures labels 2 additional API calls are needed: doc.getMeasure(id).then(qMeasure => qMeasure.getLayout())
(id
is from qLibraryId
) then label is in qMeta.title
applyPatches
method on the generic object as described in the discussion provided at the beginning of that comment.Good luck...
This is due to the logic for the alternative dim/measure selection is done in the actual client UI, and not in the individual charts or Nebula. This exists on our roadmap, but continues to be pushed low. I currently have no timeline.
but it works well in capability api.
but it works well in capability api.
excuse me @Caele , does Nebula team have plan to support this now?
🐛 Bug report
On Qlik:
With Nebula:
Nothing happens while clicking on the axis label of Nebula bar chart
Steps to Reproduce
Expected behavior
Ability to select the desired measure on axis label click, like in Qlik.
Actual behavior
Nothing happens on axis label click.
Versions