Legend box spacing problems

Need help in implementing some specific function to your LightningChart Ultimate powered application? Post a question and get code snippets from other LightningChart Ultimate community members.

Moderator: Queue Moderators

Post Reply
chartist
Posts: 8
Joined: Fri Jan 31, 2014 3:37 pm

Legend box spacing problems

Post by chartist » Wed Feb 05, 2014 7:23 pm

The items in my legend box have too much vertical space between each item. Is there a way to change the spacing ?
I'm using the following settings -

Code: Select all

            m_chart.View3D.LegendBox.Categorization = LegendBox3DCategorization.SeriesType;
            m_chart.View3D.LegendBox.SurfaceScales.ScaleSizeDim1 = 0;
            m_chart.View3D.LegendBox.SurfaceScales.ScaleSizeDim2 = 0;
            m_chart.View3D.LegendBox.Layout =  LegendBoxLayout.Vertical ;
Thanks
screen shot of legend spacing problem
screen shot of legend spacing problem
lc.JPG (28.25 KiB) Viewed 7626 times

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

Re: Legend box spacing problems

Post by ArctionPasi » Wed Feb 05, 2014 8:00 pm

All series have equal vertical space, and now it seems your Surface series sets the space. Since it seems you don't want the surface to be visible in the legend box, set surface.Title.ShowInLegendBox = false. Then other series have shorter space.
LightningChart Support Team, PT

Post Reply