gdi+ with webbroker?
Posted: Tue Apr 24, 2012 10:50 pm
Hi,
We use tchart to create graphs, save them to jpegs or pings, and stream them down to a web browser. It works well. However, we would like to use the new tTeegdiplus component to anti-alias and streamline the charts.
We have tried creating a teegdiplus at runtime and assigning its teechart property, e.g.,
gdiCanvas := tTeeGDIPlus.create(nil);
gdiCanvas.TeePanel := mynewchart;
However when we set the gdicanvas.active property to true we get a "no parent window control message".
We also tried creating a form at runtime, then assigning the teechart and the TeeGDIPlus component to it (e.g., gdiCanvas := tTeeGDIPlus.create(mynewform)) but still get the same error message.
Any help would be appreciated.
Thanks.
We use tchart to create graphs, save them to jpegs or pings, and stream them down to a web browser. It works well. However, we would like to use the new tTeegdiplus component to anti-alias and streamline the charts.
We have tried creating a teegdiplus at runtime and assigning its teechart property, e.g.,
gdiCanvas := tTeeGDIPlus.create(nil);
gdiCanvas.TeePanel := mynewchart;
However when we set the gdicanvas.active property to true we get a "no parent window control message".
We also tried creating a form at runtime, then assigning the teechart and the TeeGDIPlus component to it (e.g., gdiCanvas := tTeeGDIPlus.create(mynewform)) but still get the same error message.
Any help would be appreciated.
Thanks.