-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathChartDemosViewModel.cs
1875 lines (1508 loc) · 131 KB
/
ChartDemosViewModel.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
// [email protected]. Any infringement will be prosecuted under
// applicable laws.
#endregion
using syncfusion.demoscommon.wpf;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace syncfusion.chartdemos.wpf
{
public class ChartDemosViewModel : DemoBrowserViewModel
{
public override List<ProductDemo> GetDemosDetails()
{
var productdemos = new List<ProductDemo>();
productdemos.Add(new ChartProductDemos());
productdemos.Add(new Three_DChartProductDemos());
productdemos.Add(new SFDateTimeRangeNavigatorDemo());
return productdemos;
}
}
public class ChartProductDemos : ProductDemo
{
public ChartProductDemos()
{
this.Product = "Charts";
this.ProductCategory = "CHARTS";
this.ListViewImagePathData = new System.Windows.Shapes.Path()
{
Data = Geometry.Parse("M9.62127 0.515047C9.35337 0.448073 9.0819 0.610953 9.01493 0.87885C8.94795 1.14675 9.11084 1.41822 9.37873 1.48519L10.1502 1.67805L2.25718 6.06304C2.01579 6.19715 1.92881 6.50155 2.06292 6.74294C2.19703 6.98433 2.50143 7.0713 2.74282 6.9372L10.6192 2.56144L10.359 3.342C10.2717 3.60398 10.4132 3.88714 10.6752 3.97446C10.9372 4.06178 11.2204 3.9202 11.3077 3.65823L11.9738 1.66C12.0172 1.53127 12.0083 1.38541 11.9371 1.2573C11.8762 1.1477 11.7802 1.06994 11.6709 1.03024C11.6547 1.02435 11.6382 1.01927 11.6213 1.01505M9.62127 0.515047L11.6198 1.01469L9.62127 0.515047ZM0.5 2.00012C0.776142 2.00012 1 2.22398 1 2.50012V12.5001C1 12.7763 1.22386 13.0001 1.5 13.0001H13C13.2761 13.0001 13.5 13.224 13.5 13.5001C13.5 13.7763 13.2761 14.0001 13 14.0001H1.5C0.671573 14.0001 0 13.3285 0 12.5001V2.50012C0 2.22398 0.223858 2.00012 0.5 2.00012ZM3.5 9.00012C3.77614 9.00012 4 9.22398 4 9.50012V11.5001C4 11.7763 3.77614 12.0001 3.5 12.0001C3.22386 12.0001 3 11.7763 3 11.5001V9.50012C3 9.22398 3.22386 9.00012 3.5 9.00012ZM7 7.50012C7 7.22398 6.77614 7.00012 6.5 7.00012C6.22386 7.00012 6 7.22398 6 7.50012V11.5001C6 11.7763 6.22386 12.0001 6.5 12.0001C6.77614 12.0001 7 11.7763 7 11.5001V7.50012ZM9.5 5.00012C9.77614 5.00012 10 5.22398 10 5.50012V11.5001C10 11.7763 9.77614 12.0001 9.5 12.0001C9.22386 12.0001 9 11.7763 9 11.5001V5.50012C9 5.22398 9.22386 5.00012 9.5 5.00012ZM13 5.50012C13 5.22398 12.7761 5.00012 12.5 5.00012C12.2239 5.00012 12 5.22398 12 5.50012V11.5001C12 11.7763 12.2239 12.0001 12.5 12.0001C12.7761 12.0001 13 11.7763 13 11.5001V5.50012Z"),
Width = 14,
Height = 14,
};
this.IsHighlighted = true;
this.HeaderImageSource = new BitmapImage(new Uri(@"/syncfusion.demoscommon.wpf;component/Assets/ProductCategoryImages/Charts.png", UriKind.RelativeOrAbsolute));
this.ControlDescription = "The Chart provides a perfect way to visualize data with a high level of user interactivity. It also provides a variety of charting features that can be used to visualize large quantities of data.";
this.Demos = new List<DemoInfo>();
this.GalleryViewImageSource = new BitmapImage(new Uri(@"/syncfusion.demoscommon.wpf;component/Assets/GalleryViewImages/Charts.png", UriKind.RelativeOrAbsolute));
#region Basic charts
#region Column
DemoInfo columnDemo = new DemoInfo()
{
SampleName = "Column",
GroupName = "Basic Charts",
WhatsNewDescription= "This sample showcases a column chart that uses vertical bars to display different values or data points.",
};
DemoInfo columnChartSample = new DemoInfo() { SampleName = "Default column", GroupName = "Basic Charts", Description = "This column chart showcases the trends in population growth percentages of different countries.", DemoViewType = typeof(DefaultColumn) };
List<Documentation> columnChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.ColumnSeries.html#") },
new Documentation(){ Content = "Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/columnandbar#column-chart") },
};
columnChartSample.Documentations = columnChartHelpDocuments;
DemoInfo columnRoundedCornerSample = new DemoInfo() { SampleName = "Column with rounded corners", GroupName = "Basic Charts", Description = "This sample demonstrates the land area of various cities using rounded columns.", DemoViewType = typeof(ColumnRoundedEdges) };
DemoInfo columnWidthSample = new DemoInfo() { SampleName = "Column spacing", GroupName = "Basic Charts", Description = "This sample illustrates the number of medals that were won by various countries in the 2022 Beijing Olympics, using a customized segment width for visualization.", DemoViewType = typeof(ColumnWidthCustomization) };
DemoInfo customizedColumnSample = new DemoInfo() { SampleName = "Customized column", GroupName = "Basic Charts", Description = "This sample visualizes the comparison of literacy rates across different states by using customized columns.", DemoViewType = typeof(CustomizedColumn) };
List<DemoInfo> subColumnDemos = new List<DemoInfo>();
subColumnDemos.Add(columnChartSample);
subColumnDemos.Add(columnRoundedCornerSample);
subColumnDemos.Add(columnWidthSample);
subColumnDemos.Add(customizedColumnSample);
columnDemo.SubCategoryDemos = subColumnDemos;
this.Demos.Add(columnDemo);
#endregion
#region Bar
DemoInfo barDemo = new DemoInfo()
{
SampleName = "Bar",
GroupName = "Basic Charts",
WhatsNewDescription = "This sample demonstrates a bar chart utilizing horizontal columns to showcase various data points.",
};
DemoInfo barChartSample = new DemoInfo() { SampleName = "Default bar", GroupName = "Basic Charts", Description = "This sample showcases the widely-used Android applications that were obtainable in the Google Play Store in 2019.", DemoViewType = typeof(DefaultBar) };
List<Documentation> barChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Bar Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.BarSeries.html#") },
new Documentation(){ Content = "Bar Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/columnandbar#bar-chart") },
};
barChartSample.Documentations = barChartHelpDocuments;
DemoInfo barRoundedCornerSample = new DemoInfo() { SampleName = "Bar with rounded corners", GroupName = "Basic Charts", Description = "This sample illustrates the comparison of miles traveled using different modes of transportation using rounded bars.", DemoViewType = typeof(BarRoundedEdge) };
DemoInfo barWidthSample = new DemoInfo() { SampleName = "Bar spacing", GroupName = "Basic Charts", Description = "This sample illustrates the percentage growth of remote work between 2020 and 2021, with customized segment spacing.", DemoViewType = typeof(BarWidthCustomization) };
DemoInfo customizedBarSample = new DemoInfo() { SampleName = "Customized bar", GroupName = "Basic Charts", Description = "This sample demonstrates the comparison of speed by car models using a customized bar.", DemoViewType = typeof(CustomizedBar) };
List<DemoInfo> subBarDemos = new List<DemoInfo>();
subBarDemos.Add(barChartSample);
subBarDemos.Add(barRoundedCornerSample);
subBarDemos.Add(barWidthSample);
subBarDemos.Add(customizedBarSample);
barDemo.SubCategoryDemos = subBarDemos;
this.Demos.Add(barDemo);
#endregion
#region Line
DemoInfo lineDemo = new DemoInfo()
{
SampleName = "Line",
GroupName = "Basic Charts",
WhatsNewDescription = "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() { SampleName = "Default line", GroupName = "Basic Charts", Description = "This sample illustrates the trend in consumer price inflation between Norway and Romania from 2005 to 2011.", DemoViewType = typeof(DefaultLine) };
List<Documentation> lineChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.LineSeries.html#") },
new Documentation(){ Content = "Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/lineandstepline#line-chart") },
};
lineChartSample.Documentations = lineChartHelpDocuments;
DemoInfo linewithDashesSample = new DemoInfo() { SampleName = "Line with dashes", GroupName = "Basic Charts", Description = "This sample utilizes a dotted line to illustrate the ratio of capital investment to exports during a specific time period.", DemoViewType = typeof(DashedLineChart) };
List<DemoInfo> subLineDemos = new List<DemoInfo>();
subLineDemos.Add(lineChartSample);
subLineDemos.Add(linewithDashesSample);
lineDemo.SubCategoryDemos = subLineDemos;
this.Demos.Add(lineDemo);
#endregion
#region Area
DemoInfo areaDemo = new DemoInfo() { SampleName = "Area", GroupName = "Basic Charts", Description = "This area chart illustrates the comparison of average sales for various products over different years.", DemoViewType = typeof(AreaChartDemo) };
List<Documentation> areaChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.AreaSeries.html#") },
new Documentation(){ Content = "Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/area#area-chart") },
};
areaDemo.Documentations = areaChartHelpDocuments;
this.Demos.Add(areaDemo);
#endregion
#region Bubble
DemoInfo bubbleDemo = new DemoInfo()
{
SampleName = "Bubble",
GroupName = "Basic Charts",
WhatsNewDescription = "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() { SampleName = "Default bubble", GroupName = "Basic Charts", Description = "This bubble chart demonstrates the relationship between the literacy rate and GDP per capita across different countries in 2018.", DemoViewType = typeof(DefaultBubble) };
List<Documentation> bubbleChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Bubble Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.BubbleSeries.html#") },
new Documentation(){ Content = "Bubble Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/bubbleandscatter#bubble-chart") },
};
bubbleChartSample.Documentations = bubbleChartHelpDocuments;
DemoInfo gradientBubbleSample = new DemoInfo() { SampleName = "Bubble filled with gradient", GroupName = "Basic Charts", Description = "This gradient-colored bubble chart illustrates the top-performing cross-genre movies and their box office performance.", DemoViewType = typeof(GradientBubble) };
List<DemoInfo> subBubbleDemos = new List<DemoInfo>();
subBubbleDemos.Add(bubbleChartSample);
subBubbleDemos.Add(gradientBubbleSample);
bubbleDemo.SubCategoryDemos = subBubbleDemos;
this.Demos.Add(bubbleDemo);
#endregion
#region Scatter
DemoInfo scatterDemo = new DemoInfo()
{
SampleName = "Scatter",
GroupName = "Basic Charts",
};
DemoInfo scatterChartSample = new DemoInfo() { SampleName = "Default scatter", GroupName = "Basic Charts", Description = "This scatter chart illustrates the correlation between height and weight for both genders, with each data point represented by a circle of equal size.", DemoViewType = typeof(DefaultScatter) };
List<Documentation> scatterChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Scatter Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.ScatterSeries.html#") },
new Documentation(){ Content = "Scatter Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/bubbleandscatter#scatter-chart") },
};
scatterChartSample.Documentations = scatterChartHelpDocuments;
DemoInfo customizedScatterSample = new DemoInfo() { SampleName = "Customized scatter", GroupName = "Basic Charts", Description = "This sample illustrates the analysis of the stock market using custom templates that can be easily adjusted to fit any desired shape through the CustomTemplate property.", DemoViewType = typeof(CustomizedScatter) };
List<DemoInfo> subScatterDemos = new List<DemoInfo>();
subScatterDemos.Add(scatterChartSample);
subScatterDemos.Add(customizedScatterSample);
scatterDemo.SubCategoryDemos = subScatterDemos;
this.Demos.Add(scatterDemo);
#endregion
#region Spline
DemoInfo splineDemo = new DemoInfo()
{
SampleName = "Spline",
GroupName = "Basic Charts",
WhatsNewDescription = "This sample showcases a spline chart that connects two data points using curves instead of straight lines.",
};
DemoInfo splineChartSample = new DemoInfo() { SampleName = "Default spline", GroupName = "Basic Charts", Description = "This sample displays the average high and low temperatures of London using curves.", DemoViewType = typeof(DefaultSpline) };
List<Documentation> splineChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Spline Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.SplineSeries.html#") },
new Documentation(){ Content = "Spline Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/spline#spline-chart") },
};
splineChartSample.Documentations = splineChartHelpDocuments;
DemoInfo dottedSplineSample = new DemoInfo() { SampleName = "Spline with dashes", GroupName = "Basic Charts", Description = "This sample demonstrates the percentage of GDP invested using a dotted curve.", DemoViewType = typeof(DashedSplineChart) };
DemoInfo customizedSplineSample = new DemoInfo() { SampleName = "Customized spline", GroupName = "Basic Charts", Description = "This sample showcases climate variation by utilizing customized spline series templates, which can be easily customized to fit any desired shape using the CustomTemplate property.", DemoViewType = typeof(CustomizedSpline) };
List<DemoInfo> subSplineDemos = new List<DemoInfo>();
subSplineDemos.Add(splineChartSample);
subSplineDemos.Add(dottedSplineSample);
subSplineDemos.Add(customizedSplineSample);
splineDemo.SubCategoryDemos = subSplineDemos;
this.Demos.Add(splineDemo);
#endregion
#region Spline Area
DemoInfo splineAreaDemo = new DemoInfo() { SampleName = "Spline Area", GroupName = "Basic Charts", Description = "This sample demonstrates the percentage of inflation rates across various years by utilizing a smooth spline curve.", DemoViewType = typeof(SplineAreaChartDemo) };
List<Documentation> splineAreaChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Spline Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.SplineAreaSeries.html#") },
new Documentation(){ Content = "Spline Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/spline#spline-area-chart") },
};
splineAreaDemo.Documentations = splineAreaChartHelpDocuments;
this.Demos.Add(splineAreaDemo);
#endregion
#region Spline Range Area
DemoInfo splineRangeAreaDemo = new DemoInfo() { SampleName = "Spline Range Area", GroupName = "Basic Charts", Description = "This sample demonstrates the general electric stock price in August 2022 using a spline range area chart.", DemoViewType = typeof(SplineRangeAreaChartDemo) };
List<Documentation> splineRangeAreaHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Spline Range Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.SplineRangeAreaSeries.html#") },
new Documentation(){ Content = "Spline Range Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/range#spline-range-area-chart") },
};
splineRangeAreaDemo.Documentations = splineRangeAreaHelpDocuments;
this.Demos.Add(splineRangeAreaDemo);
#endregion
#region Step Line
DemoInfo stepLineDemo = new DemoInfo()
{
SampleName = "Step Line",
GroupName = "Basic Charts",
WhatsNewDescription = "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() { SampleName = "Default step line", GroupName = "Basic Charts", Description = "This step line chart illustrates the percentage of electricity production from oil, gas, and coal sources in Canada and France from 2000 to 2010.", DemoViewType = typeof(StepLineChartDemo) };
List<Documentation> stepLineChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Step Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StepLineSeries.html") },
new Documentation(){ Content = "Step Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/lineandstepline#step-line-chart") },
};
stepLineChartSample.Documentations = stepLineChartHelpDocuments;
DemoInfo stepLinewithDashesSample = new DemoInfo() { SampleName = "Step line with dashes", GroupName = "Basic Charts", Description = "This dotted step line chart illustrates the CO2 emissions between India, Germany, and Kazakhstan from 2006 to 2011.", DemoViewType = typeof(DottedStepLine) };
DemoInfo verticalStepLineSample = new DemoInfo() { SampleName = "Vertical step line", GroupName = "Basic Charts", Description = "This sample visualizes the percentage of the unemployment rate from 2000 to 2010 using a vertical step line chart.", DemoViewType = typeof(VerticalStepLine) };
List<DemoInfo> subStepLineDemos = new List<DemoInfo>();
subStepLineDemos.Add(stepLineChartSample);
subStepLineDemos.Add(stepLinewithDashesSample);
subStepLineDemos.Add(verticalStepLineSample);
stepLineDemo.SubCategoryDemos = subStepLineDemos;
this.Demos.Add(stepLineDemo);
#endregion
#region Step Area
DemoInfo stepAreaDemo = new DemoInfo() { SampleName = "Step Area", GroupName = "Basic Charts", Description = "This step area chart illustrates the percentage of fuel exports between Canada and Mexico over the period from 2005 to 2015.", DemoViewType = typeof(StepAreaChartDemo) };
List<Documentation> stepAreaChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Step Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StepAreaSeries.html#") },
new Documentation(){ Content = "Step Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/area#step-area-chart") },
};
stepAreaDemo.Documentations = stepAreaChartHelpDocuments;
this.Demos.Add(stepAreaDemo);
#endregion
#region Range Column
DemoInfo rangeColumnDemo = new DemoInfo() { SampleName = "Range Column", GroupName = "Basic Charts", Description = "This sample demonstrates the variation in temperature in Rome in degrees Celsius.", DemoViewType = typeof(RangeColumnChartDemo) };
List<Documentation> rangeColumnChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Range Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.RangeColumnSeries.html#") },
new Documentation(){ Content = "Range Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/range#range-column-chart") },
};
rangeColumnDemo.Documentations = rangeColumnChartHelpDocuments;
this.Demos.Add(rangeColumnDemo);
#endregion
#region Range Bar
DemoInfo rangeBarDemo = new DemoInfo() { SampleName = "Range Bar", GroupName = "Basic Charts", WhatsNewDescription= "This sample shows a radial bar chart, a variation of the doughnut chart. It utilizes separate circles for each segment to compare values across different categories.",
Description = "This transposed range column chart demonstrates the temperature variation in Paris in degrees Celsius.", DemoViewType = typeof(RangeBar)};
List<Documentation> rangeBarChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Range Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.RangeColumnSeries.html#") },
new Documentation(){ Content = "Range Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/range#range-column-chart") },
};
rangeBarDemo.Documentations = rangeBarChartHelpDocuments;
this.Demos.Add(rangeBarDemo);
#endregion
#region Range Area
DemoInfo rangeAreaDemo = new DemoInfo() { SampleName = "Range Area", GroupName = "Basic Charts", Description = "This range area chart displays the temperature fluctuations in Arizona during the month of May in 2022.", DemoViewType = typeof(RangeAreaChartDemo) };
List<Documentation> rangeAreaChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Range Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.RangeAreaSeries.html#") },
new Documentation(){ Content = "Range Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/range#range-area-chart") },
};
rangeAreaDemo.Documentations = rangeAreaChartHelpDocuments;
this.Demos.Add(rangeAreaDemo);
#endregion
#region Waterfall
DemoInfo waterfallDemo = new DemoInfo()
{
SampleName = "Waterfall",
GroupName = "Basic Charts",
WhatsNewDescription= "This sample displays the waterfall chart, which shows how positive and negative changes in a dataset accumulate.",
};
DemoInfo waterfallChartSample = new DemoInfo() { SampleName = "Default waterfall", GroupName = "Basic Charts", Description = "This sample demonstrates the contributions of different factors and their influence on the overall net cash flow in 2021 using a waterfall chart.", DemoViewType = typeof(WaterfallChartDemo) };
List<Documentation> waterfallChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Waterfall Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.WaterfallSeries.html") },
new Documentation(){ Content = "Waterfall Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/other#waterfall-chart") },
};
waterfallChartSample.Documentations = waterfallChartHelpDocuments;
DemoInfo verticalWaterfallSample = new DemoInfo() { SampleName = "Vertical waterfall", GroupName = "Basic Charts", Description = "This sample showcases the yearly net profit based on various categories between 2015 and 2016.", DemoViewType = typeof(VerticalWaterfall) };
List<DemoInfo> subWaterfallDemos = new List<DemoInfo>();
subWaterfallDemos.Add(waterfallChartSample);
subWaterfallDemos.Add(verticalWaterfallSample);
waterfallDemo.SubCategoryDemos = subWaterfallDemos;
this.Demos.Add(waterfallDemo);
#endregion
#region Box and Whisker
DemoInfo boxAndWhiskerDemo = new DemoInfo() { SampleName = "Box plot", GroupName = "Basic Charts", Description = "This sample illustrates the distribution and variability of the Charpy impact test using a box plot chart, which plots a combination of rectangles and lines to show the distribution of the dataset.", DemoViewType = typeof(BoxAndWhiskerChartDemo) };
List<Documentation> boxAndWhiskerHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Box and Whisker API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.BoxAndWhiskerSeries.html") },
new Documentation(){ Content = "Box and Whisker Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/other#box-and-whisker-chart") },
};
boxAndWhiskerDemo.Documentations = boxAndWhiskerHelpDocuments;
this.Demos.Add(boxAndWhiskerDemo);
#endregion
#region Histogram
DemoInfo histogramDemo = new DemoInfo() { SampleName = "Histogram", GroupName = "Basic Charts", Description = "This sample illustrates the exam results, displaying the number of marks obtained according to the number of students.", DemoViewType = typeof(HistogramChartDemo) };
List<Documentation> histogramChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Histogram API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.HistogramSeries.html#") },
new Documentation(){ Content = "Histogram Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/distribution#histogram-chart") },
};
histogramDemo.Documentations = histogramChartHelpDocuments;
this.Demos.Add(histogramDemo);
#endregion
#region Error Bar
DemoInfo errorBarDemo = new DemoInfo()
{
SampleName = "Error Bar",
GroupName = "Basic Charts",
WhatsNewDescription= "This sample provides graphical representations of the variability or uncertainty in the data.",
};
DemoInfo errorBarSample = new DemoInfo() { SampleName = "Default error bar", GroupName = "Basic Charts", Description = "This sample illustrates the thermal expansion of different materials, demonstrating how their shape or size alters based on temperature.", DemoViewType = typeof(ErrorBarSeriesDemo) };
List<Documentation> errorBarChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Error Bar API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.ErrorBarSeries.html#") },
new Documentation(){ Content = "Error Bar Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/errorbars") },
};
errorBarSample.Documentations = errorBarChartHelpDocuments;
DemoInfo customizedErrorBar = new DemoInfo() { SampleName = "Customized error bar", GroupName = "Basic Charts", Description = "This sample illustrates the distribution of car sales by region using customized error bars.", DemoViewType = typeof(CustomizedErrorBar) };
List<DemoInfo> subErrorBarDemos = new List<DemoInfo>();
subErrorBarDemos.Add(errorBarSample);
subErrorBarDemos.Add(customizedErrorBar);
errorBarDemo.SubCategoryDemos = subErrorBarDemos;
this.Demos.Add(errorBarDemo);
#endregion
#region Empty Points
DemoInfo emptyPointsDemo = new DemoInfo() { SampleName = "Empty Values", GroupName = "Basic Charts", Description = "This sample displays the number of new products introduced in different years, including years with both empty and non-empty values.", DemoViewType = typeof(EmptyPointSupportDemo) };
List<Documentation> emptyPointsHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Empty Points API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.ChartSeriesBase.html#Syncfusion_UI_Xaml_Charts_ChartSeriesBase_ShowEmptyPoints") },
new Documentation(){ Content = "Empty Points Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/emptypoints") },
};
emptyPointsDemo.Documentations = emptyPointsHelpDocuments;
this.Demos.Add(emptyPointsDemo);
#endregion
#endregion
#region Circular
#region Pie
DemoInfo pieDemo = new DemoInfo()
{
SampleName = "Pie",
GroupName = "Circular Charts",
WhatsNewDescription= "This sample represents parts of a whole by dividing a circle into sectors, where each sector's angle corresponds to the proportion of the data it represents.",
};
DemoInfo pieChartSample = new DemoInfo() { SampleName = "Default pie", GroupName = "Circular Charts", Description = "This pie chart illustrates the percentage contribution of each individual to sales.", DemoViewType = typeof(PieChartDemo) };
List<Documentation> pieChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Pie Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.PieSeries.html#")},
new Documentation(){ Content = "Pie Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/pieanddoughnut#pie-chart") },
};
pieChartSample.Documentations = pieChartHelpDocuments;
DemoInfo semiPieSample = new DemoInfo() { SampleName = "Semi-pie", GroupName = "Circular Charts", Description = "This sample displays the distribution percentage of favorite book genres using various shapes, such as semi-pie or quarter-pie.", DemoViewType = typeof(SemiPie) };
List<Documentation> semiPieChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Pie Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.PieSeries.html#")},
new Documentation(){ Content = " Semi Pie Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/pieanddoughnut#semi-pie-and-doughnut") },
};
semiPieSample.Documentations = semiPieChartHelpDocuments;
DemoInfo pieGroupingSample = new DemoInfo() { SampleName = "Grouping", GroupName = "Circular Charts", Description = "This sample showcases the world economy in 2021 with grouping support, which is used to group all small segments into a single segment.", DemoViewType = typeof(PieGrouping) };
List<Documentation> pieGroupingHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Circular Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.CircularSeriesBase.html")},
new Documentation(){ Content = "Grouping Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/pieanddoughnut#group-small-data-points-into-others") },
};
pieGroupingSample.Documentations = pieGroupingHelpDocuments;
List<DemoInfo> subPieDemos = new List<DemoInfo>();
subPieDemos.Add(pieChartSample);
subPieDemos.Add(semiPieSample);
subPieDemos.Add(pieGroupingSample);
pieDemo.SubCategoryDemos = subPieDemos;
this.Demos.Add(pieDemo);
#endregion
#region Doughnut
DemoInfo doughnutDemo = new DemoInfo()
{
SampleName = "Doughnut",
GroupName = "Circular Charts",
WhatsNewDescription= "This sample visualizes a pie chart with a hole in the center, presenting the proportions of data segments.",
};
DemoInfo doughnutChartSample = new DemoInfo() { SampleName = "Default doughnut", GroupName = "Circular Charts", Description = "This doughnut chart displays the individual's various monthly expenditures.", DemoViewType = typeof(DoughnutChartDemo) };
List<Documentation> doughnutChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Doughnut Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.DoughnutSeries.html#") },
new Documentation(){ Content = "Doughnut Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/pieanddoughnut#doughnut-chart") },
};
doughnutChartSample.Documentations = doughnutChartHelpDocuments;
DemoInfo semiDoughnutSample = new DemoInfo() { SampleName = "Semi-doughnut", GroupName = "Circular Charts", Description = "This sample showcases the expansion of products 2015, represented in various forms such as semi-doughnut or quarter-doughnut.", DemoViewType = typeof(SemiDoughnut) };
List<Documentation> emiDoughnutChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Doughnut Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.DoughnutSeries.html#")},
new Documentation(){ Content = " Semi Doughnut Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/pieanddoughnut#semi-pie-and-doughnut") },
};
semiDoughnutSample.Documentations = emiDoughnutChartHelpDocuments;
DemoInfo doughnutGroupingSample = new DemoInfo() { SampleName = "Grouping", GroupName = "Circular Charts", Description = "This sample showcases the global bond market with grouping support, which is used to group all small segments into a single segment.", DemoViewType = typeof(DoughnutGrouping) };
List<Documentation> doughnutGroupingHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Circular Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.CircularSeriesBase.html")},
new Documentation(){ Content = "Grouping Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/pieanddoughnut#group-small-data-points-into-others") },
};
doughnutGroupingSample.Documentations = doughnutGroupingHelpDocuments;
List<DemoInfo> subDoughnutDemos = new List<DemoInfo>();
subDoughnutDemos.Add(doughnutChartSample);
subDoughnutDemos.Add(semiDoughnutSample);
subDoughnutDemos.Add(doughnutGroupingSample);
doughnutDemo.SubCategoryDemos = subDoughnutDemos;
this.Demos.Add(doughnutDemo);
#endregion
#region Radial Bar
DemoInfo radialBarDemo = new DemoInfo()
{
SampleName = "Radial Bar",
GroupName = "Circular Charts",
WhatsNewDescription= "This sample shows a radial bar chart, a variation of the doughnut chart. It utilizes separate circles for each segment to compare values across different categories.",
};
DemoInfo radialBarChartSample = new DemoInfo() { SampleName = "Default radial bar", GroupName = "Circular Charts", Description = "This sample displays the distribution of costs for various expenses related to the project.", DemoViewType = typeof(StackedDoughnutDemo) };
List<Documentation> radialBarHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Doughnut API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.DoughnutSeries.html#Syncfusion_UI_Xaml_Charts_DoughnutSeries_IsStackedDoughnut") },
new Documentation(){ Content = "Stacked Doughnut Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/pieanddoughnut#stacked-doughnut") },
};
radialBarChartSample.Documentations = radialBarHelpDocuments;
DemoInfo customizedRadialBarSample = new DemoInfo() { SampleName = "Customized radial bar", GroupName = "Circular Charts", Description = "This sample demonstrates the rate at which loans are successfully repaid or settled, along with a customized legend that provides additional information about the categories.", DemoViewType = typeof(CustomizedStackedDoughnut) };
List<DemoInfo> subRadialBarDemos = new List<DemoInfo>();
subRadialBarDemos.Add(radialBarChartSample);
subRadialBarDemos.Add(customizedRadialBarSample);
radialBarDemo.SubCategoryDemos = subRadialBarDemos;
this.Demos.Add(radialBarDemo);
#endregion
#endregion
#region Pyramid chart
DemoInfo defaultPyramidDemo = new DemoInfo() { SampleName = "Default Pyramid", GroupName = "Pyramid Charts", Description = "This sample demonstrates how the percentage of listeners was distributed among various categories in 2007.", DemoViewType = typeof(PyramidChartDemo) };
List<Documentation> pyramidChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Pyramid Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.PyramidSeries.html")},
new Documentation(){ Content = "Pyramid Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/funnelandpyramid#pyramid-chart") },
};
defaultPyramidDemo.Documentations = pyramidChartHelpDocuments;
this.Demos.Add(defaultPyramidDemo);
DemoInfo pyramidLegendDemo = new DemoInfo() { SampleName = "Customized Pyramid", GroupName = "Pyramid Charts", WhatsNewDescription= "This sample showcases a pyramid chart with different mode options and customized tooltips and data labels.",
Description = "This sample showcases a pyramid chart with different mode options and customized tooltips that offer additional information about the distribution of operation costs across categories in the year 2020.", DemoViewType = typeof(PyramidMode),};
this.Demos.Add(pyramidLegendDemo);
#endregion
#region Funnel chart
DemoInfo funnelDemo = new DemoInfo() { SampleName = "Default Funnel", GroupName = "Funnel Charts", Description = "This sample illustrates the percentage of website conversion rates and its efficiency in converting visitors into customers.", DemoViewType = typeof(FunnelChartDemo) };
List<Documentation> funnelChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Funnel Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.FunnelSeries.html") },
new Documentation(){ Content = "Funnel Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/funnelandpyramid#funnel-chart") },
};
funnelDemo.Documentations = funnelChartHelpDocuments;
this.Demos.Add(funnelDemo);
DemoInfo funnelLegendDemo = new DemoInfo() { SampleName = "Customized Funnel", GroupName = "Funnel Charts", WhatsNewDescription= "This sample showcases a funnel chart with different mode options and customized tooltips and data labels.",
Description = "This funnel chart showcases the various stages of the sales funnel, with mode options and customized tooltips that provide additional information about each stage.", DemoViewType = typeof(FunnelMode),};
this.Demos.Add(funnelLegendDemo);
#endregion
#region Polar and Radar
#region Polar
DemoInfo polarSample = new DemoInfo() { SampleName = "Polar", GroupName = "Polar and Radar Charts", Description = "This sample shows a sales comparison of each product using a polar chart, which visualizes the data in terms of values and angles.", DemoViewType = typeof(Polar) };
List<Documentation> polarAreaDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Polar Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.PolarSeries.html#")},
new Documentation(){ Content = "Polar Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/radarandpolar#polar-chart") },
};
polarSample.Documentations = polarAreaDocumentation;
this.Demos.Add(polarSample);
#endregion
#region Radar
DemoInfo radarSample = new DemoInfo() { SampleName = "Radar", GroupName = "Polar and Radar Charts", Description = "This sample demonstrates the examination of plant details based on the direction using a radar chart, which visualizes the data in terms of values and angles.", DemoViewType = typeof(RadarChartDemo) };
List<Documentation> radarDocumentation = new List<Documentation>()
{
new Documentation(){ Content = "Radar Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.RadarSeries.html#")},
new Documentation(){ Content = "Radar Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/radarandpolar#radar-chart") },
};
radarSample.Documentations = radarDocumentation;
this.Demos.Add(radarSample);
#endregion
#endregion
#region Financial chart
DemoInfo hiLoDemo = new DemoInfo() { SampleName = "HiLo", GroupName = "Financial Charts", Description = "This sample illustrates the range of sales analysis for each month in 2016 using a Hilo chart.", DemoViewType = typeof(HiLoChartDemo) };
List<Documentation> hiLoChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "HiLo API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.HiLoSeries.html#") },
new Documentation(){ Content = "HiLo Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/range#hilo-chart")},
};
hiLoDemo.Documentations = hiLoChartHelpDocuments;
this.Demos.Add(hiLoDemo);
DemoInfo OHLCDemo = new DemoInfo() { SampleName = "OHLC", GroupName = "Financial Charts", Description = "This sample illustrates the stock information of ABM Industries in 2000 using an OHLC chart.", DemoViewType = typeof(HiLoOpenCloseChartDemo) };
List<Documentation> OHLCChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "OHLC API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.HiLoOpenCloseSeries.html#") },
new Documentation(){ Content = "OHLC Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/financial#ohlc-chart") },
};
OHLCDemo.Documentations = OHLCChartHelpDocuments;
this.Demos.Add(OHLCDemo);
DemoInfo candleDemo = new DemoInfo() { SampleName = "Candle", GroupName = "Financial Charts", Description = "This candle chart demonstrates the stock information in 2020 using the high, low, open, and close values.", DemoViewType = typeof(CandleChartDemo) };
List<Documentation> candleChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Candle Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.CandleSeries.html#") },
new Documentation(){ Content = "Candle Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/financial#candle-chart") },
};
candleDemo.Documentations = candleChartHelpDocuments;
this.Demos.Add(candleDemo);
#endregion
#region Stacked Chart
#region Stacked Column Chart
DemoInfo stackedColumn = new DemoInfo()
{
SampleName = "Stacked Column",
GroupName = "Stacked Charts",
WhatsNewDescription= "This sample visualizes stacked vertical bars to show both individual and cumulative values for different categories.",
};
DemoInfo stackedColumnDemo = new DemoInfo()
{
SampleName = "Default stacked column",
GroupName = "Stacked Charts",
Description = "This stacked column chart represents the statistics of the Olympic Games medals across different countries.",
DemoViewType = typeof(StackingColumnChartDemo)
};
List<Documentation> stackedColumnHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StackingColumnSeries.html?tabs=tabid-1") },
new Documentation(){ Content = "Stacked Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/stacking#stacked-column-chart") },
};
stackedColumnDemo.Documentations = stackedColumnHelpDocuments;
DemoInfo stackedColumnGroup = new DemoInfo()
{
SampleName = "Cluster stacked column",
GroupName = "Stacked Charts",
Description = "This cluster stacked column represents the company's growth with a grouping of quarters, allowing easy visualization of the relationship of parts to the whole.",
DemoViewType = typeof(StackedGroupChartDemo)
};
List<Documentation> groupingHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Grouping API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StackingSeriesBase.html#Syncfusion_UI_Xaml_Charts_StackingSeriesBase_GroupingLabel") },
new Documentation(){ Content = "Grouping Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/groupingstacked") },
};
stackedColumnGroup.Documentations = groupingHelpDocuments;
List<DemoInfo> subStackColumnDemos = new List<DemoInfo>();
subStackColumnDemos.Add(stackedColumnDemo);
subStackColumnDemos.Add(stackedColumnGroup);
stackedColumn.SubCategoryDemos = subStackColumnDemos;
this.Demos.Add(stackedColumn);
#endregion
#region Stacked Bar Chart
DemoInfo StackedBarDemo = new DemoInfo()
{
SampleName = "Stacked Bar",
GroupName = "Stacked Charts",
Description = "This sample shows the sales analysis of the Apple's iOS devices, helping visualize the relationship of parts to the whole.",
DemoViewType = typeof(StackingBarChartDemo)
};
List<Documentation> StackedBarHelpDocuments = new List<Documentation>();
StackedBarHelpDocuments.Add(new Documentation() { Content = "Stacked Bar Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StackingBarSeries.html?tabs=tabid-1") });
StackedBarHelpDocuments.Add(new Documentation() { Content = "Stacked Bar Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/stacking#stacked-bar-chart") });
StackedBarDemo.Documentations = StackedBarHelpDocuments;
this.Demos.Add(StackedBarDemo);
#endregion
#region Stacked Area Chart
DemoInfo stackedAreaDemo = new DemoInfo()
{
SampleName = "Stacked Area",
GroupName = "Stacked Charts",
Description = "This sample demonstrates Nestle's worldwide confectionery sales between 2014 and 2021.",
DemoViewType = typeof(StackingAreaChartDemo)
};
List<Documentation> stackedAreaHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StackingAreaSeries.html#") },
new Documentation(){ Content = "Stacked Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/stacking#stacked-area-chart") },
};
stackedAreaDemo.Documentations = stackedAreaHelpDocuments;
this.Demos.Add(stackedAreaDemo);
#endregion
#region Stacked Line Chart
DemoInfo stackedLineDemo = new DemoInfo()
{
SampleName = "Stacked Line",
GroupName = "Stacked Charts",
Description = "This sample illustrates the percentage of GDP growth from 2010 to 2015 using a stacked line chart.",
DemoViewType = typeof(StackingLineChartDemo)
};
List<Documentation> stackedLineHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StackingLineSeries.html") },
new Documentation(){ Content = "Stacked Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/stacking#stacked-line-chart") },
};
stackedLineDemo.Documentations = stackedLineHelpDocuments;
this.Demos.Add(stackedLineDemo);
#endregion
#endregion
#region 100% Stacked Chart
#region Stacked Column 100 Chart
DemoInfo stackedColumn100Demo = new DemoInfo()
{
SampleName = "100 Stacked Column",
GroupName = "100 Stacked Charts",
WhatsNewDescription= "This sample demonstrates the relative proportions of multiple data series as stacked columns, where each column represents a percentage of the total.",
};
DemoInfo stackedColumn100 = new DemoInfo()
{
SampleName = "Default 100 stacked column",
GroupName = "100 Stacked Charts",
Description = "This sample demonstrates the electricity consumption by various sections for the year 2022. Each section's contribution to the total consumption is represented as a percentage.",
DemoViewType = typeof(StackingColumn100ChartDemo)
};
List<Documentation> stackedColumn100HelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Column 100 Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StackingColumn100Series.html#") },
new Documentation(){ Content = "Stacked Column 100 Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/stacking#stacked-column100-chart") },
};
stackedColumn100.Documentations = stackedColumn100HelpDocuments;
DemoInfo stacked100ColumnGroup = new DemoInfo()
{
SampleName = "Cluster 100 stacked column",
GroupName = "100 Stacked Charts",
Description = "This sample displays the electricity consumption from various sources using 100 stacked columns, where the total of each stacked column always equals to 100%.",
DemoViewType = typeof(StackingGroup100ChartDemo)
};
List<DemoInfo> subStack100ColumnDemos = new List<DemoInfo>();
subStack100ColumnDemos.Add(stackedColumn100);
subStack100ColumnDemos.Add(stacked100ColumnGroup);
stackedColumn100Demo.SubCategoryDemos = subStack100ColumnDemos;
this.Demos.Add(stackedColumn100Demo);
#endregion
#region Stacked Bar 100 Chart
DemoInfo stackedBar100Demo = new DemoInfo()
{
SampleName = "100 Stacked Bar",
GroupName = "100 Stacked Charts",
Description = "This 100% Stacked Bar chart shows the electric vehicle market share globally. Each section's contribution to the total market share is represented as a percentage.",
DemoViewType = typeof(StackingBar100ChartDemo)
};
List<Documentation> stackedBar100HelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Bar 100 Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StackingBar100Series.html#") },
new Documentation(){ Content = "Stacked Bar 100 Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/stacking#stacked-bar100-chart") },
};
stackedBar100Demo.Documentations = stackedBar100HelpDocuments;
this.Demos.Add(stackedBar100Demo);
#endregion
#region Stacked Area 100 Chart
DemoInfo stackedArea100Demo = new DemoInfo()
{
SampleName = "100 Stacked Area",
GroupName = "100 Stacked Charts",
Description = "This sample showcases the methane emissions from 2000 to 2010 using a 100% stacked area chart.",
DemoViewType = typeof(StackingArea100ChartDemo)
};
List<Documentation> stackedArea100HelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Area 100 Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StackingArea100Series.html") },
new Documentation(){ Content = "Stacked Area 100 Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/stacking#stacked-area100-chart") },
};
stackedArea100Demo.Documentations = stackedArea100HelpDocuments;
this.Demos.Add(stackedArea100Demo);
#endregion
#region Stacked Line 100 Chart
DemoInfo stackedLine100Demo = new DemoInfo()
{
SampleName = "100 Stacked Line",
GroupName = "100 Stacked Charts",
Description = "This 100% stacked line chart displays a smartphone market share analysis globally, where the total of each stacked line always equals to 100%.",
DemoViewType = typeof(StackingLine100Chart)
};
List<Documentation> stackedLine100HelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Stacked Line 100 Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.StackingLine100Series.html") },
new Documentation(){ Content = "Stacked Line 100 Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/seriestypes/stacking#stacked-line100-chart") },
};
stackedLine100Demo.Documentations = stackedLine100HelpDocuments;
this.Demos.Add(stackedLine100Demo);
#endregion
#endregion
#region Fast Chart
#region Fast Column Chart
DemoInfo fastColumnDemo = new DemoInfo()
{
SampleName = "Column",
GroupName = "Fast Charts",
Description = "This Fast Column chart effectively displays stock details, and it handles large quantities of data.",
DemoViewType = typeof(FastColumnChartDemo)
};
List<Documentation> fastColumnHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Fast Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.FastColumnBitmapSeries.html#") },
new Documentation(){ Content = "Fast Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/fastchart/fast-bitmapseries#fast-column-bitmap") },
};
fastColumnDemo.Documentations = fastColumnHelpDocuments;
this.Demos.Add(fastColumnDemo);
#endregion
#region Fast Bar Chart
DemoInfo fastBarDemo = new DemoInfo()
{
SampleName = "Bar",
GroupName = "Fast Charts",
Description = "This sample demonstrates the details of the stock market using the fast bar series, which enables the rendering of vast collections of data points in a fraction of a millisecond.",
DemoViewType = typeof(FastBarChartDemo)
};
List<Documentation> fastBarChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Fast Bar Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.FastBarBitmapSeries.html") },
new Documentation(){ Content = "Fast Bar Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/fastchart/fast-bitmapseries#fast-bar-bitmap") },
};
fastBarDemo.Documentations = fastBarChartHelpDocuments;
this.Demos.Add(fastBarDemo);
#endregion
#region Fast Line Chart
DemoInfo fastLineDemo = new DemoInfo()
{
SampleName = "Line",
GroupName = "Fast Charts",
Description = "This sample demonstrates the use of fast line series in weather prediction, which allows for the display of large data point collections in less than a millisecond.",
DemoViewType = typeof(FastLineChartDemo)
};
List<Documentation> fastLineChartHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Fast Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.FastLineSeries.html") },
new Documentation(){ Content = "Fast Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/fastchart/fast-series#fast-line") },
};
fastLineDemo.Documentations = fastLineChartHelpDocuments;
this.Demos.Add(fastLineDemo);
#endregion
#region Fast StepLine Chart
DemoInfo fastStepLineDemo = new DemoInfo()
{
SampleName = "Step Line",
GroupName = "Fast Charts",
Description = "This sample effectively displays the monitoring of heart rate variability using a fast step line chart.",
DemoViewType = typeof(FastStepLineChartDemo)
};
List<Documentation> fastStepLineHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Fast Step Line Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.FastStepLineBitmapSeries.html#") },
new Documentation(){ Content = "Fast Step Line Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/fastchart/fast-bitmapseries#fast-step-line-bitmap") },
};
fastStepLineDemo.Documentations = fastStepLineHelpDocuments;
this.Demos.Add(fastStepLineDemo);
#endregion
#region Fast Scatter Chart
DemoInfo fastScatterDemo = new DemoInfo()
{
SampleName = "Scatter",
GroupName = "Fast Charts",
Description = "This sample illustrates the duration and waiting time of eruptions using a fast scatter series, which handles large quantities of data.",
DemoViewType = typeof(FastScatterChartDemo)
};
List<Documentation> fastScatterHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Fast Scatter Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.FastScatterBitmapSeries.html?tabs=tabid-1") },
new Documentation(){ Content = "Fast Scatter Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/fastchart/fast-bitmapseries#fast-scatter-bitmap") },
};
fastScatterDemo.Documentations = fastScatterHelpDocuments;
this.Demos.Add(fastScatterDemo);
#endregion
#region Fast RangeArea Chart
DemoInfo fastRangeAreaDemo = new DemoInfo()
{
SampleName = "Range Area",
GroupName = "Fast Charts",
Description = "This sample showcases the temperature analysis using a fast range area series, which performs a high-performance version of the range area chart.",
DemoViewType = typeof(FastRangeAreaChartDemo)
};
List<Documentation> fastRangeAreaHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Fast Range Area Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.FastRangeAreaBitmapSeries.html#") },
new Documentation(){ Content = "Fast Range Area Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/fastchart/fast-bitmapseries#fast-range-area") },
};
fastRangeAreaDemo.Documentations = fastRangeAreaHelpDocuments;
this.Demos.Add(fastRangeAreaDemo);
#endregion
#region Fast Stacked Column Chart
DemoInfo fastStackedColumnDemo = new DemoInfo()
{
SampleName = "Stacked Column",
GroupName = "Fast Charts",
Description = "This fast stacked column chart effectively displays the Microsoft stock market trend analysis, which is capable of handling large volumes of data.",
DemoViewType = typeof(FastStackingColumnChartDemo)
};
List<Documentation> fastStackedColumnHelpDocuments = new List<Documentation>()
{
new Documentation(){ Content = "Fast Stacked Column Series API Reference", Uri = new Uri("https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Charts.FastStackingColumnBitmapSeries.html#") },
new Documentation(){ Content = "Fast Stacked Column Series Documentation", Uri = new Uri("https://help.syncfusion.com/wpf/charts/fastchart/fast-series#fast-stacking-column") },