public Function_Histogram() { InitializeComponent(); line1.FillSampleValues(500); // connect line to histogram series histogram1.DataSource = line1; histogram1.RefreshSeries(); }
public SeriesType_Line() { // This call is required by the Windows Form Designer. InitializeComponent(); lineSeries1.FillSampleValues(20); lineSeries2.FillSampleValues(20); }
public ToolAxisScroll() { // This call is required by the Windows Form Designer. InitializeComponent(); line1.FillSampleValues(); }
private void InitializeChart() { TChart chart; tChart1.Series.Add(line1 = new Steema.TeeChart.Styles.Line()); tChart1.Tools.Add(subChartTool1 = new Steema.TeeChart.Tools.SubChartTool()); chart = subChartTool1.Charts.AddChart("Chart0"); chart.Panel.Color = Color.Transparent; chart.Series.Add(new Steema.TeeChart.Styles.Bar()); chart[0].Marks.Visible = false; chart[0].Color = Color.FromArgb(100, Color.Blue); chart = subChartTool1.Charts.AddChart("Chart1"); chart.Panel.Color = Color.Transparent; chart.Series.Add(new Steema.TeeChart.Styles.Area()); chart[0].Color = Color.FromArgb(100, Color.Yellow); subChartTool1.Charts[1].Left = 220; line1.FillSampleValues(); for (int j = 0; j < subChartTool1.Charts.Count; j++) { chart = subChartTool1.Charts[j].Chart; for (int i = 0; i < line1.Count; i++) { chart[0].Add(line1.XValues[i], line1.YValues[i]); } } }
private void InitializeChart() { line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart); line1.FillSampleValues(); tChart1.Legend.Title.Visible = true; tChart1.Legend.Title.Text = "Values"; }
public Export_SVG() { // This call is required by the Windows Form Designer. InitializeComponent(); line1.FillSampleValues(10); area1.FillSampleValues(10); }
public Export_PDF() { // This call is required by the Windows Form Designer. InitializeComponent(); candle1.FillSampleValues(); line1.FillSampleValues(); }
public Axes_GridBands() { // This call is required by the Windows Form Designer. InitializeComponent(); line1.FillSampleValues(); // TODO: Add any initialization after the InitializeComponent call }
public Series_MouseEnter() { // This call is required by the Windows Form Designer. InitializeComponent(); barSeries1.FillSampleValues(6); line1.FillSampleValues(6); }
private void Form1_Load(object sender, System.EventArgs e) { line1.FillSampleValues(10); line2.FillSampleValues(10); cursorTool1.FollowMouse = true; cursorTool1.Style = Steema.TeeChart.Tools.CursorToolStyles.Vertical; cursorTool1.Pen.Color = Color.Black; cursorTool1.Pen.Width = 1; }
public Zoom_Scroll() { // This call is required by the Windows Form Designer. InitializeComponent(); lineSeries1.FillSampleValues(50); bReset.Enabled = false; }
private void InitialiseChart() { const int buttonCount = 5; ToolBarButton[] comButtons = new ToolBarButton[buttonCount]; foreach (ToolBarButton button in commander1.Buttons) { button.Pushed = false; switch (button.Tag.ToString()) { case "bNormal": break; case "bSeparator": comButtons[1] = button; comButtons[3] = button; break; case "bRotate": button.Pushed = true; comButtons[0] = button; break; case "bMove": break; case "bZoom": comButtons[2] = button; break; case "bDepth": break; case "bView3D": break; case "bEdit": comButtons[4] = button; break; case "bPrint": break; case "bCopy": break; case "bExport": break; } } commander1.Buttons = comButtons; commander1.Chart = tChart1; line1.FillSampleValues(); }
public Page_AutoScale() { InitializeComponent(); line1.FillSampleValues(100); tChart1.Page.MaxPointsPerPage = 10; tChart1.Aspect.View3D = false; tChart1.Page.Current = 4; tChart1.Page.AutoScale = true; lFirstValueIndex.Text = tChart1.Page.FirstValueIndex().ToString(); }
public Line_Outline() { // This call is required by the Windows Form Designer. InitializeComponent(); lineSeries1.FillSampleValues(25); this.buttonPen1.Pen = this.lineSeries1.LinePen; this.buttonPen2.Pen = this.lineSeries1.OutLine; buttonColor1.Color = lineSeries1.Color; }
public Tool_ExtraLegend() { // This call is required by the Windows Form Designer. InitializeComponent(); line1.FillSampleValues(); line2.FillSampleValues(); // Cosmetic... extraLegend1.Legend.Left = 50; extraLegend1.Legend.Top = 50; }
public Gallery_Panel() { // This call is required by the Windows Form Designer. InitializeComponent(); tChart1.Series.Add(lineSeries1 = new Steema.TeeChart.Styles.Line()); lineSeries1.FillSampleValues(10); galleryPanel1.NumRows = 3; galleryPanel1.NumCols = 2; galleryPanel1.CreateGallerySeries(typeof(TeeChart.Styles.Line)); galleryPanel1.CreateGallerySeries(typeof(TeeChart.Styles.Bar)); galleryPanel1.CreateGallerySeries(typeof(TeeChart.Styles.Points)); galleryPanel1.CreateGallerySeries(typeof(TeeChart.Styles.Area)); }
public AlternateAxisLabels() { // This call is required by the Windows Form Designer. InitializeComponent(); line1.FillSampleValues(); line1.Pointer.Brush.Gradient.Visible = true; line1.Pointer.Brush.Gradient.EndColor = Color.Red; for (int i = 0; i < tChart1.Axes.Count; ++i) { tChart1.Axes[i].Labels.Alternate = cbAlternate.Checked; } itemIndex = "rbBottom"; HighLight(); }
private void InitializeChart() { tChart1.Series.Add(line1 = new Steema.TeeChart.Styles.Line()); tChart1.Series.Add(line2 = new Steema.TeeChart.Styles.Line()); line1.FillSampleValues(); line2.FillSampleValues(); tChart1.Tools.Add(cursor = new Steema.TeeChart.Tools.CursorTool()); cursor.Series = line1; cursor.UseSeriesZ = true; cursor.FollowMouse = true; cursor.Style = Steema.TeeChart.Tools.CursorToolStyles.Scope; cursor.ScopeStyle = Steema.TeeChart.Tools.ScopeCursorStyle.Rectangle; cursor.ScopeSize = 20; cursor.HorizSize = 10; cursor.VertSize = 10; }
public Tool_Selector() { // This call is required by the Windows Form Designer. InitializeComponent(); this.tChart1.Aspect.View3D = false; selector1 = new Steema.TeeChart.Tools.Selector(tChart1.Chart); line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart); line1.Marks.Visible = true; line1.FillSampleValues(); propertyGrid1 = new PropertyGrid(); propertyGrid1.Dock = DockStyle.Left; propertyGrid1.Width = 200; this.chartContainer.Controls.Add(propertyGrid1); selector1.Selected += new Steema.TeeChart.Tools.SelectorSelectedEventHandler(selector1_Selected); }
private void InitializeChart() { tChart1.Aspect.View3D = false; tChart1.Series.Add(line1 = new Steema.TeeChart.Styles.Line()); tChart1.Series.Add(line2 = new Steema.TeeChart.Styles.Line()); line1.FillSampleValues(); for (int i = 0; i < line1.Count; i++) { line2.Add(line1.XValues[i], line1.YValues[i] / 2.0); } tChart1.Tools.Add(seriesBandTool1 = new Steema.TeeChart.Tools.SeriesBandTool()); seriesBandTool1.Series = line1; seriesBandTool1.Series2 = line2; line1.LinePen.Width = 3; line2.LinePen.Width = 3; seriesBandTool1.Gradient.Visible = true; seriesBandTool1.Gradient.StartColor = Color.Silver; }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); var tChart1 = new Steema.TeeChart.TChart(ApplicationContext); tChart1.Panel.Transparent = true; tChart1.Header.Text = "Multiple series made with Xamarin.Android"; tChart1.Zoom.Style = Steema.TeeChart.ZoomStyles.FullChart; tChart1.Axes.Top.Visible = false; tChart1.ContentDescription = "MultiChart"; var myTheme = new Steema.TeeChart.Themes.BlackIsBackTheme(tChart1.Chart); myTheme.Apply(); var area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart); area1.FillSampleValues(); area1.Gradient.Visible = true; area1.Gradient.StartColor = area1.Color; area1.Gradient.Transparency = 40; area1.Transparency = area1.Gradient.Transparency; var bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart); bar1.FillSampleValues(); bar1.Brush.Transparency = 30; bar1.Marks.Visible = false; bar1.Color = Steema.TeeChart.Themes.Theme.OnBlackPalette[1]; bar1.HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Top; var line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart); line1.FillSampleValues(); line1.Color = Steema.TeeChart.Themes.Theme.OnBlackPalette[3]; SetContentView(tChart1); }
public WelcomeForm() { // // Required for Windows Form Designer support // InitializeComponent(); // constants to rotate... // fill the series pieSeries1.FillSampleValues(7); //Color set with transparency pieSeries1.Colors[0] = Color.FromArgb(120, 224, 77, 44); pieSeries1.Colors[1] = Color.FromArgb(120, 244, 158, 54); pieSeries1.Colors[2] = Color.FromArgb(120, 251, 197, 65); pieSeries1.Colors[3] = Color.FromArgb(120, 254, 236, 58); pieSeries1.Colors[4] = Color.FromArgb(120, 154, 183, 194); pieSeries1.Colors[5] = Color.FromArgb(120, 50, 99, 125); pieSeries1.Colors[6] = Color.FromArgb(120, 28, 63, 95); pieSeries1.Colors[7] = Color.FromArgb(120, 170, 155, 51); lineSeries1.FillSampleValues(30); lineSeries2.FillSampleValues(30); fastLineSeries1.FillSampleValues(50); Delta = 1; DeltaElev = 1; DeltaRot = 1; TheSeries = pieSeries1; tChart1.Aspect.Zoom = 1; tChart1.Aspect.Orthogonal = false; tChart1.Aspect.Elevation = 315; tChart1.Aspect.Rotation = 360; tChart1.Aspect.Perspective = 0; tChart1.Aspect.Chart3DPercent = 40; r = new Random(); }
public Custom_PointerHexagon() { InitializeComponent(); line1.FillSampleValues(10); }
private void button1_Click(object sender, System.EventArgs e) { line1.FillSampleValues(10); }
private void InitialiseChart() { const int buttonCount = 5; #if VS2005 ToolStripItem[] comButtons = new ToolStripItem[buttonCount]; ToolStripButton tmpBut; #else ToolBarButton[] comButtons = new ToolBarButton[buttonCount]; #endif #if VS2005 foreach (ToolStripItem button in commander1.Items) #else foreach (ToolBarButton button in commander1.Buttons) #endif { #if VS2005 if (button is ToolStripButton) { tmpBut = button as ToolStripButton; tmpBut.Checked = false; #else button.Pushed = false; #endif switch (button.Tag.ToString()) { case "bNormal": break; #if !VS2005 case "bSeparator": comButtons[1] = button; comButtons[3] = button; break; #endif case "bRotate": #if VS2005 tmpBut.Checked = true; #else button.Pushed = true; #endif comButtons[0] = button; break; case "bMove": break; case "bZoom": comButtons[2] = button; break; case "bDepth": break; case "bView3D": break; case "bEdit": comButtons[4] = button; break; case "bPrint": break; case "bCopy": break; case "bExport": break; } #if VS2005 } else if (button is ToolStripSeparator) { switch (button.Tag.ToString()) { case "bSeparator": comButtons[1] = button; comButtons[3] = button; break; } } #endif } #if VS2005 commander1.Items = comButtons; #else commander1.Buttons = comButtons; #endif commander1.Chart = tChart1; line1.FillSampleValues(); }