Missing Zero in Y-Axis range

2 posts, 0 answers
  1. Madhan
    Madhan avatar
    19 posts
    Member since:
    Aug 2012

    Posted 14 Sep 2012 Link to this post

    Hello Team,

    We are using RadChart control to show Revenue and Unit graphs.In graph we have two series like VTB and YOY and we are trying to customize the  Y-Axix scale values based on Min and Max values of VTB and YOY .We are able to get Min and Max values of VTB and YOY and set range as below.

    ChartArea chartArea = objChartArrayMTD.BarChart.DefaultView.ChartArea;
    chartArea.AxisY.AutoRange = true;

    MinVal=-56 and MaxVal=50 and Step=25

    chartArea.AxisY.AddRange(MinVal, MaxVal, step);

    Once we set values like above me are missing 0 in Y-Axis values.Can you please send me solution ASAP?


  2. Vlad
    Vlad avatar
    11100 posts

    Posted 14 Sep 2012 Link to this post


     I'm not sure how your question is related to RadGridView. Please post your question in the relevant forum category!

    All the best,
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Back to Top