Hi,
I'm evaluating ChartView3D and Telerik UI for a project. We are going to visualise drill holes using it. A hole typically starts at the surface and goes into the ground. My attempt to achieve this was to rotate the whole graph 180 degrees, but doing so rotates also all labels and axis titles, see screendump :(
Is there any other way I can achieve this? Or can I rotate the graph without rotating the labels/titles? Or could I counter rotate them? Any tips would be appreciated.
Kind regards,
Karl-Petter
We have a RadTreeListView where the IsExpanded property of the rows is bound to a property on row objects. Sometimes, some of the expander triangles in the RadTreeListView look expanded, but their children are not visible. Any idea what might be causing this or how to fix it?
The attached image shows a small example. The third row looks like it's expanded, but its child is not shown. If you click the triangle, it collapses it; and if you click it again, it's then expanded properly with the child shown.
Hi,
How can I set the background color (in XAML) of a NumericUpDown control when IsReadOnly is set to true ? I tried using a style but without succes ...
Regards,
Hans
Hi,
I'm using in GridView to keep the input away from unexpected errors. But I encountered a tiny defect. The error messages only display when mouse hovering on the top-right corner (it's a red small triangle out there). This makes the user a little trouble when checking the message because he has to move his mouse in a pretty accurate location. In fact, users usually prefer to get the error tip when the mouse enters the cell. there any methods to implement this?
Thank you!
I wish to make a RangdSpline series with a gradient. Similar to what is done in the SurfaceSeries3D
Is this possible in 2D?
This is a difficult one, I think. If you look at one of the attached screenshots, some of the labels are adjacent to the axis as they should be, but some are quite distant. Sometimes they will all be correct except a few, sometimes they are all fine, and sometimes they are all wrong.
The problem seems to especially manifest when that the chart is bound to changes, and the new values on the labels are not included in the original values. For example the first screenshot has values at each 100 step, and when the data point changes from 400 to 200, the x100 values which were already on the axis are correct but the new x50 values are placed incorrectly. It isn't that straightforward of course... for example, often labels which weren't there originally are added fine.
The chart is fairly basic. It is a single fixed series bound to a list of data point objects. When we change the data we completely replace the list rather than try to use an observable collection.
<
telerik:RadCartesianChart
x:Name
=
"Chart"
BorderThickness
=
"1"
>
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:CategoricalAxis
PlotMode
=
"OnTicksPadded"
SmartLabelsMode
=
"SmartStep"
/>
</
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LinearAxis
Title
=
"{Binding VerticalLabel}"
Minimum
=
"0"
SmartLabelsMode
=
"SmartStepAndRange"
LabelTemplate
=
"{StaticResource VerticalAxisLabelTemplate}"
/>
</
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:RadCartesianChart.Series
>
<
telerik:BarSeries
x:Name
=
"barSeries"
ItemsSource
=
"{Binding SeriesData}"
CategoryBinding
=
"XValue"
ValueBinding
=
"YValue"
>
<
telerik:BarSeries.DefaultVisualStyle
>
<
Style
TargetType
=
"Border"
>
<!--The data context here is the data point, but we need to bind to properties of the visualizer,
which is the data context of the series (presenter) which contains it -->
<
Setter
Property
=
"Background"
Value
=
"{Binding Presenter.DataContext.Fill}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{Binding Presenter.DataContext.Color}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"2"
/>
</
Style
>
</
telerik:BarSeries.DefaultVisualStyle
>
</
telerik:BarSeries
>
</
telerik:RadCartesianChart.Series
>
</
telerik:RadCartesianChart
>
public static List<T> Filter<T>(IList<T> items, string filter) where T : new() { var result = new List<T>(); try { var editor = new RadExpressionEditor(); editor.Item = new T(); Expression exprResult; var isSuccess = editor.TryParse(filter, out exprResult); if (isSuccess) { var expr1 = (Expression<Func<T, bool>>)exprResult; var func = expr1.Compile(); result = items.Where(func).ToList(); } } catch (Exception) { } return result; }regards,