Jump to content
Software FX Community


User (Legacy)

Recommended Posts

I can't get a series count out of my chart object.  It always returns zero 

(0). Any help would be appreciated.

Thanks, Chris

Here is a portion of my code:

ct = New CrosstabDataProvider

ct.DataSource = dt

ct.DataType.Item(1) = CrosstabDataType.ColumnHeading

ct.DataType.Item(0) = CrosstabDataType.RowHeading

ct.DataType.Item(2) = CrosstabDataType.Value

Dim seriesCnt As Integer

With Chart1

.DataSource = ct

.DataSourceSettings.DataType.Item(1) = SoftwareFX.ChartFX.DataType.Label

.AxisX.SetScrollView(2, 4)

seriesCnt = .Series.Count

End With

Link to comment
Share on other sites


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

  • Create New...