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
230
Is it possible to build a chart with grid boxes in different colours?
posted

Hi,

I have a requirement to build a chart as the attached image. I am clueless where to start.
I tried putting the img as background image but it would fill the whole chart. I want it to fil only part of the chart and then put a scattar chart layer on top.

Any suggestions / help is welcome.

-Anish

 

  • 26458
    Offline posted

    If you want to use a background image for the plotting area only, use the following:

    PaintElement pe = new PaintElement();
    pe.ElementType = PaintElementType.Image;
    pe.FillImage = myImage;
    //or pe.ImagePath = myImagePathString;
    chart.Axis.PE = pe;

    Alternatively, you can use a heatmap layer to create a similar background that is data-driven.