Hide chart background when printing
Posted: Tue Oct 18, 2011 12:32 pm
I am unable to hide the chart background when trying to print a chart with an applied theme.
For example if I use the theme BackInBlackTheme
When I print the chart using T.Printer.Print the printout looks exactly like the chart on the screen (as expected).
However, i would like to print this chart using a transparent (or white) background so that the printout is more readable on a regular Black & White printer.
I tried changing the Theme of the chart before printing. But then i have to reset the Theme to the original after printing.
I wonder if there is a way to just hide the chart background in the trend when printing out.
For example if I use the theme BackInBlackTheme
Code: Select all
Steema.TeeChart.TChart T = new Steema.TeeChart.TChart();
Steema.TeeChart.Themes.BlackIsBackTheme CurrentTheme;
CurrentTheme = new Steema.TeeChart.Themes.BlackIsBackTheme(T.Chart);
CurrentTheme.Apply();
However, i would like to print this chart using a transparent (or white) background so that the printout is more readable on a regular Black & White printer.
I tried changing the Theme of the chart before printing. But then i have to reset the Theme to the original after printing.
I wonder if there is a way to just hide the chart background in the trend when printing out.