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,


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...