|
Transparent background piechart/radarchart? |
Posted by Frank on Aug-24-2016 21:54 |
|
Hello Peter,
Ihave been searching the supportpages as well as the .chm-file and found no answer to my question.
Is it possible to have an entire transparent background for a chart in .png? For both a piechart and a radarchart?
Thank you very much for helping us out,
Frank
|
Re: Transparent background piechart/radarchart? |
Posted by Peter Kwan on Aug-24-2016 23:36 |
|
Hi Frank,
Yes, when you create the chart, you can use transparent as the background color. The exact syntax depends on your programming language. The followings are some examples:
// In C#/Java
PieChart c = new PieChart(600, 400, Chart.Transparent);
// In PHP
$c = new PieChart(600, 400, Transparent);
// In C++
PieChart *c = new PieChart(600, 400, Chart::Transparent);
Hope this can help.
Regards
Peter Kwan |
Re: Transparent background piechart/radarchart? |
Posted by Frank on Aug-25-2016 03:45 |
|
Hello Peter,
Thank you for your help. We still use classic asp, so is this the syntax?
Set c = cd.PieChart(500, 500, Transparent)
Thank you,
Frank |
Re: Transparent background piechart/radarchart? |
Posted by Peter Kwan on Aug-25-2016 23:27 |
|
Hi Frank,
In classical ASP, it is like:
Set c = cd.PieChart(500, 500, cd.Transparent)
Hope this can help.
Regards
Peter Kwan |
Re: Transparent background piechart/radarchart? |
Posted by Frank on Aug-26-2016 08:34 |
|
Thank you Peter! |
|