Transparent BACKGROUND

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

0uss
Posts: 16
Joined: Mon Apr 18, 2016 5:05 pm

Transparent BACKGROUND

Post by 0uss » Thu Oct 05, 2017 8:58 pm

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 !

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: Transparent BACKGROUND

Post by ArctionPasi » Fri Oct 06, 2017 10:16 am

Hello,

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

In our WPF chart, transparent background is supported.
LightningChart Support Team, PT

0uss
Posts: 16
Joined: Mon Apr 18, 2016 5:05 pm

Re: Transparent BACKGROUND

Post by 0uss » Fri Oct 06, 2017 12:38 pm

Thank you very much for your reply.

Have a nice day :)