You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
M1CK431
changed the title
sn-bar-chart: measure selection unavailable
sn-bar-chart: alternative measure/dimension selection unavailable
Aug 24, 2023
M1CK431
changed the title
sn-bar-chart: alternative measure/dimension selection unavailable
Alternative measure/dimension selection unavailable
Aug 24, 2023
options for the select can be obtained using getProperties() on the generic object then build an array with [...qHyperCubeDef.qDimensions, ...qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions] to get all available dimensions
the current dimension is in qHyperCubeDef.qDimensions[0]
for measures, remplace qDimensions by qMeasures
dimensions labels are in 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
to change the current dimension/measure, use applyPatches method on the generic object as described in the discussion provided at the beginning of that comment.
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.
馃悰 Bug report
On Qlik:
![image](https://private-user-images.githubusercontent.com/31622263/256214265-5a0c5479-1c20-423d-bde3-a0e2b6d169d7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNDY1NjEsIm5iZiI6MTcxODA0NjI2MSwicGF0aCI6Ii8zMTYyMjI2My8yNTYyMTQyNjUtNWEwYzU0NzktMWMyMC00MjNkLWJkZTMtYTBlMmI2ZDE2OWQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDE5MDQyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM2NTljZDZmNGRlYmJiMWNkYjFlMjkyYmI3ZjU1ODYwMzNkM2Y0OGZjNzQ4Nzk4YjA2ZTM4NDA3MDE3ODgzNWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2f2ujy6eLXL1gRFtFcbz0IUIUt8RXXjzFV_6_cV24JQ)
With Nebula:
![image](https://private-user-images.githubusercontent.com/31622263/256214447-fac38d41-d62b-4bae-824c-43694a11f445.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNDY1NjEsIm5iZiI6MTcxODA0NjI2MSwicGF0aCI6Ii8zMTYyMjI2My8yNTYyMTQ0NDctZmFjMzhkNDEtZDYyYi00YmFlLTgyNGMtNDM2OTRhMTFmNDQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDE5MDQyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUyODNiMjVkZDY2ODU0ZTNkMzg2ODdkODBjNGYwODc3OTUzZWVmNWYyZGM1YmMyZGIxNGFmMjA4ODM0NWYwOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.M8GtJOsOvaQsE4Xcq8sobdNxFP4jCNKO8DyEWj6PG0E)
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
The text was updated successfully, but these errors were encountered: