Skip to content

Commit

Permalink
Chart_Sample
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Sep 19, 2024
1 parent fb69243 commit 59e973c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<local:ChartViewModel/>
</ContentPage.BindingContext>

<chart:SfCartesianChart>
<chart:SfCartesianChart Margin="0,20,0,0">

<chart:SfCartesianChart.Legend>
<chart:ChartLegend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<ContentPage.BindingContext>
<local:ChartViewModel/>
</ContentPage.BindingContext>
<chart:SfCircularChart>

<chart:SfCircularChart Margin="0,20,0,0">

<chart:SfCircularChart.Title>
<Label Text="Sales by a Salesperson" Margin="0,0,6,10" HorizontalOptions="Fill"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<chart:SfFunnelChart ItemsSource="{Binding FunnelData}" XBindingPath="XValue" YBindingPath="YValue"
ShowDataLabels="True" PaletteBrushes="{Binding PaletteBrushes}"
StrokeWidth="2" Stroke="White" EnableTooltip="True">
StrokeWidth="2" Stroke="White" EnableTooltip="True" Margin="0,20,0,0">

<chart:SfFunnelChart.Title>
<Label Text="Website Conversion Rate" HorizontalOptions="Fill" HorizontalTextAlignment="Center" VerticalOptions="Center" FontSize="16" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<chart:SfPyramidChart ItemsSource="{Binding PyramidData}" XBindingPath="XValue" YBindingPath="YValue"
PaletteBrushes="{Binding PaletteBrushes}" StrokeWidth="2" Stroke="White"
EnableTooltip="True" ShowDataLabels="True" LegendIcon="SeriesType">
EnableTooltip="True" ShowDataLabels="True" LegendIcon="SeriesType" Margin="0,20,0,0">

<chart:SfPyramidChart.DataLabelSettings>
<chart:PyramidDataLabelSettings UseSeriesPalette="False">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<chart:SfSunburstChart x:Name="sunburstChart" ItemsSource="{Binding SunburstData}"
ValueMemberPath="Sales" ShowLabels="True" PaletteBrushes="{Binding CustomBrush}"
InnerRadius="0.2">
InnerRadius="0.2" Margin="0,20,0,0">

<chart:SfSunburstChart.Title>
<Label Text="Visual Perspective of Sales Performance"
Expand Down

0 comments on commit 59e973c

Please sign in to comment.