|
Chart Director output |
Posted by Marius on Nov-25-2013 17:38 |
|
Hello,
is it possible to draw a graphic in c++ ? If so how it could be done?
Because so far I know you can save picture in file,web etc. |
Re: Chart Director output |
Posted by Peter Kwan on Nov-25-2013 23:02 |
|
Hi Marius,
You may use BaseChart.makeChart2 to output the chart as an image in memory. For example:
//output in PNG format in memory
MemBlock m = c->makeChart(Chart::PNG);
or
//output as a device independent bitmap in memory
MemBlock m = c->makeChart(Chart::BMP);
Hope this can help.
Regards
Peter Kwan |
|