User (Legacy) Posted May 16, 2004 Report Share Posted May 16, 2004 Hi, I would like to rotate a chart with two Y-axes, so I have to a top and bottom X-axis. Trying to emulate it with two X-axes does not work since a secondary X-axes does not behave like a secondary Y-axis (X values are always scaled to the main X-axis). Turning on View3D does not work either, since you can not rotate around the Z-Axis (why not?). Best Regards, Frederik Siegmund Link to comment Share on other sites More sharing options...
Software FX Posted May 17, 2004 Report Share Posted May 17, 2004 Rotate how ? Do you mean invert ? Each axis has a property called Inverted that can be used to invert the axis. Can you please post a screenshot of what you are looking for as opposed to what you are getting. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 18, 2004 Author Report Share Posted May 18, 2004 In the chart component we currently use, we can swap the location of the X and Y axis, in addition to invert, This is a 90deg rotation. Basically, I would like to have to X axes and one Y axis. The X data we pass to the plot has different units, the Y data is in the same unit. Sorry, I only have a screenshot of what I want to get. With chartFX, we tried to assign a secondary X axis to a series. However, the plot we got did not made sense. We thought about rotating the plot using GDI rotation... Rgds, Frederik SoftwareFX Support wrote: > Rotate how ? Do you mean invert ? Each axis has a property called Inverted > that can be used to invert the axis. > > Can you please post a screenshot of what you are looking for as opposed to > what you are getting. > Link to comment Share on other sites More sharing options...
Software FX Posted May 19, 2004 Report Share Posted May 19, 2004 Ok. So it looks like what you want is to "swap" the X and Y-Axis. You can do this by doing: chart.TypeMask |= ChartType.Horz; -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 19, 2004 Author Report Share Posted May 19, 2004 Link to comment Share on other sites More sharing options...
Software FX Posted May 25, 2004 Report Share Posted May 25, 2004 This is indeed a bug. The title orientation is not being updated when ChartType.Horz changes. Workaround: // Set axis titles chart.Gallery = Gallery.Gantt; chart.Gallery = <the gallery you really want>; -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 30, 2004 Author Report Share Posted May 30, 2004 Thanks, this trick made it work. Rgds, Frederik Siegmund > This is indeed a bug. The title orientation is not being updated when > ChartType.Horz changes. > > Workaround: > > // Set axis titles > chart.Gallery = Gallery.Gantt; > chart.Gallery = <the gallery you really want>; > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.