User (Legacy) Posted July 4, 2005 Report Share Posted July 4, 2005 Hi, I have a scatter chart with the X-Values going from 0 to 100 and Y-Values from 0 to 100. I want to move both axes to 50 so the chart is divided into 4 quadrants. How can I go about this? Cheers, Martin Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 4, 2005 Author Report Share Posted July 4, 2005 Hi, I have a scatter chart with the X-Values going from 0 to 100 and Y-Values from 0 to 100. I want to move both axes to 50 so the chart is divided into 4 quadrants. How can I go about this? Cheers, Martin Link to comment Share on other sites More sharing options...
Software FX Posted July 5, 2005 Report Share Posted July 5, 2005 What do you mean by "move both axes to 50" ? Can you attach a screenshot indicating what you need. Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Software FX Posted July 5, 2005 Report Share Posted July 5, 2005 What do you mean by "move both axes to 50" ? Can you attach a screenshot indicating what you need. Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 5, 2005 Author Report Share Posted July 5, 2005 I think my question was clear enough. If anyone else has problems doing the same thing I hacked a solution by subtracting 50 from all the values passed to the chart so they were going from -50 to 50 instead of 0 to 100. I then rewrote the Labels with their proper values in the GetAxisLabel event as below private void TheScatterChart_GetAxisLabel(object sender, SoftwareFX.ChartFX.Internet.Server.AxisLabelEventArgs e) { e.Label = (Convert.ToInt32(e.Label) + 50).ToString(); } "Francisco Padron" <noreply@softwarefx.com> wrote in message news:oCDHpzVgFHA.2524@webserver3.softwarefx.com... > What do you mean by "move both axes to 50" ? Can you attach a screenshot > indicating what you need. > > Francisco Padron > www.chartfx.com > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 5, 2005 Author Report Share Posted July 5, 2005 I think my question was clear enough. If anyone else has problems doing the same thing I hacked a solution by subtracting 50 from all the values passed to the chart so they were going from -50 to 50 instead of 0 to 100. I then rewrote the Labels with their proper values in the GetAxisLabel event as below private void TheScatterChart_GetAxisLabel(object sender, SoftwareFX.ChartFX.Internet.Server.AxisLabelEventArgs e) { e.Label = (Convert.ToInt32(e.Label) + 50).ToString(); } "Francisco Padron" <noreply@softwarefx.com> wrote in message news:oCDHpzVgFHA.2524@webserver3.softwarefx.com... > What do you mean by "move both axes to 50" ? Can you attach a screenshot > indicating what you need. > > Francisco Padron > www.chartfx.com > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.