Is there way to make the color of legend in sync between Line Chart and bar Chart? Without hard-coding, please.
Thanks!
Is there way to make the color of legend in sync between Line Chart and bar Chart? Without hard-coding, please.
Thanks!
Hi @lbl
is the Year a date or string/number field?
BR
hi @ErikG
Year is number field
Hello @lbl, I hope this message finds you well.
There is an alternative that I love to use, which is as follows: If you click on the legend, it will open a window with these options:
Please let me know if it works.
âEdit field Colorsâ is static by indicating color to known values. In my case, values of year are dynamic. Hence, I am unable to use âEdit field Colorsâ.
hi,
Would like to check if any solution or workaround, please. Thank you.
Would also be a useful thing to know - we similarly canât hard lock the colours using âEdit field colorâ as that wonât work across all our different dashboard users (some will have different ranges), plus it requires maintenance each year. But having different colours for the same year across charts is confusing to users!
@ErikG
would you be able to raise this to QuickSight team for a solution or workaround?
apology if it is inappropriate to request this way.
thanks.
Hi @lbl,
From my understanding, I do not believe there is a standard way to set the color on a field thatâs values are dynamic.
Just out of curiosity, how is that field static (whatâs the calc. field formula youâve created for it)?
I donât believe there are any great work around options for dynamic value coloring but one thing you could try:
Edit the data colors in your theme settings:
While this wonât match colors to specific values per say, it will use those colors in order so if you are using the same calculated field on separate visuals (so it returns the same year options across numerous visuals) they should all coordinate. Visuals will follow that color order set in âData Colorsâ so the first value returned will be the light blue in my example, your second value will be dark blue, and so on.
Iâll mark this as a feature request as well to promote visibility to the support team but let me know if that work around serves as a solution for your case.
hi @Brett
YEAR is a number field directly from dataset (not calculated field).
Editing data colors in theme settings does NOT solve the issue.
Bar chart without small multiples IS following the theme.
BUT line chart with small multiples IS NOT following the theme. Tested with Bar Chart which also has the same issue.
Another issue noted is that the YEAR cannot be sorted in desc or asc. I will log separate case for this.
It seems to me that small multiples implementation has bug. Would appreciate support team can look into this for a solution.
Thanks.
Hi @lbl,
I mentioned this on your other post as well; there does seem to be a bug with this so I would suggest creating a support ticket.
Hi @lbl,
Please refer to my response on your other like posts. Iâve marked this as a feature request and provided this information to our contact at AWS. Hopefully this bug will be able to be straightened out. For the time being though, Iâll go ahead and close out this topic.
Thank you!