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>
如上面的话,我可以不再看一张图表。
有没有人有什么问题可能是什么?
它可能无法测量图表的大小。尝试