We are using a Stacked Area chart to display a set of data items so the user can see the relative contributions of each set. There are around 100 or so data points in the series, and the number of series can vary from a small few to many hundreds. We observe that the graphs become extremely slow to render and to respond in the gui (ex. series highlighting) when the number of series gets large. Are there any optimization tips for getting better performance? Here is the core of our code:
With chart
.SuspendLayout()
For Each oCDIC In cGroupedItems.Items .Series(series).Text = seriesText
.Series(series).Tag = seriesTag i = 0
For Each oCI In oCDIC.Items .Data(series, i) = oCI.CountLogs
i += 1
Nextseries += 1
Next
'Labelsi = 0
For intDate = intDateMin To intDateMax datDate = GetDate(intDate)
.Data.Labels(i) = datDate
i += 1
Next.Data.CommitChanges()
.ResumeLayout()
Thanks!