Profile Picture

How to Show Overlap Bar graph

Posted By shweta jain 4 Years Ago
Author
Message
Nevron Support
This post has been flagged as an answer
Posted 4 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 3,054, Visits: 4,015
Hi Sweta,
You can achieve this using a second bar series with different bar width percent (the percentage it occupies from the category). For example:

   NBarSeries bar1 = new NBarSeries();
    bar1.FillStyle = new NColorFillStyle(Color.Red);

    bar1.Values.Add(10);
    bar1.Values.Add(20);
    bar1.Values.Add(30);

    chart.Series.Add(bar1);

    NBarSeries bar2 = new NBarSeries();
    bar2.WidthPercent = 50;
    bar2.FillStyle = new NColorFillStyle(Color.Blue);
    bar2.Values.Add(40);
    chart.Series.Add(bar2);

Let us know if you have any questions.

Best Regards,
Nevron Support Team



shweta jain
Question Posted 4 Years Ago
View Quick Profile
Junior Member

Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 16, Visits: 192
Hello,

I want to create overlap bar chart like in this attached snapshot. How can I achieve this?





Similar Topics


Reading This Topic