Jump to content
Software FX Community

Type 'ListProvider' is not defined


User (Legacy)

Recommended Posts

Sorry this may be a simple question, but I am very new to Visual Basic .NET

and Chart FX

but I am attempting to go through some of the interactive samples and I have

set the properties of the chart using the wizard and am attempting to put

this code behind a button on a windows form, but I keep getting the error:

"Type 'ListProvider' is not defined"

I know that Listprovider is located in the Data Class but I can not seem to

add the DLL to the project correctly. my code is:

Dim series1() As Integer = {12, 15, 10}

Dim series2() As Integer = {20, 25, 7}

Dim labels() As String = {"Yes", "No", "Don't know"}

Dim allArrays(2) As Object

'Load Array of Arrays

allArrays(0) = series1

allArrays(1) = series2

allArrays(2) = labels

Dim lstProvider As New ListProvider(allArrays)

Chart1.DataSourceSettings.DataSource = lstProvider

And I am working with trial version currently.

Any help would be appreciated,

Delali

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...