Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1415
Legend Font Size
posted

I'm unable to change the font size of my legend.  I'm using the Legend control outside of the XamDataChart like so:

<ig:Legend x:Name="LegendTotal" Grid.Row="2" FontSize="30"/>

But changing the FontSize from 30 or 100 does no difference.  

Parents
  • 1400
    Offline posted

    Hello PMac,

     You can change font size of the Legend controls using the following properties:

    - TitleFontSize (sets Font size on title of legend)

    - ItemsFontSize (sets Font size on items of legend)

    We added above properties for styling Legend controls in the 2015 Volume 2 release. Here is more information on properties of Legend control.

    http://help.infragistics.com/Help/Doc/WPF/2016.1/CLR4.0/html/DataChart_Legends.html#Properties

    Also, WPF samples browser has LegendStyling sample that shows how to change these properties.

Reply Children