0
我有這樣的XAML:顯示syncfusion圖表中<stacklayout>似乎不工作
<StackLayout BackgroundColor="{Binding ThemeBackgroundColor}">
<chart:SfChart>
<chart:SfChart.Title>
<chart:ChartTitle Text="Scores" />
</chart:SfChart.Title>
<chart:SfChart.PrimaryAxis>
<chart:CategoryAxis>
<chart:CategoryAxis>
</chart:CategoryAxis>
</chart:CategoryAxis>
</chart:SfChart.PrimaryAxis>
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis>
<chart:NumericalAxis>
</chart:NumericalAxis>
</chart:NumericalAxis>
</chart:SfChart.SecondaryAxis>
</chart:SfChart>
</StackLayout>
在<TableView><TableSection><ViewCell>
出現在我的圖表,但是當我把它變成一個<stacklayout>
如上面的話,我可以不再看一張圖表。
有沒有人有什麼問題可能是什麼?
它可能無法測量圖表的大小。嘗試