Jump to content
Software FX Community

Multiple XY series


User (Legacy)

Recommended Posts

I would like to understand the exact rules for multiple series and multple 

Values and XValues sets in a chart. The documentation seems to have some

examples but no definitive reference.

1. What is the rule for specifying multiple series, each with its own Values

and XValues arrays?

2. Conversely, what rules does a chart follow if it's haded a list of

arrays, some marked as Values and some marked as XValues?

Thanks.

Link to comment
Share on other sites

> 1. What is the rule for specifying multiple series, each with its own 

> Values and XValues arrays?

You specify how many series you want when you call OpenData or when you pass

a datasource to the chart.

> 2. Conversely, what rules does a chart follow if it's haded a list of

> arrays, some marked as Values and some marked as XValues?

BY default, upon databinding, Chart FX will use all numeric columns as

Y-Values, Date columns as X-Values. You can change this behavior by using

DataSoursettings.DataStyle and/or DataSourceSettings.DataType prior to

filling the dataset or assigning the DataSource property. These properties

allow you to tell Chart FX how to use each of the columns (Y-Value, X-Value,

Label, etc.). Please check the docs. on these properties for details.

--

FP

Software FX

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...