Beispiel #1
0
 public Form1()
 {
     InitializeComponent();
     this.SetStyle(ControlStyles.ResizeRedraw, true);
     cm = new ColorMap();
     chart3D1.C3DrawChart.CMap = cm.Cool();
     chart3D1.C3DrawChart.ChartType = DrawChart.ChartTypeEnum.SurfaceFillContour;
     chart3D1.C3ChartStyle.IsColorBar = true;
     chart3D1.C3Labels.Title = "No Title";
     chart3D1.C3DataSeries.LineStyle.IsVisible = false;
 }
Beispiel #2
0
 public Chart3D()
 {
     InitializeComponent();
     this.SetStyle(ControlStyles.ResizeRedraw, true);
     cs = new ChartStyle(this);
     cs2d = new ChartStyle2D(this);
     dc = new DrawChart(this);
     ds = new DataSeries();
     ax = new Axes(this);
     va = new ViewAngle(this);
     gd = new Grid(this);
     cl = new ChartLabels(this);
     gd.GridStyle.LineColor = Color.LightGray;
     this.BackColor = Color.White;
     cm = new ColorMap();
     dc.CMap = cm.Jet();
 }