User (Legacy) Posted July 22, 2003 Report Share Posted July 22, 2003 The following code, when some elements in series1 or series2 are nothing. Chart FX for .NET will fail when assigning the ListProvider to the Charts' DataSource property. So how to made the holes for the chart? Dim series1() As Object Dim series2() As Object Dim labels() As String ' Set arrays 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 Link to comment Share on other sites More sharing options...
Software FX Posted July 23, 2003 Report Share Posted July 23, 2003 The arrays should be arrays of doubles and Chart.Hidden should be used for representing "holes". -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.