Ejemplo n.º 1
0
		public LineChartTest()
		{
			chart = new LineChart();
			chart.DataSource = new TestDataSource();

			ChartPlotter plotter = new ChartPlotter();
			plotter.PerformLoad();
			plotter.Children.Add(chart);

			PrivateObject privateObject = new PrivateObject(chart);
			LineChart_Accessor target = new LineChart_Accessor(privateObject);

			canvas = target.canvas;

			paths = canvas.Children.Cast<Path>();
		}
Ejemplo n.º 2
0
        public LineChartTest()
        {
            chart            = new LineChart();
            chart.DataSource = new TestDataSource();

            ChartPlotter plotter = new ChartPlotter();

            plotter.PerformLoad();
            plotter.Children.Add(chart);

            PrivateObject      privateObject = new PrivateObject(chart);
            LineChart_Accessor target        = new LineChart_Accessor(privateObject);

            canvas = target.canvas;

            paths = canvas.Children.Cast <Path>();
        }