BarSeries Linear Axis

3 posts, 1 answers
  1. Charlie
    Charlie avatar
    13 posts
    Member since:
    Apr 2013

    Posted 07 Nov 2013 Link to this post

    How can I display a BarSeries with a linear axis on the horizontal?

    My application needs to display columns along an x axis that is fixed from 0 to 100.
  2. Answer
    Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 12 Nov 2013 Link to this post

    Hello Charlie,

    You can use a scatter point series with a point template that looks exactly like a Bar Series, i.e. having a Linear Horizontal Axis.
     For the purpose you can render the scatter points as lines originating from the X axis with Width set per your own scenario needs:
    <telerik:ScatterPointSeries.PointTemplate>
     
                 <DataTemplate>
     
                            <Canvas Width="2" Height="2">
     
                                <Rectangle Width="2" Height="2000" Fill="Blue"/>
     
                            </Canvas>
     
                 </DataTemplate>
     
    </telerik:ScatterPointSeries.PointTemplate>

    Let me know how this works for you and whether you need any further assistance.

    Regards,
    Evgenia
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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. UI for WPF is Visual Studio 2017 Ready
  4. Charlie
    Charlie avatar
    13 posts
    Member since:
    Apr 2013

    Posted 14 Nov 2013 Link to this post

    Thank you, this works as needed.
Back to Top