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
1800
Bubble chart- Need bubbles with no background color
posted

Hi Team,

I am trying to create a bubble chart as one of the layer in a composite chart. I was able to create it, but I need to remove the background color of the bubbles in the chart. I need the bubbles to be transparent with borders.

Regards,

Anandhavel.J

  • 26458
    Offline posted

    You can add a paint element to the XYZ series that you want to have transparent bubbles.

    XYZSeries series = new XYZSeries();
    ...
    PaintElement pe = new PaintElement();
    pe.Fill = Color.Transparent;
    pe.Stroke = Color.Black;
    series.PEs.Add(pe);

    This will give you transparent bubbles with a black stroke.