Page 1 of 1

Reorder bar graphs

Posted: Fri Jun 07, 2024 10:59 am
by 17595911
Hi,

How can I most elegantly reorder the series in the screenshot below so the series with the tallest bars get moved backwards so they don't hide lower value series...? Does it exist a property which achieve this?

Thanks for comments and tips...

regards btor

Image

Re: Reorder bar graphs

Posted: Fri Jun 07, 2024 2:12 pm
by 17595911
I pasted the URL in the IMG field but somehow it didn't got saved...

Image

Re: Reorder bar graphs

Posted: Mon Jun 10, 2024 8:31 am
by yeray
Hi,

You can use the ExchangeSeries method with this purpose. For example:

Code: Select all

  Chart1.ExchangeSeries(Chart1[0], Chart1[Chart1.SeriesCount-1]);