Skip to content

Commit

Permalink
Merge pull request #1005 from ali50m/patch-1
Browse files Browse the repository at this point in the history
Update Generic.xaml
  • Loading branch information
beto-rodriguez committed May 10, 2023
2 parents d873caf + a9f9577 commit 6c23bff
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:local="clr-namespace:LiveChartsCore.SkiaSharpView.WPF"
xmlns:skia="clr-namespace:SkiaSharp.Views.WPF;assembly=SkiaSharp.Views.WPF">

<ControlTemplate x:Key="DefaultChartTempalte" TargetType="{x:Type local:Chart}">
<ControlTemplate x:Key="DefaultChartTemplate" TargetType="{x:Type local:Chart}">
<DockPanel LastChildFill="true" Background="{Binding Background, RelativeSource={RelativeSource AncestorType=local:Chart}}">
<!--<local:DefaultTooltip x:Name="tooltip" />-->
<!--<local:DefaultLegend x:Name="legend"
Expand All @@ -16,15 +16,15 @@
</ControlTemplate>

<Style TargetType="{x:Type local:CartesianChart}">
<Setter Property="Template" Value="{StaticResource DefaultChartTempalte}" />
<Setter Property="Template" Value="{StaticResource DefaultChartTemplate}" />
</Style>

<Style TargetType="{x:Type local:PieChart}">
<Setter Property="Template" Value="{StaticResource DefaultChartTempalte}" />
<Setter Property="Template" Value="{StaticResource DefaultChartTemplate}" />
</Style>

<Style TargetType="{x:Type local:PolarChart}">
<Setter Property="Template" Value="{StaticResource DefaultChartTempalte}" />
<Setter Property="Template" Value="{StaticResource DefaultChartTemplate}" />
</Style>

<Style TargetType="{x:Type local:GeoMap}">
Expand Down

0 comments on commit 6c23bff

Please sign in to comment.