[Lazarus] Get JPEG from TAChart in CGI app
Alexander Klenin
klenin at gmail.com
Sun Mar 20 19:54:45 CET 2011
On Mon, Mar 21, 2011 at 04:44, Leonardo M. Ramé <l.rame at griensu.com> wrote:
>> Of course, since you are converting an object to the type it does not belong to.
>> You should create a TBitmap or another similar object.
>> Did you look at the savedemo as I proposed in a previous mail?
>
> Yes, if I try to PaintOnCanvas of a TBitmap, for example. I get "Canvas
> does not allow drawing".
That is very strange. I have created a nogui demo in r29942,
which does not have any gui, and creates a bitmap file with the chart.
Does it work for you?
--
Alexander S. Klenin
More information about the Lazarus
mailing list