Exemple #1
0
        public void MultipleSeriesChartViaImage()
        {
            PictureBox pictureBox = new PictureBox();
            IChart     chart      = CreateMultipleSeriesChart();

            pictureBox.Image = chart.Image(300, 300);
            WindowsFormsTestHelper windowsFormsTestHelper = new WindowsFormsTestHelper();

            windowsFormsTestHelper.ShowControlModal(pictureBox);
        }
Exemple #2
0
        public void MultipleSeriesView()
        {
            IChart     chart     = CreateMultipleSeriesChart();
            IChartView chartView = new ChartView {
                Chart = chart
            };
            WindowsFormsTestHelper windowsFormsTestHelper = new WindowsFormsTestHelper();

            windowsFormsTestHelper.ShowControlModal((ChartView)chartView);
        }
Exemple #3
0
        public void MultipleSeriesExtraAxesView()
        {
            IChart       chart       = CreateMultipleSeriesChart();
            IChartSeries chartSeries = chart.Series[0];

            chartSeries.HorizAxis = HorizontalAxis.Top;
            chartSeries.VertAxis  = VerticalAxis.Right;

            IChartView chartView = new ChartView {
                Chart = chart
            };
            WindowsFormsTestHelper windowsFormsTestHelper = new WindowsFormsTestHelper();

            windowsFormsTestHelper.ShowControlModal((ChartView)chartView);
        }