Hey,
I tried getting a around, creating custom template and style for the crosshair labels, however nothing gets displayed.
Could you point me in the right direction with a simple demo? E.g vertical label being a red circle with the text written in black.
Thanks in advance
<Style TargetType="telerik:GridViewRow" x:Key="OrderItemStyle" BasedOn="{StaticResource GridViewRowStyle}"> <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True" /> <Setter Property="telerik:DragDropManager.TouchDragTrigger" Value="TapAndHold"/>
</Style>Hi! First of all I bag your pardon for my poor English. I'm very interested in using ChartView control for building charts displaying information in real-time. I write a WPF C# application that is reading (in real-time) data slices (via COM-port) from ultrasonic flowmeter for gas conduit and (after reading every data slice) drawing (in real-time) line chart from data of this slice. So I have two questions:
1) Can I use ChartView for drawing of those charts in real-time?
2) What is the maximal time-resolution of ChartView? Does it has time-resolution in microseconds (that is it can executes drawing of chart in time-interval of tens of fmicroseconds) or in milliseconds only?
Today I discovered the following file in my build folder: Telerik.Windows.Data.dll
Upon further research, I discovered that this file is listed as a dependency for RadMap:
http://docs.telerik.com/devtools/wpf/installation-and-deployment/deploying-telerik-ui/installation-installing-dependencies-wpf.html
I have 3 projects using the map and only one has this file in the build folder. Two are using WPF 4.5 and one is using WPF 4.0. I've been sending out the installations for years without this file and haven't had a problem. Can you explain why this file is needed? Also any idea why it is only just now showing up for this one project?
These are the two files I am actually referencing:
C:\Program Files (x86)\Telerik\UI for WPF\Binaries.NoXaml\WPF45\Telerik.Windows.Controls.DataVisualization.dll
C:\Program Files (x86)\Telerik\UI for WPF\Binaries.NoXaml\WPF45\Telerik.Windows.Controls.dll
If "Full Row" selection unit is used, and particular field has an error, the row header displays an error icon summarizing the errors when hovered over (see attached "error - full row selection unit.jpg"). This is not the case when "Cell" is the selection unit (see "error - cell selection unit.jpg").
Do I need to set something to enable the same behavior, or is this a bug?
I am using trial version (2015.3.1104.45)
Hi,
Right now,we are able to do copy/paste for cells in the grid view.Do we have the similar functionality for cut/paste in the gridview?
If so, could you provide us the sample code?
Hi,
I'm trying to make a bar chart with long text of categories, so I wrapped them all by the following code
xaml
<Grid SizeChanged="Grid_SizeChanged"> <telerik:RadCartesianChart Grid.Row="0" x:Name="ChartSeries" > <telerik:RadCartesianChart.HorizontalAxis> <telerik:CategoricalAxis ClipToBounds="False" HorizontalLocation="Right" SmartLabelsMode="SmartStep" IsStepRecalculationOnZoomEnabled="True"> <telerik:CategoricalAxis.LabelTemplate> <DataTemplate> <TextBlock TextWrapping="Wrap" MaxWidth="{Binding ElementName=Self, Path=MaxWidthTextBlock}" Text="{Binding}" /> </DataTemplate> </telerik:CategoricalAxis.LabelTemplate> </telerik:CategoricalAxis> </telerik:RadCartesianChart.HorizontalAxis> <telerik:RadCartesianChart.VerticalAxis> <telerik:LinearAxis Minimum="0" RangeExtendDirection="Positive" SmartLabelsMode="SmartStep" > </telerik:LinearAxis> </telerik:RadCartesianChart.VerticalAxis> <telerik:BarSeries ShowLabels="False" ClipToPlotArea="False"> <telerik:BarSeries.DataPoints> <telerik:CategoricalDataPoint Category="TextTextTextTextTextTextText" Value="2" /> <telerik:CategoricalDataPoint Category="TextTextTextTextTextTextTextTextText" Value="5" /> <telerik:CategoricalDataPoint Category="TextTextTextTextTextTextTextTextTextText" Value="3" /> <telerik:CategoricalDataPoint Category="TextTextTextText" Value="10" /> <telerik:CategoricalDataPoint Category="TextTextTextTextTextTextTextTextTextTextTextTextText" Value="9" /> <telerik:CategoricalDataPoint Category="TextTextTextText" Value="7" /> <telerik:CategoricalDataPoint Category="TextTextTextText" Value="1" /> </telerik:BarSeries.DataPoints> </telerik:BarSeries> <telerik:RadCartesianChart.Grid> <telerik:CartesianChartGrid MajorLinesVisibility="Y" x:Name="Line"> <telerik:CartesianChartGrid.MajorYLineStyle> <Style TargetType="Line"> <Setter Property="Stroke" Value="DarkGray"/> </Style> </telerik:CartesianChartGrid.MajorYLineStyle> </telerik:CartesianChartGrid> </telerik:RadCartesianChart.Grid> </telerik:RadCartesianChart> </Grid>As you can see, I have a method to recalculate the maxwidth of textblock when the container's size is change(Grid) as the following code behind
private void Grid_SizeChanged(object sender, SizeChangedEventArgs e) { if(e.PreviousSize.Width != 0) { var ratio = e.NewSize.Width / e.PreviousSize.Width; MaxWidthTextBlock *= ratio; } }
I'm running into various issues with buggy behaviour between row and cell selection units. To start with, when cell is in view mode and SelectionUnit="FullRow", pressing "Enter" keys moves to the cell below ... perfect! However, if SelectionUnit="Cell" pressing "Enter" does nothing. Is this a known bug? I wired up a custom keyboard command provider to see what commands are being generated, and sure enough, I see 3 commands queued up: Activate, MoveDown, and Select the current unit. However, they are not actually invoked, or fail at some point, if they are invoked.
This behaves as expected when cell is in edit mode.