Jump to content
Software FX Community

What is the Alternate for FieldMapCollection in Visual studio 2005 for chartFX


Recommended Posts

I am using Chart FX 6.0 version with Asp.net 2.0(webforms) on visual studio 2005. The feild map collection is a .Net 1.1 object(Visual Studio 2003). I could not find the feildmapcollection in .net 2.0 (Visual Studio 2003).  Is there any alternate for that in .Net 2.0 (Visual Studio 2003). .

 For your information I will paste the part of code where I use FieldMapCollection,

Dim redValues As Double() = {10, 12, 8}

Dim redXValues As Double() = {1, 2, 4}

Dim blueValues As Double() = {6, 14, 9}

Dim blueXValues As Double() = {1, 3, 5}

Dim listOfArrays As ArrayList = New ArrayList()





Dim lstProvider2 As New SoftwareFX.ChartFX.Data.ListProvider(listOfArrays)

Dim fields As FieldMapCollection = Chart1.DataSourceSettings.feilds


fields.Add(New FieldMap("Field1", FieldUsage.Value))

fields.Add(New FieldMap("Field2", FieldUsage.XValue))

fields.Add(New FieldMap("Field3", FieldUsage.Value))

fields.Add(New FieldMap("Field4", FieldUsage.XValue))

Chart1.Gallery = Gallery.Lines

Chart1.DataSource = lstProvider2

Thanks in advance

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