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
2165
XamFunnelChart slice background color
posted

Hi, I have a problem with changing the background color. I have used the http://es.infragistics.com/community/forums/t/84972.aspx site help and it is working for the Pie and Doughnut charts but for the funnel is not working.

Can you help me?

Parents
No Data
Reply
  • 34810
    Verified Answer
    Offline posted

    Hello Michael,

    One option to color the individual slices is to set the Brushes property on the FunnelChart.

    To do this, I created a BrushCollection and added 5 colors to it. Then I set FunnelChart1.Brushes = MyBrushCollection. Keep in mind that the color at the index of the brush collection will be proportionate to the index of the data source that you are using. In other words, BrushCollection[1] will be the color of the funnel chart slice for FunnelChartDataSource[1].

    I have attached the sample demonstrating the above.

    Please let me know if you have any questions or concerns.

    Sincerely,
    Andrew
    Developer Support I
    Infragistics Inc.
    www.infragistics.com/support

    XamFunnelBackgroundCase.zip
Children