This is a migrated thread and some comments may be shown as answers.

Timebar graft shows to many data points

2 Answers 58 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 1
Phil asked on 27 Jun 2011, 02:39 PM
Hi All,

I am using a Silverlight Timebar that populates via RIA. The returned data contains two points but when the TimeBar is rendered it populates more than expected
Any idea?

          XAML
            <telerik:RadTimeBar x:Name="TimeBar" Grid.Row="1" IsSnapToIntervalEnabled="True" 
    			PeriodEnd="{Binding TimelinePeriodEnd, Mode=TwoWay}" PeriodStart="{Binding TimelinePeriodStart, Mode=TwoWay}"
    			SelectionEnd="{Binding TimelineSelectionEnd, Mode=TwoWay}" SelectionStart="{Binding TimelineSelectionStart, Mode=TwoWay}"
    			VisiblePeriodEnd="{Binding TimelineVisibleSelectionEnd, Mode=TwoWay}" VisiblePeriodStart="{Binding TimelineVisibleSelectionStart, Mode=TwoWay}" 
                                Background="{x:Null}" BorderBrush="#FFD8D4D4" Foreground="#FF7066F3" Style="{StaticResource RadTimeBarStyle1}" BorderThickness="2">
                <telerik:RadTimeBar.Intervals>
                    <telerik:YearInterval/>
                    <telerik:MonthInterval/>
                </telerik:RadTimeBar.Intervals>
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="SelectionChanged">
                        <cmd:EventToCommand Command="{Binding LoadBusinessCommand}"/>
                    </i:EventTrigger>
                </i:Interaction.Triggers>
                <telerik:RadAreaSparkline ItemsSource="{Binding NewPartCountHistory}" Margin="0,8"
    				XValuePath="MonthStart" YValuePath="NewPartCount" EmptyPointBehavior="DropPoint"  ShowHighPointIndicators="True" Foreground="{x:Null}" NegativeAreaFill="{x:Null}" PositiveAreaStroke="#FF0039BE" NegativePointBrush="#FF0039BE">
                    <telerik:RadAreaSparkline.PositiveAreaFill>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF0039BE"/>
                            <GradientStop Color="White" Offset="1"/>
                            <GradientStop Color="#FF6F9FFF" Offset="0.605"/>
                        </LinearGradientBrush>
                    </telerik:RadAreaSparkline.PositiveAreaFill>
                </telerik:RadAreaSparkline>
            </telerik:RadTimeBar>


Result from RIA call


Rendered control

2 Answers, 1 is accepted

Sort by
0
Phil
Top achievements
Rank 1
answered on 28 Jun 2011, 11:04 AM
Anyone from Telerik willing to support this forum????
0
Accepted
Missing User
answered on 30 Jun 2011, 12:19 PM
Hi Phil,

Our records indicate, that this post is identical to the formal ticket which you have opened on the same matter. In order to avoid duplicate posts, we can continue our communication in the formal ticket in question.

Greetings,
Polina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TimeBar
Asked by
Phil
Top achievements
Rank 1
Answers by
Phil
Top achievements
Rank 1
Missing User
Share this question
or