Scrollbar eats into the chart

Thread is closed for posting
4 posts, 0 answers
  1. Javier
    Javier avatar
    35 posts
    Member since:
    Aug 2011

    Posted 05 Apr 2012 Link to this post

    I created a chart with scrolling, but the scroll bar eats into the chart instead of offsetting it.  What that means is that if I have a column chart and one of the entries is 0, then the label gets cut off by the scroll bar.

    So what I've had to do is add a negative minimum to the y-axis to create a buffer which looks silly.  Especially when the chart renders without the scroll bar, then I have a blank space under the columns.

    Is there anyway around this?

    Thanks.
  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 10 Apr 2012 Link to this post

    Hi Javier,

    You can offset the label from the bar , but this might still cause problems with bars that have small values - the label might be visible, but the corresponding bar - hidden.
    What I can suggest is that you check whether the zoom is activated and extend the YAxis MinValue in that case by turning off the AutoScale property of the YAxis. Then set the needed MinValue, MaxValue and Step manually.
     
    Regards,
    Evgenia
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Javier
    Javier avatar
    35 posts
    Member since:
    Aug 2011

    Posted 10 Apr 2012 Link to this post

    Right, that's what I've already done by added a negative min value to the y-axis.  It just looks bad though, especially if not enough data is generated to show the scroll bar, then there's just a large gap at the bottom of the chart.

    Do you know if a fix is planned for this?
  5. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 11 Apr 2012 Link to this post

    Hi Javier,

    Recently our development efforts have been focused on our new Silverlight/WPF control RadChartView. We'll continue working on extending its features and functionalities and this is a very time consuming task. I forwarded your request to our developers and it's up to them to decide whether and when such fix will be released with our RadChart for ASP.NET AJAX. Unfortunately I can't provide you with any concrete timeframe for it now. 

    Greetings,
    Evgenia
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top