Jump to content
Software FX Community

Moving Axes?


User (Legacy)

Recommended Posts

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

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

Archived

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

×
×
  • Create New...