Mohamed Posted June 22, 2007 Report Share Posted June 22, 2007 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() listOfArrays.Add(redValues) listOfArrays.Add(redXValues) listOfArrays.Add(blueValues) listOfArrays.Add(blueXValues) Dim lstProvider2 As New SoftwareFX.ChartFX.Data.ListProvider(listOfArrays) Dim fields As FieldMapCollection = Chart1.DataSourceSettings.feilds fields.Clear() 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 More sharing options...
JuanC Posted June 22, 2007 Report Share Posted June 22, 2007 See my latest post in the original thread. JuanC Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.