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
285
How to change Treemap background color?
posted

Following code doesn't work:

<ig:XamTreemap x:Name="Treemap"
                       Background="White"
                   Margin="0"
                   LayoutType="Squarified"
                   LayoutOrientation="Horizontal">

 

Background is still white-to-gray gradient. Any suggestions?

Parents
No Data
Reply
  • 335
    Verified Answer
    posted

    Hello,

     

    Try using the DefaultStyle property:

    <ig:XamTreemap.DefaultStyle>
        <Style TargetType="ig:TreemapNode">
             <Setter Property="Fill" Value="White"/>
        </Style>
    </ig:XamTreemap.DefaultStyle>

     

    Regards,

    Boyan

Children