Jump to content
Software FX Community

(chart/allSeries),gallery = lines, but I' m getting markers no lines


elektra

Recommended Posts

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

Link to comment
Share on other sites

 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

 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...