Legend at bottom of chart

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
srinin2k
Posts: 25
Joined: Thu Jun 18, 2015 9:22 pm

Legend at bottom of chart

Post by srinin2k » Tue Jul 28, 2015 11:30 pm

Do you support keeping legend at the bottom of the chart as shown in the attached picture? Thanks
Attachments
bar graph.png
bar graph.png (15.06 KiB) Viewed 4908 times

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

Re: Legend at bottom of chart

Post by ArctionPasi » Wed Jul 29, 2015 6:01 am

Hi,

set ViewXY.LegendBox.Position = BottomCenter

also set ViewXY.LegendBox.Offset.X = 0, and Offset.Y = 0.

Then the legendbox appears attached to the chart bottom, and centered.

You may want to give axes more space in the bottom so they don't overlap with LegendBox. Set
ViewXY.AxisLayout.AutoAdjustMargins = false, and set preferred margins in ViewXY.Margins property.
LightningChart Support Team, PT

Post Reply