コード例 #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;
 }
コード例 #2
0
ファイル: PieChart.cs プロジェクト: edisonh/Live-Charts
        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 };
        }
コード例 #3
0
ファイル: BarChart.cs プロジェクト: edisonh/Live-Charts
 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};
 }
コード例 #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
            };
        }
コード例 #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;
 }
コード例 #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
     };
 }