Scratch bar chart to show full label

2 posts, 0 answers
  1. Oleg
    Oleg avatar
    10 posts
    Member since:
    Aug 2012

    Posted 04 Sep 2013 Link to this post

    Sorry for mistake in title -  "stretch".
    I use horizontal bar chart to display data. I want to show value of point after the bar, often label is long because i use currency characters after. Here is my code:
    <telerikChart:RadCartesianChart >
        <telerikChart:RadCartesianChart.HorizontalAxis >
            <telerikChart:LinearAxis ShowLabels="False" />
        </telerikChart:RadCartesianChart.HorizontalAxis>
        <telerikChart:RadCartesianChart.VerticalAxis>
            <telerikChart:CategoricalAxis/>
        </telerikChart:RadCartesianChart.VerticalAxis>
        <telerikChart:BarSeries ShowLabels="True">
          <charting:CategoricalDataPoint Value="400000" Category="asdasda2" Label="12313 usd"/>
        </telerikChart:BarSeries>
    </telerikChart:RadCartesianChart>
    unfortunately, chart draws full bars but cuts off long labels (see picture).
    How can i avoid this cutting?
  2. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 09 Sep 2013 Link to this post

    Hello Oleg,

    Thanks for writing and for your question.

    A possible option is to put the Chart in a ScrollViewer and allow your users to scroll to see the labels.

    Regards,
    Deyan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top