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
950
2D Area chart transparent series
posted

I have an area chart where one of the series (yellow) is in front and has larger values than another series (one on the bottom - supposed to be blue) and therefore completely hides it. If Yellow series hides both blue and green series you can't really tell which one is which because they both appear brownish. Is there any way to ensure that the largest series goes to the back or maybe change transparency values of the series so that they show up better?

Parents
No Data
Reply
  • 17605
    posted

    You can make the colors transparent with: 

    this.ultraChart1.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomSkin;

    PaintElement pe = new PaintElement(Color.Red);

    pe.FillOpacity = 50;

    this.ultraChart1.ColorModel.Skin.PEs.Add(pe);

     

    pe = new PaintElement(Color.Green);

    pe.FillOpacity = 50;

    this.ultraChart1.ColorModel.Skin.PEs.Add(pe);

     

    pe = new PaintElement(Color.Blue);

    pe.FillOpacity = 50;

    this.ultraChart1.ColorModel.Skin.PEs.Add(pe);

    Also you can try using StackArea chart in your case.

Children
No Data