Page 1 of 1

Line Chart Marks Did Not Appear

Posted: Wed Jun 18, 2008 5:41 am
by 13045688
Dear Sir/Madam,

I draw a Bar chart and turn on Marks as below:

Code: Select all

wChart.Chart.Series(i).Marks.Style = Steema.TeeChart.Styles.MarksStyles.Label
That works fine. But when I change it to Line chart:

Code: Select all

wChart.Chart.Series.Add(New Steema.TeeChart.Styles.Line())
The Label disappeared.
Same thing happen to most of the chart styles except Bar/Horizontal Bar/Bar3D (to name a few, if not all).

What happen? How do I put the mark for those chart style?

Thanks.

Rgds,
Stephen

Posted: Wed Jun 18, 2008 8:23 am
by narcis
Hi Stephen,

This is because, by default, marks are not visible in those series styles. For making they visible you need to use this code:

Code: Select all

wChart.Chart.Series(i).Marks.Visible = true;

Posted: Wed Jun 18, 2008 8:58 am
by 13045688
Hi NarcĂ­s,

It works fine now.

Thanks for such quick respond, I appreciate it.

Rgds,
Stephen

Posted: Wed Jun 18, 2008 9:08 am
by narcis
Hi Stephen,

You're very welcome. I'm glad to hear that helped.