예제 #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);
        }
예제 #2
0
        public void MultipleSeriesView()
        {
            IChart     chart     = CreateMultipleSeriesChart();
            IChartView chartView = new ChartView {
                Chart = chart
            };
            WindowsFormsTestHelper windowsFormsTestHelper = new WindowsFormsTestHelper();

            windowsFormsTestHelper.ShowControlModal((ChartView)chartView);
        }
예제 #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);
        }