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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...