Skip to content

Commit

Permalink
Updated the legend label style
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 b584ab7 commit 5821500
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
<chart:SfCartesianChart>

<chart:SfCartesianChart.Legend>
<chart:ChartLegend ToggleSeriesVisibility="True"/>
<chart:ChartLegend>
<chart:ChartLegend.LabelStyle>
<chart:ChartLegendLabelStyle TextColor="{AppThemeBinding Light=Black,Dark=White}"/>
</chart:ChartLegend.LabelStyle>
</chart:ChartLegend>
</chart:SfCartesianChart.Legend>

<chart:SfCartesianChart.Title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
</chart:SfCircularChart.Title>

<chart:SfCircularChart.Legend>
<chart:ChartLegend/>
<chart:ChartLegend>
<chart:ChartLegend.LabelStyle>
<chart:ChartLegendLabelStyle TextColor="{AppThemeBinding Light=Black,Dark=White}"/>
</chart:ChartLegend.LabelStyle>
</chart:ChartLegend>
</chart:SfCircularChart.Legend>

<chart:SfCircularChart.Series>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

<chart:SfFunnelChart.Legend>
<chart:ChartLegend Placement="Bottom">
<chart:ChartLegend.LabelStyle>
<chart:ChartLegendLabelStyle TextColor="{AppThemeBinding Light=Black,Dark=White}"/>
</chart:ChartLegend.LabelStyle>
</chart:ChartLegend>
</chart:SfFunnelChart.Legend>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
</chart:SfPyramidChart.DataLabelSettings>

<chart:SfPyramidChart.Legend>
<chart:ChartLegend/>
<chart:ChartLegend>
<chart:ChartLegend.LabelStyle>
<chart:ChartLegendLabelStyle TextColor="{AppThemeBinding Light=Black,Dark=White}"/>
</chart:ChartLegend.LabelStyle>
</chart:ChartLegend>
</chart:SfPyramidChart.Legend>

<chart:SfPyramidChart.Title>
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" EnableTooltip="True">
InnerRadius="0.2">

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

0 comments on commit 5821500

Please sign in to comment.