3 Answers, 1 is accepted
0
Hello Sam,
Can you clarify which chart you are using RadChart or RadCartesianChart?
Note that the RadCartesianChart is displaying the panzoombar (the scrollbar) only for the main axes (the ones set on the Vertical/HorizontalAxis property of the chart). If you don't have a main axis set the panzoombar won't be displayed.
Also, there is a feature request for multiple axes with separate panzoombars logged in our feedback portal. You can also check the IndividualAxisZooming SDK example.
Regards,
Author nickname
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Regards,
Martin Ivanov
Progress Telerik
Can you clarify which chart you are using RadChart or RadCartesianChart?
Note that the RadCartesianChart is displaying the panzoombar (the scrollbar) only for the main axes (the ones set on the Vertical/HorizontalAxis property of the chart). If you don't have a main axis set the panzoombar won't be displayed.
Also, there is a feature request for multiple axes with separate panzoombars logged in our feedback portal. You can also check the IndividualAxisZooming SDK example.
Regards,
Author nickname
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Houssem
Top achievements
Rank 1
answered on 29 Sep 2017, 12:58 PM
Ok then while setting the vertical axis in Telerik.Windows.Controls.ChartView.CartesianSeries, the panzoombar (the scrollbar) is not shown at all. It there a way to display it?
Thanks
0
Hello Sam,
Yes, you can display the zoombar if you set also the VerticalAxis of the RadCartesianChart. If you don't want to see the chart's vertical axis you can set its ElementBrush property to Transparent. Here is an example in code:
Regards,
Martin Ivanov
Progress Telerik
Yes, you can display the zoombar if you set also the VerticalAxis of the RadCartesianChart. If you don't want to see the chart's vertical axis you can set its ElementBrush property to Transparent. Here is an example in code:
<
telerik:RadCartesianChart
>
<
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LinearAxis
ElementBrush
=
"Transparent"
/>
</
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:CategoricalAxis
/>
</
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:RadCartesianChart.Behaviors
>
<
telerik:ChartPanAndZoomBehavior
ZoomMode
=
"Both"
/>
</
telerik:RadCartesianChart.Behaviors
>
<
telerik:AreaSeries
>
<
telerik:AreaSeries.VerticalAxis
>
<
telerik:LinearAxis
/>
</
telerik:AreaSeries.VerticalAxis
>
<
telerik:AreaSeries.DataPoints
>
<
telerik:CategoricalDataPoint
Value
=
"20"
/>
<
telerik:CategoricalDataPoint
Value
=
"40"
/>
<
telerik:CategoricalDataPoint
Value
=
"35"
/>
<
telerik:CategoricalDataPoint
Value
=
"40"
/>
<
telerik:CategoricalDataPoint
Value
=
"30"
/>
<
telerik:CategoricalDataPoint
Value
=
"50"
/>
</
telerik:AreaSeries.DataPoints
>
</
telerik:AreaSeries
>
</
telerik:RadCartesianChart
>
Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.