Jump to content
Software FX Community

How to "reverse" the X-axix in an XY chart?

User (Legacy)

Recommended Posts

I have an XY chart where I would like to "reverse" the X-axis. That is, the

positive X-axis to the left, rather than the right.

I want to put the origin (0,0) at the lower right corner of the chart, with

X values increasing to the left, and Y values increasing upward.

I have not found a way to do this.

Is this possible?

Link to comment
Share on other sites

Thank you!  This works fine.

However, I think I found a bug in ChartFX:

When the X-Axis is reversed as described below (I set Min to the biggest

value and Max to the smallest value),

If you click either of the scrollbar arrows, or drag the scrollbar "slider",

the scrolling works as expected.

However, if you click the horizontal scrollbar in the space between the

slider and one of the arrows, the chart scrolls in the wrong direction.

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message


> If you are using ChartFX 6.x you can do:


> chart.axisX.Inverted = true;


> In Chart FX 5.x you need to assign:


> chart.Axis(AXIS_X).Min = <Biggest Value>

> chart.Axis(AXIS_X).Max = <Smallest Value>


> --

> FP

> Software FX



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...