Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Is there a way to specify the Z-order of multiple series on a line chart?
Specifically, how would I force the red line to appear in front of the blue line in the following line chart?
I have tried ordering the items in the Values specification. This only affects the ordering of the legend items, but not the actual line display.
Thanks,
Ross
UPDATE: As noted in the accepted solution, the key to the Z-ordering is to refresh the display after changing the order of the items in the values list.
Solved! Go to Solution.
@Anonymous
There is a workaround: after change the order of values, please changes pages, or save and reload the report, then it will draw lines in the order that the Legend shows things.
Product team will look at possible sorting the line elements at a later time.
Best Regards,
Herbert
Hi,
It looks strange. I will do more test and post later.
Best Regards!
Dale
Having the same issue with one line on top of another, and no impact of sort order on this. Sort order only changes the lengend. Using 2.46.4732.721 64-bit (May 2017)
Did anything get solved here?
Still nothing concretely resolved.
However, after randomly moving things around hoping to find some correlation, the desired display order started working.
But I have no idea if/what change may have actually initiated the resulting display.
@Anonymous
There is a workaround: after change the order of values, please changes pages, or save and reload the report, then it will draw lines in the order that the Legend shows things.
Product team will look at possible sorting the line elements at a later time.
Best Regards,
Herbert
My line chart is a single value measure with a variable in legend (as opposed to mutliple values). This fix isn't solving this for me. Have tried the solution and not experiencing it being fixed unfortunately. The variable on the legend is sorted and working on other charts.
In case anyone asks, I have tried reversing the sort of the variable to solve the problem and that doesn't make it change
Change your order so that the measure you want is the dominant line. Then go into the format area and switch your data colors?
That was my initial expectation and the first thing I tried.
It does change the order in the legend, but does not appear to affect the line display:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |