Jump to content
Software FX Community

X-Axis labels


User (Legacy)

Recommended Posts

Posted

I have a series of numbers (1, 1.5, 3, 4, 5, 7, 8.2, 10) that I want to

chart. However, what I need is to have the values spaced across the X-Axis

in proper distances from each other. For example, 1.5 would be 1/2 a unit

from 1, and 3 would be 1.5 units from 1.5, etc.

Is this possible with ChartFX .NET for WinForms?

Thanks,

Eric

Posted

You want to create an XY chart, e.g.

chart1.Gallery = Gallery.Lines;

// 1 Series and 10 Points

chart1.OpenData(COD.Values,1,10);

chart1.OpenData(COD.XValues,1,10);

// Pass the data here

chart1.Value[0,0] = 10;

chart1.XValue[0,0] = 1;

chart1.Value[0,1] = 12;

chart1.XValue[0,1] = 1.5;

...

chart1.CloseData(COD.Values);

chart1.CloseData(COD.XValues);

This is supported in both Winforms and Webforms

--

Regards,

JC

Software FX Support

"Eric Brunsen" <eric_brunsen@msn.com> wrote in message

news:q8Ksj$9rDHA.3336@WEBSERVER1...

> I have a series of numbers (1, 1.5, 3, 4, 5, 7, 8.2, 10) that I want to

> chart. However, what I need is to have the values spaced across the

X-Axis

> in proper distances from each other. For example, 1.5 would be 1/2 a unit

> from 1, and 3 would be 1.5 units from 1.5, etc.

>

> Is this possible with ChartFX .NET for WinForms?

>

> Thanks,

>

> Eric

>

>

Archived

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

×
×
  • Create New...