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
3220
XamDataChart Legend has no border anymore v17.2 (DarkMetroTheme)
posted

Hello,

I upgraded from v16.1 to 17.2 and recognized that there is no legend border anymore for the DarkMetroTheme. Is this as designed or a malfunction?

Furthermore, how can I add that border again?

  • 6120
    Offline posted

    Hello Markus,

    You were correct, there is no Legend border by default for XamDataChart in 17.2. We have removed it in 16.2. You can read more about this change in our online 16.2 breaking changes page. However, the border can be added very easily by setting the BorderThickness for Legend. For example, you can do something like this:

     <ig:Legend   BorderBrush="Black"
                           BorderThickness="0.25" x:Name="lll">


    Please let me know if I may be of the further assistance.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer