Map line color

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
snOOfy
Posts: 14
Joined: Mon Aug 29, 2016 5:45 pm

Map line color

Post by snOOfy » Thu Jan 25, 2018 8:19 am

Hi, I am using the WorldHigh.md map to display country borders on my chart. Is there any way to change the color and transparency of the country border lines during run time?

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: Map line color

Post by ArctionKestutis » Thu Jan 25, 2018 2:06 pm

Hi,
Yes, please set

Code: Select all

_chart.ViewXY.Maps.LandOptions.LineStyle.Color
The Color structure is formed from the four ARGB components (alpha, red, green, and blue) values. To get transparency effect reduce Alpha value (max=255, min=0).

All the best.

snOOfy
Posts: 14
Joined: Mon Aug 29, 2016 5:45 pm

Re: Map line color

Post by snOOfy » Mon Mar 12, 2018 8:50 am

Hi,

thanks, that solved my problem.

And sorry for the late reply, I forgot to enable the notification box and then got hung up on other issues :)

Post Reply