Multiple Y axis for Stacked bar and Line Chart.

2 posts, 0 answers
  1. Pratik
    Pratik avatar
    5 posts
    Member since:
    May 2016

    Posted 06 Jun Link to this post

    Hi,

    I'm having one chart with two type in it. one is stacked bar and other is Line Series. I want Stacked Bar chart should preferred left side Y axis value and Line series should preferred Right Side Y axis. 

    I want to show following:

    1. Both Y axis should have different value step. 

    2. Stacked bar should refer Left Y axis 

    3. Line Series should refer Right Y axis

    attached screen shot

     

        

  2. Pratik
    Pratik avatar
    5 posts
    Member since:
    May 2016

    Posted 07 Jun Link to this post

    Got answer for this... just give Axisname to line series same as addition y axis name..
    LineSeries ls2 = new LineSeries();
    AxisY axisY = new AxisY();
           axisY.Name = "VESSELS";
           axisY.NarrowRange = false;
            
           axisY.Type = Telerik.Web.UI.HtmlChart.Enums.HtmlChartValueAxisType.Numeric;
           ls2.AxisName = "VESSELS";
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top