Profile Picture

How to Show Overlap Bar graph

Posted By shweta jain 5 Years Ago

How to Show Overlap Bar graph

Author
Message
shweta jain
Question Posted 5 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: 4 Years Ago
Posts: 16, Visits: 192
Hello,

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

54% of original size (was 928x139) - Click to enlarge


Nevron Support
This post has been flagged as an answer
Posted 5 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,055, Visits: 4,055
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





Similar Topics


Reading This Topic

1 active, 1 guest, 0 members, 0 anonymous.
No members currently viewing this topic!