User (Legacy) Posted June 9, 2004 Report Share Posted June 9, 2004 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 More sharing options...
Software FX Posted June 9, 2004 Report Share Posted June 9, 2004 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 More sharing options...
User (Legacy) Posted June 11, 2004 Author Report Share Posted June 11, 2004 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 news:e6zqevkTEHA.3152@webserver3.softwarefx.com... > 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 More sharing options...
Software FX Posted June 18, 2004 Report Share Posted June 18, 2004 I have posted this as a bug in our KB. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.