This is a migrated thread and some comments may be shown as answers.

[Solved] Dynamic Series

1 Answer 114 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Troy Demet
Top achievements
Rank 2
Troy Demet asked on 16 Sep 2011, 10:43 PM
Is there a way to create dynamic series.
Public Class ChartData
       Public Property Errors() As IList(Of TypeInfo)
       ''' <summary>
       ''' Gets or sets the date string.
       ''' </summary>
       ''' <value>The date string.</value>
       Public Property DateString() As String
 
       Public Sub New()
           Errors = New List(Of TypeInfo)
       End Sub
   End Class
 
 
   Public Class TypeInfo
       ''' <summary>
       ''' Gets or sets the type of the error.
       ''' </summary>
       ''' <value>The type of the error.</value>
       Public Property ErrorType() As String
       ''' <summary>
       ''' Gets or sets the total.
       ''' </summary>
       ''' <value>The total.</value>
       Public Property Total() As Integer
   End Class


So I will have an object with a date and a list of objects with the ErrorType and the Total of that error for the day.I  want to have a line for each error type plotted for a daily count.

1 Answer, 1 is accepted

Sort by
0
mahmoud
Top achievements
Rank 1
answered on 21 Jan 2012, 03:10 PM
The same problem. any solution?
Tags
Chart
Asked by
Troy Demet
Top achievements
Rank 2
Answers by
mahmoud
Top achievements
Rank 1
Share this question
or