We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to show a particular range of data when the chart is loaded?

Thread ID:

Created:

Updated:

Platform:

Replies:

115174 Jan 2,2014 12:37 AM Jan 8,2014 01:29 AM WinRT 1
loading
Tags: General
Karthikeyan V [Syncfusion]
Asked On January 8, 2014 01:29 AM

Hi Mary,

Thanks for using Syncfusion products.

We have analysed the reported requirement. You can achieve your requirement by setting ZoomFactor and ZoomPosition as your zoom values.

Code Snippet [XAML]:

        <chart:SfChart>

            <chart:SfChart.Behaviors>

                <chart:ChartZoomPanBehavior  EnablePanning="True" />

            </chart:SfChart.Behaviors>

            <chart:SfChart.PrimaryAxis>

                <chart:CategoryAxis  ZoomFactor="0.8" ZoomPosition="0.8" Header="X (Meter)" />

            </chart:SfChart.PrimaryAxis>

            <chart:SfChart.SecondaryAxis>

                <chart:NumericalAxis Header="Elevation (Meter)" />

            </chart:SfChart.SecondaryAxis>

            <chart:BarSeries   XBindingPath="X"   YBindingPath="Elevation" ItemsSource="{Binding Products}">

            </chart:BarSeries>

        </chart:SfChart>

Please let us know if you have any query.

Thanks,

Karthikeyan V.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;