Add support for axis with multi-level categories
Declined as a duplicate of: https://feedback.telerik.com/wpf/1351027-chartview-add-support-for-axis-with-multi-level-categories
This exception reproduces if the Behaviors collection is not empty. The exception could be reproduced also in other cases when a behavior UI tries to update. Available in LIB version: 2017.2.605
Office2016, Office2016Touch, Material ChartPalettes are now available for Silverlight. Available in LIB version: 2017.2.605
If you visualize the horizontal grid lines and use CartesianCustomLineAnnotation to differentiate the 0 horizontal line, the annotation is rendered above the 0 grid line. The annotation should be snapped to the 0 thick of the vertical axis. As a workaround CartesianGridLineAnnotation could be used.
Implement polygon line annotation in the PolarChart
If you use SmartLabelsStrategy in combination with LabelDefinitions to enlarge the font of the labels. Then some labels are overlapping.
The CartesianGridLineAnnotation's label is not displayed initially when it uses a LabelDefinition with custom Template. The annotation displays after resize of the chart (or after another layout pass). Subscribe for PanOffsetChanged event of the chart control and reset the LabelDefinition of the annotations if they just appeared in the viewport. Here is an example for a possible appraoch for achieveing this: private bool isInVisibleRange = false; void chart_PanOffsetChanged(object sender, ChartPanOffsetChangedEventArgs e) { foreach (CartesianGridLineAnnotation annotation in this.chart.Annotations) { if (double.Parse(annotation.Value.ToString()) >= this.verticalAxis.ActualVisibleRange.Minimum && double.Parse(annotation.Value.ToString()) <= this.verticalAxis.ActualVisibleRange.Maximum) { if (!this.isInVisibleRange) { // code below resets the label definition of the annotation which triggers an update of its layout var definition = annotation.LabelDefinition; annotation.LabelDefinition = new ChartAnnotationLabelDefinition(); annotation.LabelDefinition = definition; this.isInVisibleRange = true; } } else { this.isInVisibleRange = false; } } }
This behavior is expected. This allows for a legend to be customized so that the legend items can control the visibility of the series. For reference see this example http://demos.telerik.com/silverlight/#ChartView/LargeData. The legend items have been retemplated so that the legend item contains a toggle button, which controls the visibility of a series. In order to be able to make a series Visible, the toggle button has to be visible, which in turn means that the legend item has to be Visible. If you need to have the legend item hidden, when the series is not visible, you can use a custom legend item template. In the template you can bind its visibility to the Visibility of the series presenter: Visibility="{Binding Presenter.Visibility}". An alternative is to set the LegendSettings property to null when the Visibility is Collapsed, you can use a Converter for this purpose.
MaxRangeSpan is not reflected by the mouse wheel. The chart continues to zoom despite of having the MaxRangeSpan set. COMPLETED: With 2015 Q1 the chart will have a MinZoom property which will make it possible to specify the maximum the chart can be zoom out.
MaximumRangeSpan is not initially respected from the chart. Only the PanZoomBar is. Use chart's Zoom property in order to workaround it. COMPLETED: With 2015 Q1 the chart will have a MinZoom property which will make it possible to specify the maximum the chart can be zoom out.
Available in LIB version: 2014.3.1124
When the Visibility of a PanZoomBar is set to Collapsed and the RadChartView is resized, and then the Visibility is set back to Visible, the PanZoomBar doesn't show.
If setting the LegendSettings from within a style, a memory leak may occur when the series is removed from the chart (for instance this happens when refreshing the source of the ChartSeriesProvider). A work-around is to set the LegendSettings through an attached property so that each series has its own LegendSettings: <Setter Property="local:ChartUtilities.LegendTitle" Value="some title" />
Labels are incorrectly positioned when using SmartLabelsStrategy, BarSeries and a ChartSeriesLabelDefinition without Margin. A work-around is to set a Margin different than 0.
Bar series, legend and palette. Exception when changing the ItemsSource