Legend Box Background

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

Erlenwiese
Posts: 2
Joined: Thu Aug 31, 2017 9:04 am

Legend Box Background

Post by Erlenwiese » Thu Aug 31, 2017 9:28 am

Our charts all have a white background.
When I add a legend box, it always has a dark background that doesn't look good in that case.

Is it possible to change the background color of a legend box? I didn't find a background color property.

------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------

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

Re: Legend Box Background

Post by ArctionKestutis » Thu Aug 31, 2017 11:20 am

Hello,

You need to modify Fill property tree of LegendBox. If don't want any fill (i.e. transparent) just set

Code: Select all

Fill.Style = None;
Otherwise set Fill.Color, Fill.Gradient etc. Even bitmap fill is possible.

All the best.

Erlenwiese
Posts: 2
Joined: Thu Aug 31, 2017 9:04 am

Re: Legend Box Background

Post by Erlenwiese » Thu Aug 31, 2017 12:08 pm

That has helped me :) . Thank's a lot.