Esempio n. 1
0
 public StackedBarChart()
 {
     PrimaryAxis = new Axis();
     SecondaryAxis = new Axis {Separator = new Separator {Step = 1}};
     Hoverable = true;
     PrimaryAxis.MinValue = 0d;
     ShapeHoverBehavior = ShapeHoverBehavior.Shape;
     IgnoresLastLabel = true;
     PerformanceConfiguration = new PerformanceConfiguration { Enabled = false };
     AreaOpacity = 0.8;
     LineType = LineChartLineType.Bezier;
     IndexTotals = new Dictionary<int, StackedBarHelper>();
     MaxColumnWidth = 60;
 }
Esempio n. 2
0
        public PieChart()
        {
            PrimaryAxis = new Axis { FontWeight = FontWeights.Bold, FontSize = 11, FontFamily = new FontFamily("Calibri")};
            SecondaryAxis = new Axis();
            Hoverable = true;
            ShapeHoverBehavior = ShapeHoverBehavior.Shape;
            InnerRadius = 0;
            SlicePadding = 5;
            DrawPadding = 20;
            Background = Brushes.White;
            AnimatesNewPoints = true;
            AreaOpacity = 1;

            PerformanceConfiguration = new PerformanceConfiguration { Enabled = false };
        }
Esempio n. 3
0
 public BarChart()
 {
     PrimaryAxis = new Axis();
     SecondaryAxis = new Axis {Separator = new Separator {Step = 1}};
     Hoverable = true;
     ShapeHoverBehavior = ShapeHoverBehavior.Shape;
     IgnoresLastLabel = true;
     AreaOpacity = .8;
     LineType = LineChartLineType.Bezier;
     MaxColumnWidth = 60;
     //no performance config for a bar chart
     //why? because this chart need to build a bar per point,
     //I think there is no practicall way to make this work
     //It is better if final develover groups some of their points.
     PerformanceConfiguration = new PerformanceConfiguration {Enabled = false};
 }
Esempio n. 4
0
        public PieChart()
        {
            PrimaryAxis = new Axis {
                FontWeight = FontWeights.Bold, FontSize = 11, FontFamily = new FontFamily("Calibri")
            };
            SecondaryAxis      = new Axis();
            Hoverable          = true;
            ShapeHoverBehavior = ShapeHoverBehavior.Shape;
            InnerRadius        = 0;
            SlicePadding       = 5;
            DrawPadding        = 20;
            Background         = Brushes.White;
            AnimatesNewPoints  = true;
            AreaOpacity        = 1;

            PerformanceConfiguration = new PerformanceConfiguration {
                Enabled = false
            };
        }
Esempio n. 5
0
 public StackedBarChart()
 {
     PrimaryAxis   = new Axis();
     SecondaryAxis = new Axis {
         Separator = new Separator {
             Step = 1
         }
     };
     Hoverable                = true;
     PrimaryAxis.MinValue     = 0d;
     ShapeHoverBehavior       = ShapeHoverBehavior.Shape;
     IgnoresLastLabel         = true;
     PerformanceConfiguration = new PerformanceConfiguration {
         Enabled = false
     };
     AreaOpacity    = 0.8;
     LineType       = LineChartLineType.Bezier;
     IndexTotals    = new Dictionary <int, StackedBarHelper>();
     MaxColumnWidth = 60;
 }
Esempio n. 6
0
 public BarChart()
 {
     PrimaryAxis   = new Axis();
     SecondaryAxis = new Axis {
         Separator = new Separator {
             Step = 1
         }
     };
     Hoverable          = true;
     ShapeHoverBehavior = ShapeHoverBehavior.Shape;
     IgnoresLastLabel   = true;
     AreaOpacity        = .8;
     LineType           = LineChartLineType.Bezier;
     MaxColumnWidth     = 60;
     //no performance config for a bar chart
     //why? because this chart need to build a bar per point,
     //I think there is no practicall way to make this work
     //It is better if final develover groups some of their points.
     PerformanceConfiguration = new PerformanceConfiguration {
         Enabled = false
     };
 }