Example #1
0
        public void deleteShape(Shapes.Point point)
        {
            string seriesName = pointSeriesName(point);
            Series series     = chart.Series[seriesName];

            chart.Series.Remove(series);
        }
Example #2
0
        private void pointPlotter(Shapes.Point point, double rot_x, double rot_y, double rot_z, p3D.Point3D center)
        {
            string series = pointSeriesName(point);

            Convert3DTo2D(rot_x, rot_y, rot_z, center.X, center.Y, center.Z, ref x, ref y, ref z);
            chart.Series[series].Points.AddXY(x, y);
        }
Example #3
0
        public void Plot(Shapes.Point point, p3D.Point3D center, double rot_x, double rot_y, double rot_z)
        {
            string series = pointSeriesName(point);

            chart.Series[series].Points.Clear();
            pointPlotter(point, rot_x, rot_y, rot_z, center);
            chartSizer(chart);
        }
Example #4
0
        public void plotSetup(Shapes.Point point, System.Drawing.Color color)
        {
            string series = pointSeriesName(point);

            chart.Series.Add(series);
            chart.Series[series].ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
            chart.Series[series].Color     = color;
        }
Example #5
0
        private string pointSeriesName(Shapes.Point point)
        {
            string point_series = String.Format("point_{0}", point.Name);

            return(point_series);
        }