private void button1_Click(object sender, System.EventArgs e) { ArrayList options = new ArrayList(); options.AddRange(editor1.Options); if (checkBox1.Checked && options.IndexOf(Steema.TeeChart.Editors.ChartEditorOptions.Groups) < 0) { options.Add(Steema.TeeChart.Editors.ChartEditorOptions.Groups); } if (!checkBox1.Checked) { options.Remove(Steema.TeeChart.Editors.ChartEditorOptions.Groups); } if (checkBox2.Checked && options.IndexOf(Steema.TeeChart.Editors.ChartEditorOptions.GroupAll) < 0) { options.Add(Steema.TeeChart.Editors.ChartEditorOptions.GroupAll); } if (!checkBox2.Checked) { options.Remove(Steema.TeeChart.Editors.ChartEditorOptions.GroupAll); } editor1.Options = (Steema.TeeChart.Editors.ChartEditorOptions[])options.ToArray(typeof(Steema.TeeChart.Editors.ChartEditorOptions)); editor1.ShowModal(this); }
private void button1_Click(object sender, EventArgs e) { Steema.TeeChart.Editor editor = new Steema.TeeChart.Editor(tChart1); editor.Title = "My Charting App - Chart Editor"; editor.DefaultTab = Editors.ChartEditorTabs.Axes; editor.ShowModal(); }
private void toolStripButtonEditGraph_Click(object sender, EventArgs e) { Steema.TeeChart.Editor ed = new Steema.TeeChart.Editor(this.tChart1); ed.Title = "Pisces Editor"; ed.ShowModal(); // save colors to user settings. for (int i = 0; i < tChart1.Series.Count; i++) { Properties.Settings.Default.SetColor(i, tChart1.Series[i].Color); Steema.TeeChart.Styles.Line line = tChart1.Series[i] as Steema.TeeChart.Styles.Line; if (line != null) { Properties.Settings.Default.SetSeriesWidth(i, line.LinePen.Width); } } }
public void ShowEditor() { Steema.TeeChart.Editor ed = new Steema.TeeChart.Editor(this.tChart1); ed.Title = "Editor"; ed.ShowModal(); }
private void Chart_MouseDoubleClick(object sender, MouseEventArgs e) { //Chart.ShowEditor(); editor1.ShowModal(); //Steema.TeeChart.Editors.SeriesEditor.ShowEditor(Chart.Series[0], Steema.TeeChart.Editors.ChartEditorTabs.SeriesDataSource); }
private void button1_Click(object sender, System.EventArgs e) { editor1.ShowModal(this); }