-
Notifications
You must be signed in to change notification settings - Fork 12
/
SamplesConfiguration.cs
1335 lines (1077 loc) · 58.2 KB
/
SamplesConfiguration.cs
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#region Copyright Syncfusion Inc. 2001-2024.
// Copyright Syncfusion Inc. 2001-2024. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using Syncfusion.DemosCommon.WinUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Syncfusion.ChartDemos.WinUI
{
public class SamplesConfiguration
{
public SamplesConfiguration()
{
#region Cartesian Chart
#region Column Chart
DemoInfo columnSamples = new DemoInfo()
{
Name = "Column",
Category = "Basic Charts",
DemoType = DemoTypes.None,
Description= "This sample showcases a column chart that uses vertical bars to display different values or data points.",
};
DemoInfo columnChartSample = new DemoInfo()
{
Name = "Default column",
Category = "Basic Charts",
DemoView = typeof(Views.ColumnChart),
ShowInfoPanel = true,
};
List<Documentation> columnChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ColumnSeries.html")},
new Documentation(){ Content = "Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/column")},
};
columnChartSample.Documentation.AddRange(columnChartDocumentation);
DemoInfo columnWidthSample = new DemoInfo()
{
Name = "Column spacing",
Category = "Basic Charts",
DemoView = typeof(Views.ColumnWidthCustomization),
};
DemoInfo columnRoundedCornerSample = new DemoInfo()
{
Name = "Column with rounded corners",
Category = "Basic Charts",
DemoView = typeof(Views.ColumnRoundedEdges),
};
List<DemoInfo> subColumnDemos = new List<DemoInfo>();
subColumnDemos.Add(columnChartSample);
subColumnDemos.Add(columnRoundedCornerSample);
subColumnDemos.Add(columnWidthSample);
columnSamples.SubCategoryDemos = subColumnDemos;
#endregion
#region Bar Chart
DemoInfo barSamples = new DemoInfo()
{
Name = "Bar",
Category = "Basic Charts",
DemoType = DemoTypes.None,
Description= "This sample demonstrates a bar chart utilizing horizontal columns to showcase various data points."
};
DemoInfo barChartSample = new DemoInfo()
{
Name = "Default bar",
Category = "Basic Charts",
DemoView = typeof(Views.BarChart),
ShowInfoPanel= true,
};
List<Documentation> barChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ColumnSeries.html")},
new Documentation(){ Content = "Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/column")},
};
barChartSample.Documentation.AddRange(barChartDocumentation);
DemoInfo barWidthSample = new DemoInfo()
{
Name = "Bar spacing",
Category = "Basic Charts",
DemoView = typeof(Views.BarWidthCustomization),
};
DemoInfo barRoundedCornerSample = new DemoInfo()
{
Name = "Bar with rounded corners",
Category = "Basic Charts",
DemoView = typeof(Views.BarRoundedEdge),
};
List<DemoInfo> subBarDemos = new List<DemoInfo>();
subBarDemos.Add(barChartSample);
subBarDemos.Add(barRoundedCornerSample);
subBarDemos.Add(barWidthSample);
barSamples.SubCategoryDemos = subBarDemos;
#endregion
#region Line Chart
DemoInfo lineSamples = new DemoInfo()
{
Name = "Line",
Category = "Basic Charts",
DemoType = DemoTypes.None,
Description= "This sample showcases line chart which represents the data trends at equal intervals by connecting points on a plot with straight lines."
};
DemoInfo lineChartSample = new DemoInfo()
{
Name = "Default line",
Category = "Basic Charts",
DemoView = typeof(Views.LineChart),
ShowInfoPanel = true
};
List<Documentation> lineChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.LineSeries.html")},
new Documentation(){ Content = "Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/line")},
};
lineChartSample.Documentation.AddRange(lineChartDocumentation);
DemoInfo linewithDashesSample = new DemoInfo()
{
Name = "Line with dashes",
Category = "Basic Charts",
DemoView = typeof(Views.DashedLineChart),
};
List<DemoInfo> subLineDemos = new List<DemoInfo>();
subLineDemos.Add(lineChartSample);
subLineDemos.Add(linewithDashesSample);
lineSamples.SubCategoryDemos = subLineDemos;
#endregion
#region Area Chart
DemoInfo areaChartSample = new DemoInfo()
{
Name = "Area",
Category = "Basic Charts",
DemoType = DemoTypes.None,
DemoView = typeof(Views.AreaChart),
ShowInfoPanel = true
};
List<Documentation> areaChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.AreaSeries.html")},
new Documentation(){ Content = "Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/area")},
};
areaChartSample.Documentation.AddRange(areaChartDocumentation);
#endregion
#region Bubble
DemoInfo bubbleSamples = new DemoInfo()
{
Name = "Bubble",
Category = "Basic Charts",
DemoType = DemoTypes.None,
Description= "This sample showcases a bubble chart, which is an extension of the scatter chart, where each data point is represented by a circle."
};
DemoInfo bubbleChartSample = new DemoInfo()
{
Name = "Default bubble",
Category = "Basic Charts",
DemoView = typeof(Views.BubbleChart),
ShowInfoPanel = true
};
List<Documentation> bubbleChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Bubble Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.BubbleSeries.html")},
new Documentation(){ Content = "Bubble Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/bubble")},
};
bubbleChartSample.Documentation.AddRange(bubbleChartDocumentation);
DemoInfo gradientBubbleSample = new DemoInfo()
{
Name = "Bubble filled with gradient",
Category = "Basic Charts",
DemoView = typeof(Views.MultipleColorBubbleSeries),
};
List<DemoInfo> subbubbleDemos = new List<DemoInfo>();
subbubbleDemos.Add(bubbleChartSample);
subbubbleDemos.Add(gradientBubbleSample);
bubbleSamples.SubCategoryDemos = subbubbleDemos;
#endregion
#region Scatter
DemoInfo scatterSamples = new DemoInfo()
{
Name = "Scatter",
Category = "Basic Charts",
DemoType = DemoTypes.None,
};
DemoInfo scatterChartSample = new DemoInfo()
{
Name = "Default scatter",
Category = "Basic Charts",
DemoView = typeof(Views.ScatterChart),
ShowInfoPanel = true
};
List<Documentation> scatterChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Scatter Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ScatterSeries.html")},
new Documentation(){ Content = "Scatter Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/scatter")},
};
scatterChartSample.Documentation.AddRange(scatterChartDocumentation);
DemoInfo customScatterSample = new DemoInfo()
{
Name = "Customized scatter",
Category = "Basic Charts",
DemoView = typeof(Views.CustomScatterSeries),
};
List<DemoInfo> subScatterDemos = new List<DemoInfo>();
subScatterDemos.Add(scatterChartSample);
subScatterDemos.Add(customScatterSample);
scatterSamples.SubCategoryDemos = subScatterDemos;
#endregion
#region Spline Chart
DemoInfo splineSamples = new DemoInfo()
{
Name = "Spline",
Category = "Basic Charts",
DemoType = DemoTypes.None,
Description= "This sample showcases a spline chart that connects two data points using curves instead of straight lines."
};
DemoInfo splineChartSample = new DemoInfo()
{
Name = "Default spline",
Category = "Basic Charts",
DemoView = typeof(Views.SplineChart),
ShowInfoPanel = true
};
List<Documentation> splineChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Spline Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.SplineSeries.html")},
new Documentation(){ Content = "Spline Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/line#spline-chart")},
};
splineChartSample.Documentation.AddRange(splineChartDocumentation);
DemoInfo splinewithDashesSample = new DemoInfo()
{
Name = "Spline with dashes",
Category = "Basic Charts",
DemoView = typeof(Views.DashedSplineChart),
};
DemoInfo customSplineSample = new DemoInfo()
{
Name = "Customized spline",
Category = "Basic Charts",
DemoView = typeof(Views.CustomSplineSeries),
};
List<DemoInfo> subSplineDemos = new List<DemoInfo>();
subSplineDemos.Add(splineChartSample);
subSplineDemos.Add(splinewithDashesSample);
subSplineDemos.Add(customSplineSample);
splineSamples.SubCategoryDemos = subSplineDemos;
#endregion
#region Spline Area
DemoInfo splineAreaChartSample = new DemoInfo()
{
Name = "Spline Area",
Category = "Basic Charts",
DemoType = DemoTypes.None,
DemoView = typeof(Views.SplineAreaChart),
ShowInfoPanel = true
};
List<Documentation> splineAreaChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Spline Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.SplineAreaSeries.html")},
new Documentation(){ Content = "Spline Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/area#spline-area-chart")},
};
splineAreaChartSample.Documentation.AddRange(splineAreaChartDocumentation);
#endregion
#region Step Line Chart
DemoInfo stepLineSamples = new DemoInfo()
{
Name = "Step Line",
Category = "Basic Charts",
DemoType = DemoTypes.None,
Description= "This sample showcases a step line chart that connects data points using horizontal and vertical lines, resulting in a step-like progression."
};
DemoInfo steplineChartSample = new DemoInfo()
{
Name = "Default step line",
Category = "Basic Charts",
DemoView = typeof(Views.StepLineChart),
ShowInfoPanel = true
};
List<Documentation> steplineChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Step Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.StepLineSeries.html")},
new Documentation(){ Content = "Step Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/line#step-line-chart")},
};
steplineChartSample.Documentation.AddRange(steplineChartDocumentation);
DemoInfo steplinewithDashesSample = new DemoInfo()
{
Name = "Step line with dashes",
Category = "Basic Charts",
DemoView = typeof(Views.DottedStepLine),
};
DemoInfo VerticalsteplineSample = new DemoInfo()
{
Name = "Vertical step line",
Category = "Basic Charts",
DemoView = typeof(Views.VerticalStepLine),
};
List<DemoInfo> subStepLineDemos = new List<DemoInfo>();
subStepLineDemos.Add(steplineChartSample);
subStepLineDemos.Add(steplinewithDashesSample);
stepLineSamples.SubCategoryDemos = subStepLineDemos;
#endregion
#region Step Area
DemoInfo stepAreaChartSample = new DemoInfo()
{
Name = "Step Area",
Category = "Basic Charts",
DemoType = DemoTypes.None,
DemoView = typeof(Views.StepAreaChart),
ShowInfoPanel = true
};
List<Documentation> stepAreaChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Step Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.StepAreaSeries.html")},
new Documentation(){ Content = "Step Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/area#step-area-chart")},
};
stepAreaChartSample.Documentation.AddRange(stepAreaChartDocumentation);
#endregion
#region Fast Charts
DemoInfo fastChartSamples = new DemoInfo()
{
Name = "Fast Charts",
Category = "Basic Charts",
DemoType = DemoTypes.None,
};
DemoInfo fastLineSample = new DemoInfo()
{
Name = "Fast line",
Category = "Basic Charts",
DemoView = typeof(Views.FastLineChart),
ShowInfoPanel = true
};
List<Documentation> fastLineChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Fast Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.FastLineSeries.html")},
new Documentation(){ Content = "Fast Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/fastcharts/fast-line")},
};
fastLineSample.Documentation.AddRange(fastLineChartDocumentation);
DemoInfo fastStepLineSample = new DemoInfo()
{
Name = "Fast step line",
Category = "Basic Charts",
DemoView = typeof(Views.FastStepLineChart),
ShowInfoPanel = true
};
List<Documentation> fastStepLineChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Fast Step Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.FastStepLineBitmapSeries.html")},
new Documentation(){ Content = "Fast Step Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/fastcharts/fast-stepline")},
};
fastStepLineSample.Documentation.AddRange(fastStepLineChartDocumentation);
DemoInfo fastScatterSample = new DemoInfo()
{
Name = "Fast scatter",
Category = "Basic Charts",
DemoView = typeof(Views.FastScatterChart),
ShowInfoPanel = true
};
List<Documentation> fastScatterChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Fast Scatter Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.FastScatterBitmapSeries.html")},
new Documentation(){ Content = "Fast Scatter Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/fastcharts/fast-scatter")},
};
fastScatterSample.Documentation.AddRange(fastScatterChartDocumentation);
DemoInfo fastColumnSample = new DemoInfo()
{
Name = "Fast column",
Category = "Basic Charts",
DemoView = typeof(Views.FastColumnChart),
ShowInfoPanel = true
};
List<Documentation> fastColumnChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Fast Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.FastColumnBitmapSeries.html")},
new Documentation(){ Content = "Fast Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/fastcharts/fast-column")},
};
fastColumnSample.Documentation.AddRange(fastColumnChartDocumentation);
List<DemoInfo> subFastChartsDemos = new List<DemoInfo>();
subFastChartsDemos.Add(fastColumnSample);
subFastChartsDemos.Add(fastLineSample);
subFastChartsDemos.Add(fastStepLineSample);
subFastChartsDemos.Add(fastScatterSample);
fastChartSamples.SubCategoryDemos = subFastChartsDemos;
#endregion
#region Stacked Charts
DemoInfo stackedChartSamples = new DemoInfo()
{
Name = "Stacked Charts",
Category = "Basic Charts",
DemoType = DemoTypes.None,
};
DemoInfo stackedAreaSample = new DemoInfo()
{
Name = "Stacked area",
Category = "Basic Charts",
DemoView = typeof(Views.StackingAreaChart),
ShowInfoPanel = true
};
List<Documentation> stackedAreaChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.StackedAreaSeries.html")},
new Documentation(){ Content = "Stacked Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/stacked#stacked-area-chart")},
};
stackedAreaSample.Documentation.AddRange(stackedAreaChartDocumentation);
DemoInfo stackedColumnSample = new DemoInfo()
{
Name = "Stacked column",
Category = "Basic Charts",
DemoView = typeof(Views.StackingColumnChart),
ShowInfoPanel = true
};
List<Documentation> stackedColumnChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.StackedColumnSeries.html")},
new Documentation(){ Content = "Stacked Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/stacked#stacked-column-chart")},
};
stackedColumnSample.Documentation.AddRange(stackedColumnChartDocumentation);
DemoInfo stackedLineSample = new DemoInfo()
{
Name = "Stacked line",
Category = "Basic Charts",
DemoView = typeof(Views.StackingLineChart),
ShowInfoPanel = true
};
List<Documentation> stackedLineChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.StackedLineSeries.html")},
new Documentation(){ Content = "Stacked Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/stacked#stacked-line-chart")},
};
stackedLineSample.Documentation.AddRange(stackedLineChartDocumentation);
DemoInfo stackedGroupSample = new DemoInfo()
{
Name = "Stacked group",
Category = "Basic Charts",
DemoView = typeof(Views.Grouping),
ShowInfoPanel = true
};
List<Documentation> stackedGroupDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Grouping API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.StackedSeriesBase.html#Syncfusion_UI_Xaml_Charts_StackedSeriesBase_GroupName")},
new Documentation(){ Content = "Grouping Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/groupingstacked")},
};
stackedGroupSample.Documentation.AddRange(stackedGroupDocumentation);
List<DemoInfo> subStackedChartsDemos = new List<DemoInfo>();
subStackedChartsDemos.Add(stackedColumnSample);
subStackedChartsDemos.Add(stackedLineSample);
subStackedChartsDemos.Add(stackedAreaSample);
subStackedChartsDemos.Add(stackedGroupSample);
stackedChartSamples.SubCategoryDemos = subStackedChartsDemos;
#endregion
#region 100% Stacked Chart
DemoInfo stacked100ChartSamples = new DemoInfo()
{
Name = "100% Stacked Charts",
Category = "Basic Charts",
DemoType = DemoTypes.None,
};
DemoInfo stackedArea100Sample = new DemoInfo()
{
Name = "100% stacked area",
Category = "Basic Charts",
DemoView = typeof(Views.StackingArea100Chart),
ShowInfoPanel = true
};
List<Documentation> stackedArea100ChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Area 100 Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.StackedArea100Series.html")},
new Documentation(){ Content = "Stacked Area 100 Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/stacked100#stacked-area-100-chart")},
};
stackedArea100Sample.Documentation.AddRange(stackedArea100ChartDocumentation);
DemoInfo stackedColumn100Sample = new DemoInfo()
{
Name = "100% stacked column",
Category = "Basic Charts",
DemoView = typeof(Views.StackingColumn100Chart),
ShowInfoPanel = true
};
List<Documentation> stackedColumn100ChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Column 100 Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.StackedColumn100Series.html")},
new Documentation(){ Content = "Stacked Column 100 Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/stacked100#stacked-column-100-chart")},
};
stackedColumn100Sample.Documentation.AddRange(stackedColumn100ChartDocumentation);
DemoInfo stackedLine100Sample = new DemoInfo()
{
Name = "100% stacked line",
Category = "Basic Charts",
DemoView = typeof(Views.StackingLine100Chart),
ShowInfoPanel = true
};
List<Documentation> stackedLine100ChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Line 100 Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.StackedLine100Series.html")},
new Documentation(){ Content = "Stacked Line 100 Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/stacked100#stacked-line-100-chart")},
};
stackedLine100Sample.Documentation.AddRange(stackedLine100ChartDocumentation);
List<DemoInfo> substacked100ChartDemos = new List<DemoInfo>();
substacked100ChartDemos.Add(stackedColumn100Sample);
substacked100ChartDemos.Add(stackedArea100Sample);
substacked100ChartDemos.Add(stackedLine100Sample);
stacked100ChartSamples.SubCategoryDemos = substacked100ChartDemos;
#endregion
#region Interactive Feautures
// Crosshair
DemoInfo crossHairSample = new DemoInfo()
{
Name = "Crosshair",
Category = "Interaction",
DemoType = DemoTypes.None,
DemoView = typeof(Views.Crosshair),
ShowInfoPanel = true
};
List<Documentation> crosshairDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Crosshair API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ChartCrosshairBehavior.html")},
new Documentation(){ Content = "Crosshair Documentation", Uri = new Uri("https://help.syncfusion.com/winui/chart/interactive-features/crosshair")},
};
crossHairSample.Documentation.AddRange(crosshairDocumentation);
//Tooltip
DemoInfo tooltipSample = new DemoInfo()
{
Name = "Tooltip",
Category = "Interaction",
DemoType = DemoTypes.None,
DemoView = typeof(Views.Tooltip),
ShowInfoPanel = true
};
List<Documentation> tooltipDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Tooltip API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ChartTooltipBehavior.html")},
new Documentation(){ Content = "Cartesian Chart Tooltip Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/tooltip")},
};
tooltipSample.Documentation.AddRange(tooltipDocumentation);
// Trackball
DemoInfo trackballSample = new DemoInfo()
{
Name = "Trackball",
Category = "Interaction",
DemoType = DemoTypes.None,
DemoView = typeof(Views.Trackball),
ShowInfoPanel = true
};
List<Documentation> trackballDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Trackball API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ChartTrackballBehavior.html")},
new Documentation(){ Content = "Trackball Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/trackball")},
};
trackballSample.Documentation.AddRange(trackballDocumentation);
// Selection
DemoInfo cartesianSelectionSamples = new DemoInfo()
{
Name = "Selection",
Category = "Interaction",
DemoType = DemoTypes.None,
Description= "This sample showcases selection behavior which allows you to select either a data point or series based on the segment or series selection."
};
DemoInfo dataPointSelectionSample = new DemoInfo()
{
Name = "Data point selection",
Category = "Interaction",
DemoView = typeof(Views.DataPointSelection),
ShowInfoPanel = true
};
List<Documentation> dataPointSelectionDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "DataPoint Selection API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.DataPointSelectionBehavior.html")},
new Documentation(){ Content = "DataPoint Selection Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/selection#enable-datapoint-selection")},
};
dataPointSelectionSample.Documentation.AddRange(dataPointSelectionDocumentation);
DemoInfo seriesSelectionSample = new DemoInfo()
{
Name = "Series selection",
Category = "Interaction",
DemoView = typeof(Views.SeriesSelection),
ShowInfoPanel= true
};
List<Documentation> seriesSelectionDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Series Selection API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.SeriesSelectionBehavior.html")},
new Documentation(){ Content = "Series Selection Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/selection#enable-series-selection")},
};
seriesSelectionSample.Documentation.AddRange(seriesSelectionDocumentation);
List<DemoInfo> subSelectionDemos = new List<DemoInfo>();
subSelectionDemos.Add(dataPointSelectionSample);
subSelectionDemos.Add(seriesSelectionSample);
cartesianSelectionSamples.SubCategoryDemos = subSelectionDemos;
//Zooming and Panning
DemoInfo zoomingSample = new DemoInfo()
{
Name = "Zooming and Panning",
Category = "Interaction",
DemoType = DemoTypes.None,
DemoView = typeof(Views.ZoomPanBehavior),
ShowInfoPanel = true
};
List<Documentation> zoomingDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Zooming and Panning API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ChartZoomPanBehavior.html")},
new Documentation(){ Content = "Zooming and Panning Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/zooming-and-panning")},
};
zoomingSample.Documentation.AddRange(zoomingDocumentation);
#endregion
#region Legend
DemoInfo cartesianLegendToggleSample = new DemoInfo()
{
Name = "Default Legend",
Category = "Legend",
DemoType = DemoTypes.None,
DemoView = typeof(Views.CartesianLegendToggle),
ShowInfoPanel=true,
Description= "This sample showcases the toggled legend, which allows individuals to enable or disable series by tapping on the legend."
};
List<Documentation> cartesianLegendToggleDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Legend API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ChartLegend.html")},
new Documentation(){ Content = "Cartesian Chart Legend Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/legend")},
};
cartesianLegendToggleSample.Documentation.AddRange(cartesianLegendToggleDocumentation);
DemoInfo cartesianLegendSample = new DemoInfo()
{
Name = "Customized Legend",
Category = "Legend",
DemoType = DemoTypes.None,
DemoView = typeof(Views.Cartesian_Legend),
ShowInfoPanel = true,
Description= "This sample showcases the customized legend, which allows individuals to personalize both its appearance and content to suit their preferences."
};
List<Documentation> cartesianLegendDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Legend Template API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ChartLegend.html#Syncfusion_UI_Xaml_Charts_ChartLegend_ItemTemplate")},
new Documentation(){ Content = "Cartesian Chart Legend Template Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/legend#template")},
};
cartesianLegendSample.Documentation.AddRange(cartesianLegendDocumentation);
#endregion
#region Axis
DemoInfo categorySample = new DemoInfo()
{
Name = "Category",
Category = "Axis",
DemoType = DemoTypes.None,
DemoView = typeof(Views.CategoryAxis),
ShowInfoPanel = true,
Description= "This sample showcases the category axis, which plots values based on the index of the data point collection."
};
List<Documentation> categoryDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Category Axis API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.CategoryAxis.html?tabs=tabid-1%2Ctabid-3%2Ctabid-5")},
new Documentation(){ Content = "Category Axis Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/axis/types#category-axis")},
};
categorySample.Documentation.AddRange(categoryDocumentation);
DemoInfo numericalSample = new DemoInfo()
{
Name = "Numerical",
Category = "Axis",
DemoType = DemoTypes.None,
DemoView = typeof(Views.NumericalAxis),
ShowInfoPanel = true,
Description= "This sample showcases the numerical axis, which is used to display a range of numerical values for data analysis and comparison."
};
List<Documentation> numericalDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Numerical Axis API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.NumericalAxis.html")},
new Documentation(){ Content = "Numerical Axis Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/axis/types#numerical-axis")},
};
numericalSample.Documentation.AddRange(numericalDocumentation);
DemoInfo dateTimeSample = new DemoInfo()
{
Name = "Date Time",
Category = "Axis",
DemoType = DemoTypes.None,
DemoView = typeof(Views.DateTimeAxis),
ShowInfoPanel = true,
Description= "This sample showcases the date-time axis, which is used to plot and visualize DateTime values."
};
List<Documentation> dateTimeDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "DateTime Axis API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.DateTimeAxis.html")},
new Documentation(){ Content = "DateTime Axis Documentation", Uri = new Uri("https://help.syncfusion.com/winui/cartesian-charts/axis/types#datetime-axis")},
};
dateTimeSample.Documentation.AddRange(dateTimeDocumentation);
#endregion
#endregion
#region Circular Charts
#region Pie
DemoInfo pieSamples = new DemoInfo()
{
Name = "Pie",
Category = "Circular Charts",
DemoType = DemoTypes.None,
};
DemoInfo pieChartSample = new DemoInfo()
{
Name = "Default pie",
Category = "Circular Charts",
DemoView = typeof(Views.PieChart),
ShowInfoPanel = true
};
List<Documentation> pieChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Pie Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.PieSeries.html")},
new Documentation(){ Content = "Pie Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/circular-charts/piechart")},
};
pieChartSample.Documentation.AddRange(pieChartDocumentation);
DemoInfo semiPieSample = new DemoInfo()
{
Name = "Semi-pie",
Category = "Circular Charts",
DemoView = typeof(Views.SemiPieChart),
ShowInfoPanel = true
};
List<Documentation> semiPieChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Semi Pie Documentation", Uri = new Uri("https://help.syncfusion.com/winui/circular-charts/piechart#semi-pie")},
};
semiPieSample.Documentation.AddRange(semiPieChartDocumentation);
List<DemoInfo> subPieDemos = new List<DemoInfo>();
subPieDemos.Add(pieChartSample);
subPieDemos.Add(semiPieSample);
pieSamples.SubCategoryDemos = subPieDemos;
#endregion
#region Doughnut
DemoInfo doughnutSamples = new DemoInfo()
{
Name = "Doughnut",
Category = "Circular Charts",
DemoType = DemoTypes.None,
};
DemoInfo doughnutChartSample = new DemoInfo()
{
Name = "Default doughnut",
Category = "Circular Charts",
DemoView = typeof(Views.DoughnutChart),
ShowInfoPanel = true
};
List<Documentation> doughnutChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Doughnut Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.DoughnutSeries.html")},
new Documentation(){ Content = "Doughnut Series Documentation", Uri = new Uri("https://help.syncfusion.com/winui/circular-charts/doughnutchart")},
};
doughnutChartSample.Documentation.AddRange(doughnutChartDocumentation);
DemoInfo semiDoughnutSample = new DemoInfo()
{
Name = "Semi-doughnut",
Category = "Circular Charts",
DemoView = typeof(Views.SemiDoughnutChart),
ShowInfoPanel = true
};
List<Documentation> semidoughnutChartDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Semi Doughnut Documentation", Uri = new Uri("https://help.syncfusion.com/winui/circular-charts/doughnutchart#semi-doughnut")},
};
semiDoughnutSample.Documentation.AddRange(semidoughnutChartDocumentation);
List<DemoInfo> subdoughnutDemos = new List<DemoInfo>();
subdoughnutDemos.Add(doughnutChartSample);
subdoughnutDemos.Add(semiDoughnutSample);
doughnutSamples.SubCategoryDemos = subdoughnutDemos;
#endregion
#region Interaction
DemoInfo interactionSamples = new DemoInfo()
{
Name = "Interaction",
Category = "Circular Charts",
DemoType = DemoTypes.None,
Description= "This sample showcases interactive features such as tooltips and selections, which enhance user experience and facilitate data point interaction."
};
DemoInfo circularTooltipSample = new DemoInfo()
{
Name = "Tooltip",
Category = "Circular Charts",
DemoView = typeof(Views.CircularTooltip),
ShowInfoPanel = true
};
List<Documentation> circularTooltipDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Tooltip API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ChartTooltipBehavior.html")},
new Documentation(){ Content = "Circular Chart Tooltip Documentation", Uri = new Uri("https://help.syncfusion.com/winui/circular-charts/tooltip")},
};
circularTooltipSample.Documentation.AddRange(circularTooltipDocumentation);
DemoInfo circularSelectionSample = new DemoInfo()
{
Name = "Selection",
Category = "Circular Charts",
DemoView = typeof(Views.CircularSelection),
ShowInfoPanel = true
};
List<Documentation> circularSelectionDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Selection API Reference", Uri = new Uri("https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Charts.ChartSelectionBehavior.html")},
new Documentation(){ Content = "Circular Chart Selection Documentation", Uri = new Uri("https://help.syncfusion.com/winui/circular-charts/selection")},
};
circularSelectionSample.Documentation.AddRange(circularSelectionDocumentation);
List<DemoInfo> subInteractionDemos = new List<DemoInfo>();
subInteractionDemos.Add(circularTooltipSample);
subInteractionDemos.Add(circularSelectionSample);
interactionSamples.SubCategoryDemos = subInteractionDemos;
#endregion
#region Legend
DemoInfo legendSamples = new DemoInfo()
{
Name = "Legend",
Category = "Circular Charts",
DemoType = DemoTypes.None,
Description= "This sample showcases the legend, which provides information about the data points."
};
DemoInfo circularLegendToggleSample = new DemoInfo()
{
Name = "Default legend ",
Category = "Circular Charts",
DemoView = typeof(Views.CircularLegendToggle),