Chart AxisY label problem

2 posts, 0 answers
  1. devster
    devster avatar
    19 posts
    Member since:
    Oct 2009

    Posted 26 Nov 2009 Link to this post

    I have a question about chart.
    When we link our list to the chart and we configure the Yaxis, with :
    VermogenChart.DefaultView.ChartArea.AxisY.AutoRange = false
                    VermogenChart.DefaultView.ChartArea.AxisY.MinorTicksVisibility = Visibility.Collapsed; 
                    VermogenChart.DefaultView.ChartArea.AxisY.MinValue = 0; 
                    var step = 400 / 5; 
                    VermogenChart.DefaultView.ChartArea.AxisY.Step = step; 
                    VermogenChart.DefaultView.ChartArea.AxisY.ExtendDirection = AxisExtendDirection.None; 
                    VermogenChart.DefaultView.ChartArea.AxisY.MaxValue = 400; 

    we always get result like picture1 the first time we load the chart, and a little later when we load it again , we get picture2 like it is supposed to be. How can we solve this?
  2. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 01 Dec 2009 Link to this post

    Hi dev,

    Instead of setting MinValue, MaxValue and Step, please, refer to the AddRange method.

    Sincerely yours,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top