Skip to content

Commit 1e25e7c

Browse files
Updated the xaml code
1 parent 0a33224 commit 1e25e7c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Polar_chart_sample/PolarChartSample/MainPage.xaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<chart:SfPolarChart>
1313

1414
<chart:SfPolarChart.Title>
15-
<Label Text="Plant Analysis" HorizontalTextAlignment="Center"/>
15+
<Label Text="Plant Analysis" HorizontalTextAlignment="Center" Padding="0,20,0,0"/>
1616
</chart:SfPolarChart.Title>
1717

1818
<chart:SfPolarChart.Legend>
@@ -24,16 +24,16 @@
2424
</chart:SfPolarChart.PrimaryAxis>
2525

2626
<chart:SfPolarChart.SecondaryAxis>
27-
<chart:NumericalAxis/>
27+
<chart:NumericalAxis Maximum="100"/>
2828
</chart:SfPolarChart.SecondaryAxis>
2929

30-
<chart:PolarAreaSeries ItemsSource="{Binding PlantDetails}" XBindingPath="Direction"
30+
<chart:PolarLineSeries ItemsSource="{Binding PlantDetails}" XBindingPath="Direction"
3131
YBindingPath="Tree" Label="Tree" EnableTooltip="True" ShowDataLabels="True"/>
3232

33-
<chart:PolarAreaSeries ItemsSource="{Binding PlantDetails}" XBindingPath="Direction"
33+
<chart:PolarLineSeries ItemsSource="{Binding PlantDetails}" XBindingPath="Direction"
3434
YBindingPath="Weed" Label="Weed" EnableTooltip="True" ShowDataLabels="True"/>
3535

36-
<chart:PolarAreaSeries ItemsSource="{Binding PlantDetails}" XBindingPath="Direction"
36+
<chart:PolarLineSeries ItemsSource="{Binding PlantDetails}" XBindingPath="Direction"
3737
YBindingPath="Flower" Label="Flower" EnableTooltip="True" ShowDataLabels="True"/>
3838
</chart:SfPolarChart>
3939

0 commit comments

Comments
 (0)