I am trying to find a WPF chart control that can do what I call strip-charting.
If you know what strip-charting is I apologize now.
Let's say I set the x-axis to 100 points. I then add 10 points to the chart and they get displayed. I then add another 10 points and the chart now shows 20 points. I keep adding and adding and then when I get to over 100 points the graph just shows the last 100 points. I then hope I can manually scroll back on the graph to see the data to the left that has scrolled off the graph.
Can your chart control do this?
<telerik:RadGridView x:Name="grdData" Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="10" Margin="5" AlternationCount="2" AlternateRowBackground="LightBlue" AutoGenerateColumns="False" RowDetailsVisibilityMode="VisibleWhenSelected" ItemsSource="{Binding GridData}"> <telerik:RadGridView.Columns> <telerik:GridViewComboBoxColumn x:Name="cboGrid" ItemsSource="{Binding GridData}" Width="75"> <telerik:GridViewComboBoxColumn.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <TextBlock Text="{Binding Path=PartNo}" Margin="4,0"/> <TextBlock Text="{Binding Path=Descripton}" Margin="4,0"/> </StackPanel> </DataTemplate> </telerik:GridViewComboBoxColumn.ItemTemplate> </telerik:GridViewComboBoxColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding PartNo}" Header="Part #"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding Quantity}" Header="Quantity"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding Descripton}" Header="Descripton"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding Markup}" Header="Markup" TextAlignment="Right"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding LineCost}" Header="Line Cost" TextAlignment="Right"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding CustomerCost}" Header="Customer Cost" TextAlignment="Right"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding LineList}" Header="Line List" TextAlignment="Right"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding ExtendedPrice}" Header="Extended Price" TextAlignment="Right"/> </telerik:RadGridView.Columns> </telerik:RadGridView>RangeList oRangeList = new RangeList();double nextRangeMinimum = 0; foreach ( QualitativeRange oRange in _ViewModel.BulletGraphRanges ){ RadialRange oRadialRange = new RadialRange(); oRadialRange.Min = nextRangeMinimum; oRadialRange.Max = nextRangeMinimum = oRange.Value; oRadialRange.BorderBrush = oRange.Brush; oRangeList.Add( oRadialRange );}I am trying to mask out negative numbers while using RadMaskedNumericInput. There was a thread on setting ext:MaskedInputExtensions.minimum="0" and that works great for us. We have about 50 RadMaskedNumericInput instances, so I added the following to our style resource xaml for RadMaskedNumericInput:
<Setter Property="ext:MaskedInputExtensions.Minimum" Value="0" />
I am now getting the following exception:
{"'Set property 'System.Windows.Setter.Property' threw an exception.' Line number '1423' and line position '10'."}
{"Value cannot be null.\r\nParameter name: property"}
Can this property be in the style resource XAML? If so, how should that be specified? Any advise would be appreciated.
Thanks,
-Milt