visualization-tool icon indicating copy to clipboard operation
visualization-tool copied to clipboard

Allow switch between measures in the same chart

Open AFoletti opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. There are cubes with more than one measure (ex: EnergiePerspektiven have Energieverbrauch and Treibhausgasemissionen). Today I need two completely separate Visualize charts to show the two of them, which is in my opinion suboptimal.

Describe the solution you'd like I would like an option to activate a sort of "measure selector" for the published chart. Something like the Data Filters dropdown menus but with the options to switch measures. Once switched, the chart will of course need to be redrawn with an adapted vertical axis (Unit and/or scale). This solution will allow me to configure a single chart and keep the ability to show all the measures available in the cube.

Describe alternatives you've considered A similar effect can be obtained outside of Visualize, where the HTML code created the dropdown menu and is configured to show one of several separate and preconfigured Visualize charts (one per available measure). While feasible, it is inelegant and kind of defeats the "easy to integrate anywhere" approach of the charts.

Additional context See the discussion here

AFoletti avatar Mar 01 '22 15:03 AFoletti