I have a graphic. In this graphic I need to show two moments. One moment, between a year range and other moment in other range. So, each range must be two diferent colors, in same line serie. I think to build two series, but when I put serie = 0, I heve a dot line, but I don't want a dot line, but invisible line. Is posible? Below my code:
chartSeries1.SetValues(bl.doubleArrayMercado);
chartSeries2.SetValues(bl.doubleArray2009);
chartSeries3.SetValues(bl.doubleArray2010);
for
(
int
i = 0; i < bl.doubleArray2009.Length; i++)
{
if
(bl.doubleArray2009[i] == 0)
{
chartSeries2.Items[i].Empty =
true
; //Here a dot line and no invisible line
chartSeries2.Items[i].Visible =
false
;
}
}
for
(
int
i = 0; i < bl.doubleArray2010.Length; i++)
{
if
(bl.doubleArray2010[i] == 0)
{
chartSeries3.Items[i].Empty =
true
;//Here a dot line and no invisible line
chartSeries3.Items[i].Visible =
false
;
}
}