Jump to content
Software FX Community

DataSet and chartfx

User (Legacy)

Recommended Posts


I am trying to bind a dataset to a chart. I get the following results : No

Data Available.

Here is my Page_Load code:

Dim t As New TrafficTopCities 'A named dataset

Chart2.DataSourceSettings.DataSource = t.Tables(0)

Chart2.DataSourceSettings.DataType(0) = SoftwareFX.ChartFX.DataType.NotUsed

Chart2.DataSourceSettings.DataType(1) = SoftwareFX.ChartFX.DataType.Default

Chart2.DataSourceSettings.DataType(2) = SoftwareFX.ChartFX.DataType.Default



Link to comment
Share on other sites

The most likely causes for this are:

1) Your dataset is empty

2) The data columns are not numeric.

You need also to make sure that the dataset is actually filled with data.

Check out our resource and sample center, it contains sample programs using

Data Binding.



Software FX, Inc.

Link to comment
Share on other sites


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

  • Create New...