Jump to content
Software FX Community

Simple questions (x-y axis)


User (Legacy)

Recommended Posts

This looks like a simple X/Y Chart (Line Gallery Type).

There is many samples of X/Y charts in both our docs. and support site.

You can obtain this chart by binding the chart to a data source (Data

Binding Section in the docs.) or by manually passing data to it using the

OpenData-CloseData paradigm.

As far as I can see, this chart should be perfectly reproducible in Chart

FX.

The Data Editor can be used to display the data grid to the left of the

chart as shown in your picture.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Hi FP

Thanks for you'r reply.

I have beed looking at the doc, but I cannot get the data correct.

This code:

chart1.chartfx.Gallery = SoftwareFX.ChartFX.Gallery.Lines;

chart1.chartfx.OpenData(COD.Values,1,19);

chart1.chartfx.Value[0,0] = 0;

chart1.chartfx.Value[0,1] = 56;

chart1.chartfx.Value[0,2] = 63;

chart1.chartfx.Value[0,3] = 70;

chart1.chartfx.Value[0,4] = 77;

chart1.chartfx.Value[0,5] = 84;

chart1.chartfx.Value[0,6] = 91;

chart1.chartfx.Value[0,7] = 98;

chart1.chartfx.Value[0,8] = 105;

chart1.chartfx.Value[0,9] = 112;

chart1.chartfx.Value[0,10] = 119;

chart1.chartfx.Value[0,11] = 126;

chart1.chartfx.Value[0,12] = 133;

chart1.chartfx.Value[0,13] = 140;

chart1.chartfx.Value[0,14] = 147;

chart1.chartfx.Value[0,15] = 154;

chart1.chartfx.Value[0,16] = 161;

chart1.chartfx.Value[0,17] = 168;

chart1.chartfx.Value[0,18] = 210;

chart1.chartfx.CloseData(COD.Values);

gives this chart "fx_line.jpg".

But I want these values (0-210) on the x-axis like "chart.jpg"...

Can you show me what I need to change in my code to create a chartfx that

looks like "chart.jpg" ?

With data on the x-axis and data on the y-axis.

Regards

Tom

"Software FX Support" <support@softwarefx.com> wrote in message

news:gvDJn6F2DHA.3512@WEBSERVER1...

> This looks like a simple X/Y Chart (Line Gallery Type).

>

> There is many samples of X/Y charts in both our docs. and support site.

>

> You can obtain this chart by binding the chart to a data source (Data

> Binding Section in the docs.) or by manually passing data to it using the

> OpenData-CloseData paradigm.

>

> As far as I can see, this chart should be perfectly reproducible in Chart

> FX.

>

> The Data Editor can be used to display the data grid to the left of the

> chart as shown in your picture.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...