Hi forum,
I have been searching the forum for a solution but couldn't find out how to do this. I have an array of Series objects, they could be of different run-time classes of that type.
I need to insert a single series into this array that displays 2 horizontal lines: 1 for a low threshold and 1 for a high threshold. It would have been easy if the requirement did not specifically order that only 1 series can be used.
I have seen posts about the SeriesPoints class, which the forum admin said that the vertical lines dropped down to the x-axis on every points is currently always-on and cannot be turned off (turning it off will directly solve the problem.)
I think I have explored all posibilities in the provided Series class family but still I couldn't solve my problem. I am thinking of inheriting from Line class, but have precisely not a single idea of where to start.
I am near to the end of my design phase so a definite answer to this difficulty is very necessary. Any help is appreciated.
Thank you.
Huy
How to show both low high thresholds as a single series
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Huy,
Could you please post the link of this thread?I have seen posts about the SeriesPoints class, which the forum admin said that the vertical lines dropped down to the x-axis on every points is currently always-on and cannot be turned off (turning it off will directly solve the problem.)
Yes, I think this is the only way to achieve what you request. Here you'll find an example of custom series with overridden draw method.I think I have explored all posibilities in the provided Series class family but still I couldn't solve my problem. I am thinking of inheriting from Line class, but have precisely not a single idea of where to start.
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 |
Hi Narcís,
Sorry I think I incorrectly name the type of the series class. It should be series LinePoint class instead of "SeriesPoints" (this one does not exist). I can't remember where I got that impression from and I can't find that link again.
I will look at the code in your link of custom series class. The custom draw looks not complex and hopefully is a way to solve my problem. For the moment, I am trying another workaround that involves changing the logic of handling series, to avoid that requirement.
Thanks for your prompt reply.
Sorry I think I incorrectly name the type of the series class. It should be series LinePoint class instead of "SeriesPoints" (this one does not exist). I can't remember where I got that impression from and I can't find that link again.
I will look at the code in your link of custom series class. The custom draw looks not complex and hopefully is a way to solve my problem. For the moment, I am trying another workaround that involves changing the logic of handling series, to avoid that requirement.
Thanks for your prompt reply.