-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainPage.xaml.cs
More file actions
57 lines (51 loc) · 1.9 KB
/
MainPage.xaml.cs
File metadata and controls
57 lines (51 loc) · 1.9 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
using Syncfusion.Maui.Charts;
namespace PolarChartSample
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
//this.BindingContext = new ViewModel();
//SfPolarChart polarChart = new SfPolarChart();
//polarChart.Title = new Label() { Text = "Plant Analysis", HorizontalTextAlignment = TextAlignment.Center };
//polarChart.Legend = new ChartLegend();
//polarChart.PrimaryAxis = new CategoryAxis();
//polarChart.SecondaryAxis = new NumericalAxis()
//{
// Maximum = 100
//};
//PolarLineSeries series1 = new PolarLineSeries()
//{
// ItemsSource = (new ViewModel()).PlantDetails,
// XBindingPath = "Direction",
// YBindingPath = "Tree",
// Label = "Tree",
// EnableTooltip = true,
// ShowDataLabels = true,
//};
//PolarLineSeries series2 = new PolarLineSeries()
//{
// ItemsSource = (new ViewModel()).PlantDetails,
// XBindingPath = "Direction",
// YBindingPath = "Weed",
// Label = "Weed",
// EnableTooltip = true,
// ShowDataLabels = true,
//};
//PolarLineSeries series3 = new PolarLineSeries()
//{
// ItemsSource = (new ViewModel()).PlantDetails,
// XBindingPath = "Direction",
// YBindingPath = "Flower",
// Label = "Flower",
// EnableTooltip = true,
// ShowDataLabels = true,
//};
//polarChart.Series.Add(series1);
//polarChart.Series.Add(series2);
//polarChart.Series.Add(series3);
//this.Content = polarChart;
}
}
}