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
155
Image as background for xamChart
posted

Is there a way to make an image file the background of a chart? I'd like to set a transparency level of the chart to be able to see the image behind. I'd want to make sure I could set the background of the legend and labels so they could be seen.

Parents
No Data
Reply
  • 9836
    Suggested Answer
    posted

    Hi,

    You can use a VisualBrush in order to set the Background to an Image like this :

    <igCA:XamChart.Background>
                    <VisualBrush>
                              <VisualBrush.Visual>
                                       <Image Source="1.jpg" />
                              </VisualBrush.Visual>
                    </VisualBrush>
    </igCA:XamChart.Background>

    I hope this helps

    Vlad

Children
No Data