Select to view content in your preferred language

Dashboard Chart Widget - legend not honoring colors

408
2
Jump to solution
04-01-2026 09:06 AM
Charlie_Kaufman
Regular Contributor

I'm creating a simple chart in Dashboard from a hosted table I have in AGOL.  The chart itself is a stacked bar graph with a couple of lines.  All the data works, and when I update the hosted table with new information, the dashboard updates as well.

My problem is that the Legend below the chart is not honoring the colors I have selected for each bar / line.  I've gone back and recreated this several times and while in edit mode the legend matches my symbology choices.  However, when I hit save and try to look at the published version the legend either "flips" the colors or chooses randomly.   See Attached Images.

I'm primarily using Chrome's browser since that is what we have access to at work.

Any ideas?


0 Kudos
1 Solution

Accepted Solutions
Charlie_Kaufman
Regular Contributor

Found a BUG Report that matched my issue.  Comes with a quick fix in case anyone else is running into this.  I was able to apply the workaround successfully.  

Bug ID Number BUG-000184536

 

Workaround

Move the line series to the bottom of the series list in the Data tab.

After placing the line series above all other series, the chart renders the correct color order.

 

View solution in original post

2 Replies
Charlie_Kaufman
Regular Contributor

Found a BUG Report that matched my issue.  Comes with a quick fix in case anyone else is running into this.  I was able to apply the workaround successfully.  

Bug ID Number BUG-000184536

 

Workaround

Move the line series to the bottom of the series list in the Data tab.

After placing the line series above all other series, the chart renders the correct color order.

 

JACooper
Regular Contributor

+1 for both the issue still occurring and the solution working. Thank you for identifying the bug and spelling out the fix, @Charlie_Kaufman!

0 Kudos