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
1120
gradient color background
posted

Hi,
Can xamChart have a gradient color background?  I did not any example in the  xamFeatureBrowser.
Thanks!

 

 

  • 69686
    posted

    Hello,

    There is no reason not to be able to display gradient color for background.

    Here is a screenshot of this and the xaml code:

     

    <igCA:XamChart x:Name="XamChart1">

                <igCA:XamChart.Background>

                    <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">

                        <GradientStop Color="GhostWhite" Offset="0"/>

                        <GradientStop Color="BlanchedAlmond" Offset="1"/>

                    </LinearGradientBrush>

                </igCA:XamChart.Background>

                ...