Page 1 of 1

Replace Chart with a bitmap

Posted: Mon Apr 05, 2010 12:33 pm
by 13048623
I have a bitmap of a color grid that I generate manually that I would like to place on a TChart. The manually built bitmap matches the ColorGrid series, but I can generate and display it much faster than TChart can. I tried pasting this bitmap onto the chart using "BackgroundImage" which does work, but it is just that... a background image. The empty chart is on top of it. I tried various combinations, but have not hit upon the correct code to make this work. Any help would be appreciated.

Currently, I just display my bitmap on a separate form. Displaying this form while inhibiting the TChart effectively doubles my refresh rate for a 50 x 1024 grid.


thanks,
Kev

Re: Replace Chart with a bitmap

Posted: Tue Apr 06, 2010 10:19 am
by narcis
Hi Kev,

Have you tried using the bitmap with an Image tool or setting it as back wall's image?

Image tool example can be found at All Features\Welcome !\Tools\Image in the features demo available at TeeChart's program group.

Hope this helps!