On Mon, Mar 21, 2011 at 04:44, Leonardo M. Ramé <[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
