[Lazarus] Get JPEG from TAChart in CGI app

Leonardo M. Ramé l.rame at griensu.com
Tue Mar 22 21:18:23 CET 2011


On 2011-03-23 05:23:26 +1000, Alexander Klenin wrote:
> On Tue, Mar 22, 2011 at 21:57, Leonardo M. Ramé <l.rame at griensu.com> wrote:
> >> > Since r29962, nogui demo uses nogui widgetset -- thus, it should not
> >> > need GTK anymore.
> >> > Please test.
> >> >
> >>
> >> It seems to work, at least from command line, no fonts of course, but
> >> graphics and colors works ok.
> >>
> >> I'll test the CGI app from home when I'll go back from work.
> >>
> >
> > I tested it in a CGI sample last night, but no luck. I keep getting the
> > "Canvas does not allow drawing error.".
> 
> That is very strange -- please make sure you are using the right version
> using nogui widgetset (you can check it in Project Options -> Build
> modes -> LCLWidgetType).
> Otherwise, it sounds like nogui widgetset actually requires a GUI --
> pretty serious bug, I'd say.
> 
> Can anybody else tell what's going on here?
> 

Nevermind, it worked wonderfully.

I attached your nogui example compiled as a CGI.

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgicharts.tar.gz
Type: application/x-tar-gz
Size: 2346 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110322/642c0086/attachment-0003.bin>


More information about the Lazarus mailing list