protected override void OnSizeAllocated(double width, double height)
{
//here you can get the Height and Width of the screen or the current page
base.OnSizeAllocated(width, height);
} |
…
<chart:SfChart x:Name="chart1" HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand">
…..
</chart:SfChart>
….
<chart:SfChart x:Name="chart2" HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand">
…..
</chart:SfChart>
… |