Пример #1
0
 public BarChart()
 {
     AxisX = new Axis();
     AxisY = new Axis {Separator = new Separator {Step = 1}};
     Hoverable = true;
     ShapeHoverBehavior = ShapeHoverBehavior.Shape;
     IgnoresLastLabel = true;
     LineType = LineChartLineType.Bezier;
     MaxColumnWidth = 60;
     DefaultFillOpacity = 0.75;
     PerformanceConfiguration = new PerformanceConfiguration {Enabled = false};
 }
Пример #2
0
 public StackedBarChart()
 {
     AxisX = new Axis();
     AxisY = new Axis {Separator = new Separator {Step = 1}};
     Hoverable = true;
     AxisX.MinValue = 0d;
     ShapeHoverBehavior = ShapeHoverBehavior.Shape;
     IgnoresLastLabel = true;
     PerformanceConfiguration = new PerformanceConfiguration { Enabled = false };
     LineType = LineChartLineType.Bezier;
     IndexTotals = new Dictionary<int, StackedBarHelper>();
     MaxColumnWidth = 60;
     DefaultFillOpacity = 0.75;
 }
Пример #3
0
        public PieChart()
        {
            AxisX = new Axis {FontWeight = FontWeights.Bold, FontSize = 11, FontFamily = new FontFamily("Calibri")};
            AxisY = new Axis();
            Hoverable = true;
            ShapeHoverBehavior = ShapeHoverBehavior.Shape;
            InnerRadius = 0;
            SlicePadding = 5;
            DrawPadding = 20;
            Background = Brushes.White;
            AnimatesNewPoints = true;

            PerformanceConfiguration = new PerformanceConfiguration {Enabled = false};
        }