Custom series drawing
Posted: Tue May 13, 2014 7:43 pm
Hi,
I need a series which combines at least three different series types (fast line, high-low and area line). It wouldn't be a problem if only one would be active at once but I need to combine "the best" of all three. So I was thinking about developing my own type of series with some custom drawing to chart. I would use base chart under it because it's nice with all features but I would draw data on it with my own methods and approaches.
My first step would be drawing first to a memory bitmap and later drawing that bitmap to chart canvas (graphics double-buffering). When I should draw on canvas? Should I do that when on After Draw Graph is called? What is the best approach to draw some custom graphics on your chart?
Thanks for your ideas.
Kind regards.
I need a series which combines at least three different series types (fast line, high-low and area line). It wouldn't be a problem if only one would be active at once but I need to combine "the best" of all three. So I was thinking about developing my own type of series with some custom drawing to chart. I would use base chart under it because it's nice with all features but I would draw data on it with my own methods and approaches.
My first step would be drawing first to a memory bitmap and later drawing that bitmap to chart canvas (graphics double-buffering). When I should draw on canvas? Should I do that when on After Draw Graph is called? What is the best approach to draw some custom graphics on your chart?
Thanks for your ideas.
Kind regards.