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"/>
The trackball visuals are the ellipses that snap to the data points when you enable the trackball behavior and hover the plot area. If a trackball is displayed and you zoom-in (via mouse wheel) or pan (via drag), the trackball visuals stay on the proper data point as expected. However, if the zoom-in forces the corresponding data point to go outside the viewport, the trackball follows it and it doesn't get hidden (because it is outside the viewport/plot area).
To work this around, you can manually hide the Ellipse visuals.
private void RadChart_PanOffsetChanged(object sender, Telerik.Windows.Controls.ChartView.ChartPanOffsetChangedEventArgs e)
{
Dispatcher.BeginInvoke(new Action(() =>
{
var chart = (RadCartesianChart)sender;
var trackballs = chart.ChildrenOfType<Ellipse>().Where(x => x.DataContext is DataPointInfo);
foreach (Ellipse visual in trackballs)
{
var dpInfo = (DataPointInfo)visual.DataContext;
RadRect dpSlot = dpInfo.DataPoint.LayoutSlot;
if (!chart.PlotAreaClip.Contains(dpSlot.X, dpSlot.Y))
{
visual.Opacity = 0;
}
else
{
if (visual.Opacity == 0)
{
visual.Opacity = 1;
}
}
}
}));
}
NullReferenceException when MinorTicksPerMajor of the axis is set and the chart gets unloaded.
To work this around, avoid setting the MinorTIcksPerMajor property in this scenario.
The exception can be observed when you a plot data point with value that falls outside of the range of the Decimal type. As a workaround you can coerce the data before give it to the chart.
Implement a new LabelFitMode that prevents the axes labels from overlapping by increasing the LabelInteval.
Declined: This is no longer necessary after introducing the SmartLabelsMode.
I would like to be able to create a histogram where both the x and y axis are linear series and where I can specify the start and end position of each bin (not just one). Previously described workarounds include using StepLineSeries and bar series which cannot have two linear series. I cannot use a scatter plot series as they do not provide the step-wise look of the histogram. Please add this support!
The FadeOtherSeries hover mode doesn't work when the lightweight render options (Direct2D and Bitmap) are used.
You can find one way to work this around in the attached project.