mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-22 17:58:33 +08:00
项目结构调整
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<Page
|
||||
x:Class="UWP.PieChart.PieChartExample"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:UWP.PieChart"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lvc="using:LiveCharts.Uwp"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
<lvc:PieChart LegendLocation="Bottom">
|
||||
<lvc:PieChart.Series>
|
||||
<lvc:PieSeries Title="Maria" Values="{Binding Values1}" DataLabels="True" PushOut="20"
|
||||
LabelPoint="{Binding PointLabel}"/>
|
||||
<lvc:PieSeries Title="Charles" Values="{Binding Values2}" DataLabels="True"
|
||||
LabelPoint="{Binding PointLabel}"/>
|
||||
<lvc:PieSeries Title="Frida" Values="{Binding Values3}" DataLabels="True"
|
||||
LabelPoint="{Binding PointLabel}"/>
|
||||
<lvc:PieSeries Title="Frederic" Values="{Binding Values4}" DataLabels="True"
|
||||
LabelPoint="{Binding PointLabel}"/>
|
||||
</lvc:PieChart.Series>
|
||||
</lvc:PieChart>
|
||||
</Grid>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user