private void button1_Click_1(object sender, EventArgs e) { Styles.Series s = Editors.ChartGallery.CreateNew(tChart1.Chart, null, 650, 500); if (s != null) { s.FillSampleValues(); } }
private void button1_Click(object sender, EventArgs e) { Styles.Series tmp = chartBook1.AddChart().Series.Add(typeof(Line)); tmp.FillSampleValues(); tmp.Color = Themes.RandomTheme.RandomColor; chartBook1.SelectedIndex = chartBook1.TabCount - 1; }
private void button1_Click(object sender, EventArgs e) { Type style = (tChart1[0].YValues == tChart1[0].mandatory) ? typeof(Styles.HorizBar) : typeof(Styles.Bar); for (int t = 0; t < tChart1.Series.Count; t++) { Styles.Series s = tChart1[t]; Styles.Series.ChangeType(ref s, style); } }
private void MakeIsometric(Styles.Series series) { MakeIsometric(series.GetVertAxis, series.GetHorizAxis); }