I am using the code which follows to insert a summation row at the bottom of the Data Table which is the result of a triple stacked bar chart. I set the visibility of the series to false so it does not display in the graph only in the DataTable which works fine. My only problem is that there is an unused color label associated with this new row in the Data Table, I like the color labels with the other rows because they take the place of the legend, but this one I would like to drop, is this possible? To drop just the color portion of a series label in a Data Table?
ChartSeries totSer = new ChartSeries(); |
totSer.Name = "Total Contacts"; |
totSer.Visible = false; |
for (int i=0; i< conRunning.Series[0].Items.Count; i++){ |
totSer.Items.Add(new ChartSeriesItem(conRunning.Series[0].Items[i].YValue |
+ conRunning.Series[1].Items[i].YValue |
+ conRunning.Series[2].Items[i].YValue)); |
} |
conRunning.Series.Add(totSer); |