-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCartesianCategory.xaml
More file actions
25 lines (21 loc) · 1.28 KB
/
CartesianCategory.xaml
File metadata and controls
25 lines (21 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="utf-8" ?>
<chart:SfCartesianChart xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:chart="clr-namespace:Syncfusion.Maui.Toolkit.Charts;assembly=Syncfusion.Maui.Toolkit"
xmlns:local="clr-namespace:ChartGenerator"
x:Class="ChartGenerator.CartesianCategory" x:DataType="local:ChartConfig"
Source="{Binding Series}" XAxis="{Binding XAxis}" YAxis="{Binding YAxis}" EnableSideBySideSeriesPlacement="{Binding SideBySidePlacement}">
<chart:SfCartesianChart.Title>
<Label Text="{Binding Title}" HorizontalOptions="Center" HorizontalTextAlignment="Center"/>
</chart:SfCartesianChart.Title>
<chart:SfCartesianChart.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<local:ChartResources />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</chart:SfCartesianChart.Resources>
<chart:SfCartesianChart.Legend>
<chart:ChartLegend IsVisible="{Binding ShowLegend}" Placement="Bottom" ToggleSeriesVisibility="True"/>
</chart:SfCartesianChart.Legend>
</chart:SfCartesianChart>