Change colour on LightningChart

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
Norrbotten68
Posts: 4
Joined: Mon Sep 12, 2022 5:25 pm

Change colour on LightningChart

Post by Norrbotten68 » Sun Nov 27, 2022 2:16 pm

Hi
how can I change the colour of LightningChart sides which are not axis.
Please see attached here image for better understanding. I need to change the orange line to white (for example). I know how to do this for axisY and axisX , but those lines are not any of them.
Attachments
Orange2White.png
Orange2White.png (2.75 KiB) Viewed 1043 times

Arction_LasseP
Posts: 141
Joined: Wed Mar 27, 2019 1:05 pm

Re: Change colour on LightningChart

Post by Arction_LasseP » Mon Nov 28, 2022 7:22 am

Hello,

You can try changing the Border property.

Code: Select all

_chart.ViewXY.Border.Color = Color.White;
This changes the color of the orange border around the chart. There is also Border.Visible, which can be used to hide the whole border if needed.

Best regards,
Lasse

Post Reply