Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141397 | Dec 10,2018 08:25 AM UTC | Dec 11,2018 11:53 AM UTC | Xamarin.Forms | 3 |
![]() |
Tags: SfChart |
[C#] rangeNavigator.RangeChanged += rangeNavigator_RangeChanged;
private void rangeNavigator_RangeChanged(object sender, RangeChangedEventArgs e)
{
//Updating chart's date time range
dateTimeAxis.Minimum = e.ViewRangeStartDate;
dateTimeAxis.Maximum = e.ViewRangeEndDate;
} |
<?xml version="1.0" encoding="utf-8" ?>
xmlns:chart="clr-namespace:Syncfusion.SfChart.XForms;assembly=Syncfusion.SfChart.XForms"
xmlns:local="clr-namespace:ChartGettingStarted"
x:Class="ChartGettingStarted.Sample"
Content="{Binding Chart}"
>
<ContentPage.BindingContext>
<local:ViewModel1></local:ViewModel1>
</ContentPage.BindingContext>
<!--<ContentPage.Content>
<ContentView Content ="{Binding Chart}"></ContentView>
</ContentPage.Content>-->
</ContentPage> |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.