What is the base color in Dark. I need to change the color over first chart so it will be as in the chart.
Grey part is not the chart
ColorTheme.Dark
Moderator: Queue Moderators
-
- Posts: 4
- Joined: Mon Sep 12, 2022 5:25 pm
ColorTheme.Dark
- Attachments
-
- 2023-03-28 16_15_20.png (9.46 KiB) Viewed 10339 times
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: ColorTheme.Dark
1. LightningChart Fill objects have GradientFill property.
2. Chart itself has background and ViewXY (rectangle inside axes) has own background.
Therefore, if you want single, non-gradient fill, you should set something like this
Hope this helps.
2. Chart itself has background and ViewXY (rectangle inside axes) has own background.
Therefore, if you want single, non-gradient fill, you should set something like this
Code: Select all
// set overall ChartBackground
_Chart.ChartBackground.Color = _colorBackground;
_Chart.ChartBackground.GradientFill = GradientFill.Solid;
// set ViewXY background
_Chart.ViewXY.GraphBackground.Color = _colorBackground;
_Chart.ViewXY.GraphBackground.GradientFill = GradientFill.Solid;
-
- Posts: 1
- Joined: Fri Apr 21, 2023 12:59 pm
Re: ColorTheme.Dark
Oh thank you more , I had the same question , everything worked!