public Box_CustomValues()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();

            // add sample data
            box1.Clear();
            box1.Add(new double[11] {
                35, 36, 37, 38, 38, 39, 39, 40, 41, 44, 61
            });
            // the values aren't actualy calculated before series is drawn
            // so if you need them before, just call ReconstructFromData() method
            box1.ReconstructFromData();
        }
Exemple #2
0
 public Boxplot_custom()
 {
     // This call is required by the Windows Form Designer.
     InitializeComponent();
     box1.Clear();
     box1.Add(new double[8] {
         12, 14, 18, 18.5, 18.6, 18.6, 19, 24
     });
     box1.UseCustomValues = false;
     UpdateDisplay();
 }
Exemple #3
0
        public SeriesType_BoxPlot()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();

            boxSeries1.Add(new double[6] {
                3, 6, 8, 15, 19, 21
            });
            boxSeries2.Add(new double[4] {
                5, 7, 12, 21
            });
            boxSeries3.Add(new double[5] {
                6, 7, 8, 15, 21
            });

            // A simple trick to force custom axis labels on bottom axis.
            // In this case, series titles
            Steema.TeeChart.AxisLabelsItems labels = tChart1.Axes.Bottom.Labels.Items;
            labels.Clear();
            foreach (Styles.Box b in tChart1.Series)
            {
                labels.Add(b.Position, b.Title);
            }
        }