Page 1 of 1

Transparent BACKGROUND

Posted: Thu Oct 05, 2017 8:58 pm
by 0uss
Hello everybody,

I want to know if there is any way to make charts with transparent background?

I'm using this code but it seems that I'm missing something:

Code: Select all

            lightningChartUltimate1.BeginUpdate();
            lightningChartUltimate1.Background.Color = Color.Transparent;
            lightningChartUltimate1.Background.GradientColor = Color.Transparent;
            lightningChartUltimate1.Background.GradientFill = Arction.LightningChartUltimate.GradientFill.Solid;
            lightningChartUltimate1.ViewXY.GraphBackground.Color = Color.Transparent;
            lightningChartUltimate1.ViewXY.GraphBackground.GradientColor = Color.Transparent;
            lightningChartUltimate1.ViewXY.GraphBackground.GradientFill = Arction.LightningChartUltimate.GradientFill.Solid;
            lightningChartUltimate1.EndUpdate();
Any help would be appreciated :) thank you !

Re: Transparent BACKGROUND

Posted: Fri Oct 06, 2017 10:16 am
by ArctionPasi
Hello,

WinForms don't support transparent background of controls. Therefore LC doesn't support that either.

In our WPF chart, transparent background is supported.

Re: Transparent BACKGROUND

Posted: Fri Oct 06, 2017 12:38 pm
by 0uss
Thank you very much for your reply.

Have a nice day :)