Unplanned
Last Updated: 23 Nov 2021 11:33 by ADMIN
Simeon
Created on: 23 Nov 2021 09:36
Category: Chart
Type: Bug Report
0
Chart: [iOS] Horizontal Bar Series disappear when applying zoom and pan

Bar series disappear when applying zoom and then pan

The behavior can be reproduced in a horizontal bar series

The vertical axis is categorical, and the horizontal axis is numerical

<telerik:RadCartesianChart.ChartBehaviors>
                <telerik:ChartPanAndZoomBehavior PanMode="Vertical"
                                                 ZoomMode="Both" />
            </telerik:RadCartesianChart.ChartBehaviors>
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:CategoricalAxis />
            </telerik:RadCartesianChart.VerticalAxis>
                <telerik:RadCartesianChart.HorizontalAxis>
                    <telerik:NumericalAxis Minimum="0"
                                       ShowLabels="True"
                                       LabelFormat="N0">
                    </telerik:NumericalAxis>
                </telerik:RadCartesianChart.HorizontalAxis>
                <telerik:RadCartesianChart.Series>
                <telerik:BarSeries CategoryBinding="Category"
                                        ValueBinding="Value" 
                                        ItemsSource="{Binding Data}" />
            </telerik:RadCartesianChart.Series>

Workaround: 
Replace the axis: 
Use categorical axis for the horizontal axis and numerical axis for the vertical axis 

0 comments