有没有办法使嵌套在 TileLayoutItem 内的 TelerikChart 成为内容的 100% 宽度?
以下不起作用,(图表在右端被剪切)
<TileLayoutItem ColSpan="2" RowSpan="2">
<Content>
<TelerikChart Width="100%" Height="100%">
<ChartSeriesItems>
<ChartSeries Type="ChartSeriesType.Line" Name="Completed" Data="@_clientDuration">
</ChartSeries>
</ChartSeriesItems>
<ChartValueAxes>
<ChartValueAxis Color="red"></ChartValueAxis>
</ChartValueAxes>
<ChartCategoryAxes>
<ChartCategoryAxis Categories="@_xAxisItems"></ChartCategoryAxis>
</ChartCategoryAxes>
</TelerikChart>
</Content>
</TileLayoutItem>