Jump to content
Software FX Community

I am having problems generating a graph.


User (Legacy)

Recommended Posts

I amI am using the ListProvider to which I add four collections of data

Collection1=Date Values - Main X Axis

Collection2=Values (for collection 1 dates)

Colelction3=DateValues - secondary X Axis

Collection4=Values (for collection 3 dates)

Please can you explain how I make the 3rd collection a secondary x axis and

how I tell Chartfx that the data in collection1 is for the xaxis etc

Link to comment
Share on other sites

> how I make the 3rd collection a secondary x axis

I guess you mean a secondary Y axis as secondary X-Axis are not supported

for data values.

To assign a series to the secondary Y axis do:

chart1.Series[2].YAxis = YAxis.Secondary;

Do this prior to setting the data if you want the secondary Y-Axis to scale

according to your data.

> how I tell Chartfx that the data in collection1 is for the xaxis

Prior to setting the data, use the DataType property to specify how each

column in your data set is to be used. For example:

chart1.DataSourceSettings.DataType = DataType.XValue;

--

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...