2 posts, 0 answers
  1. Nidhi
    Nidhi avatar
    19 posts
    Member since:
    Jun 2011

    Posted 08 Nov 2011 Link to this post


    I want to show only day intervals. Can u please share any sample code.
    Thanks in advance.


  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 10 Nov 2011 Link to this post

    Hello Nidhi,
    In case you want to show only the day interval in the timeBar, you should simply add only the day interval to the intervals collection of the control. For example:
        PeriodStart="1-Oct-2010 12:00:00 AM" PeriodEnd="1-April-2011 12:11:00 AM"
        VisiblePeriodStart="1-Dec-2010" VisiblePeriodEnd="15-Jan-2011"
        SelectionStart="20-Dec-2010 12:03:00 AM" SelectionEnd="27-Dec-2010  12:04:00 AM">
             <telerik:DayInterval />
          <telerik:RadLinearSparkline LineStroke="#FF767676" LineShapeStyle="{StaticResource SparklineLineStyle}" ItemsSource="{Binding FlightReports, ElementName=viewModel}" XValuePath="TimeStamp" YValuePath="FlightCount" Margin="0,3" />

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top