How to show the series list in order (largest to smallest on a symbol line graph?

Hi all,
Just a quick question on using a symbol line graph, is there any way to have the key shown in the same order as the data is presented on the chart? I.e. in the example below I'd like the triangle to be at the top of my list, then the square etc.
Thanks in advance!
Best Answer
-
I don't believe Domo provides any way to manually reorder legend items aligned with your data. However, you could possibly "cheat" your way into it by creating a beast mode calculation that assigns a numeric value according to the symbol for each category.
CASE
WHEN Shape = 'Triangle' THEN 1
WHEN Shape = 'Square' THEN 2
WHEN Shape = 'Circle' THEN 3
WHEN Shape = 'Diamond' THEN 4
ELSE 5
ENDName it something like ShapeOrder or OrderBy. Then add the calculated field as a sort option.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Answers
-
I don't believe Domo provides any way to manually reorder legend items aligned with your data. However, you could possibly "cheat" your way into it by creating a beast mode calculation that assigns a numeric value according to the symbol for each category.
CASE
WHEN Shape = 'Triangle' THEN 1
WHEN Shape = 'Square' THEN 2
WHEN Shape = 'Circle' THEN 3
WHEN Shape = 'Diamond' THEN 4
ELSE 5
ENDName it something like ShapeOrder or OrderBy. Then add the calculated field as a sort option.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 87 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive