I have a question that perhaps someone can give me some advice on:
I need to access single marks of my series, to display them. I.e. I want to fetch Series.getMarks().getMark(myDesiredMark).setColor..., as an example. How can I obtain this? Also, I cant seem to be able to set the marks text using getMarks().setText(aValue)...
So, any takers?
Best regards,
Marius Lunde
Getting single SeriesMarks
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Marius,
For this I recommend you to use an Annotation tool. You can find an example of its usage in the second post from Marc on this thread.I need to access single marks of my series, to display them. I.e. I want to fetch Series.getMarks().getMark(myDesiredMark).setColor..., as an example. How can I obtain this?
For this you can either use OnGetSeriesMark event as in the example at Tutorial 6 - Working with Series or set text for a specific point like this:Also, I cant seem to be able to set the marks text using getMarks().setText(aValue)...
Code: Select all
tChart.getSeries(0).getLabels().setString(3, "hello world!");
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |