Workaround: Bind the UpStroke and DownStroke properties of the Candlestick via custom style (which is set to the DefaultVisualStyle property) to properties from the model. Then in the setter of the Close property, can set different color depending on whether the Close is less than Open property.
When a System.Windows.Interactivity.EventTrigger is attached to a ChartTrackBallBehavior a XamlParseException is thrown. A possible work-around for this would be to set the CommandParameter to be the parent collection of the behavior and not the behavior itself.
Workaround: The issue is caused by the MajorTickInterval property, so one way to go is to remove this setting and use the LabelInterval instead. This will plot more ticks than before, but should eliminate the label clip. If the number of ticks bothers you, you can set the MajorTickLength property of the axis to 0 (so that the ticks are not visible) and use a LabelTemplate in which you will include a label and a tick. Another, simpler, work-around is to set a right margin of the chart and set the ClipToBounds property of the chart to false.
TypeAccessException occurs in .NET Framework projects when using internal class for the data point models. The error doesn't occur in .NET 8 projects.
dsa
System.TypeAccessException: 'Attempt by method 'DynamicClass.Telerik_DynamicGetter_Argument(System.Object)' to access type 'WpfApp29.ChartPoint' failed.' at Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.PropertyNameDataPointBinding.GetValue(object instance) Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.ScatterSeriesDataSource.InitializeBinding(Telerik.Windows.Controls.ChartView.DataPointBindingEntry binding) Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.ChartSeriesDataSource.GenerateDataPoint(object dataItem, int index) Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.ChartSeriesDataSource.BindCore(System.Collections.IEnumerable source)
Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.ChartSeriesDataSource.Bind(System.Collections.IEnumerable itemSource)
Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.ChartSeriesDataSource.Rebind(System.Collections.IEnumerable oldSource, System.Collections.IEnumerable newSource, bool shouldUpdateSelectedPoints) Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.ChartSeriesDataSource.ItemsSource.set(System.Collections.IEnumerable value) Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.ChartSeries.InitDataBinding() Line Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.ScatterPointSeries.InitDataBinding() Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.ChartSeries.OnApplyTemplate() Telerik.Windows.Controls.Chart.dll!Telerik.Windows.Controls.ChartView.PointTemplateSeries.OnApplyTemplate()
To work this around, upgrade the target framework of the project to .NET 8. Or use the GenericDataPointBinding class for the binding properties of the series (XValueBinding, YValueBinding, etc.), instead of the default PropertyNameDataPointBinding.
There are fragmented join geometries when drawing the joints between line segments that create very sharp angles. The fragments are presented by wrongly drawn long ray that start from the join.
This work this around, you can set the DefaultLineVisualGeometrySelector property of the LineSeries3D.
lineSeries.DefaultLineVisualGeometrySelector = new Telerik.Windows.Controls.ChartView.Geometry3DSelector();Note that his workaround works because it removes the joints between the line segments. This prevents the origin of the problem, but it makes the line more jaggy.
Allow to track points that intercept vertical line from mouse position (as now) or points that intercept horizontal line from mouse position. So allow to choose TrackDirection = Horizontal/Vertical Thanks. marc.
Currently, RadChartView doesn't support the ChartToolTipBehavior for series that are using BitmapRenderOptions, Direct2DRenderOptions, or SkiaRenderOptions. The tooltip doesn't display.
Currently the MouseWheel event used to zoom is not handled which means that the event will bubble to the parent elements which can lead to scrolling issues. Add an option to handle the MouseWheel event when the chart zooming is enabled.
To get the desired result, you can handle the MouseWheel event of the chart manually.
private void RadCartesianChart_MouseWheel(object sender, MouseWheelEventArgs e)
{
e.Handled = true;
}
In some cases the CartesianGridLineAnnotation can be offset with a single pixel from the expected position on the axis. For example, if the annotation is positioned at value 0 and there is a tick, a offset between the tick and the annotation can be observed.
To work this around, you can manually offset the annotation by setting its Top Margin.
<telerik:CartesianGridLineAnnotation Margin="0 1 0 0"/>