elektra Posted April 6, 2010 Report Share Posted April 6, 2010 Hello - the (chart/allSeries),gallery = lines; - I removed the three default series of the chart. - I created dynamically three other Series. To each one of the the new series, I assigned the following properties: chart1.Data.Series = this.chart1.Data.Series + 1;chart1.Series[chart1.Series.Count - 1].Text = seriesText;chart1.Series[chart1.Series.Count - 1].Gallery = Gallery.Lines;chart1.Series[chart1.Series.Count - 1].Line.Style = System.Drawing.Drawing2D.DashStyle.Solid;chart1.Series[chart1.Series.Count - 1].Line.Width = 2; => I'm getting Markers displayed but not lines Can anyone help me to fix it? thank you in advance Quote Link to comment Share on other sites More sharing options...
RandyJ Posted April 7, 2010 Report Share Posted April 7, 2010 Hi, Are you passing actual data to the new series? Could you please post a sample showing where you pass data to the new series? Regards, RandyJ Quote Link to comment Share on other sites More sharing options...
elektra Posted April 8, 2010 Author Report Share Posted April 8, 2010 I have found the reason of that: I was creating the series dynamically, adding dataitems in a loop and increasing the number of points. I have changed the code : - first creating dataseries - second passing dataitems to the series. It works now thank you for the reply Quote Link to comment Share on other sites More sharing options...
RandyJ Posted April 21, 2010 Report Share Posted April 21, 2010 You're welcome. I am glad to know the problem has been solved. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.