Hi support team,
The sfdatagrid is updated async but not the sfchart.
The attachfile contains two situation :
Failed : Red line
Success : Green line
Class Page_A : ContentPage{
void btn_Calculate_Clicked(object sender, EventArgs e)
{
MessagingCenter.Send(this, "IpCal" , viewModel); //The ViewModel class will handle it in async.
Navigation.PushAsync(new Page_B(viewModel)); //Navigate to Page B with current viewModel. (See the Failed.jpg)
//navDrawer_Calculate.ToggleDrawer(); //Toggle panel and show the data on the same page(See the Success.jpg)
}
}
Class Page_B : ContentPage{
ViewModel viewModel;
public Page_B(ViewModel vm){
BindingContext = viewModel = vm;
}
}
Attachment:
SfChart_Not_Updated_a1a10480.rar