Floating Stacked Bar

2 posts, 0 answers
  1. Anas
    Anas avatar
    3 posts
    Member since:
    Aug 2012

    Posted 16 Jan 2014 Link to this post

    Hi Team,

    I have a requirement on the floating stacked bar chart can this be done in Kendo? Please see the attached PNG file. I need to create a chart similar to the attached. It would be great helpful if you could provide with an example.

    This has to be done through MVC4 application.

    Regards,
    Anas
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 17 Jan 2014 Link to this post

    Hi Anas,

    I have already replied to the same question in your support ticket, however I am pasting my answer here too:

    This scenario is not supported by Kendo UI Chart. As a possible workaround I can suggest adding an additional series with a transparent color and without border:
    @(Html.Kendo().Chart()
      //....
      .Series(series => {
         series.Column(new double[] { 40, 32, 34, 36, 45, 33, 34, 83, 36, 37, 44, 37, 35, 36, 46 }).Name("Additioanl Series").Color("transparent").Border(b=>b.Width(0));
         series.Column(new double[] { 40, 32, 34, 36, 45, 33, 34, 83, 36, 37, 44, 37, 35, 36, 46 }).Name("First Series");
      })
    )

    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top