Search found 173 matches: multiple axes
Searched query: multiple axes
- Tue Apr 16, 2024 7:09 pm
- Forum: .NET
- Topic: Adding multiple points after Template.Load crashes
- Replies: 1
- Views: 415
Adding multiple points after Template.Load crashes
... public Form1() { InitializeComponent(); tChart1 = new Steema.TeeChart.TChart(); this.Controls.Add(tChart1); tChart1.Dock = DockStyle.Fill; tChart1.Axes.Bottom.Visible = true; tChart1.Axes.Left.Visible = true; tChart1.Axes.Right.Visible = false; tChart1.Legend.Visible = false; Line line = new Line(); ...
- Fri Aug 04, 2023 8:03 am
- Forum: .NET
- Topic: Howto make automatic labels of the left axis be a multiple of some value
- Replies: 16
- Views: 29820
Re: Howto make automatic labels of the left axis be a multiple of some value
... var multiplier = Utils.Round(num / max_labels); int GetValue(int index) { return _increment * multiplier * index; } if (sender == tChart1.Axes.Left) { e.Stop = false; if(e.LabelIndex <= num) { e.LabelValue = GetValue(e.LabelIndex); } else { e.Stop = true; } } }
- Thu Aug 03, 2023 8:34 am
- Forum: .NET
- Topic: Howto make automatic labels of the left axis be a multiple of some value
- Replies: 16
- Views: 29820
Re: Howto make automatic labels of the left axis be a multiple of some value
... var multiplier = Utils.Round(_max / _increment / num); int GetValue(int index) { return _increment * multiplier * index; } if (sender == tChart1.Axes.Left) { e.Stop = false; if(e.LabelIndex <= num) { e.LabelValue = GetValue(e.LabelIndex); } else { e.Stop = true; } } } Screenshot from 2023-08-03 ...
- Thu Aug 03, 2023 7:52 am
- Forum: .NET
- Topic: Howto make automatic labels of the left axis be a multiple of some value
- Replies: 16
- Views: 29820
Re: Howto make automatic labels of the left axis be a multiple of some value
... = new Line(tChart1.Chart); var rnd = new Random(); for (int i = 0; i < 50; i++) { line1.Add(rnd.Next(_max)); line2.Add(rnd.Next(_max)); } tChart1.Axes.Left.Increment = _increment; tChart1.Axes.Left.Labels.Separation = 1; tChart1.Axes.Left.Grid.DrawEvery = 1; tChart1.Axes.Left.AutomaticMinimum ...
- Tue Aug 01, 2023 11:38 am
- Forum: .NET
- Topic: Howto make automatic labels of the left axis be a multiple of some value
- Replies: 16
- Views: 29820
Re: Howto make automatic labels of the left axis be a multiple of some value
Thank you. That is exactly what I need. Only one question left: what does tChart1.Axes.Left.Labels.Separation = 1; stand for? I see no changes on a chart when adjusting that value (I've tried 2, 3, 5 and 10).
- Tue Aug 01, 2023 11:06 am
- Forum: .NET
- Topic: Howto make automatic labels of the left axis be a multiple of some value
- Replies: 16
- Views: 29820
Re: Howto make automatic labels of the left axis be a multiple of some value
... var rnd = new Random(); var max = 900; for (int i = 0; i < 50; i++) { line1.Add(rnd.Next(max)); line2.Add(rnd.Next(max)); } tChart1.Axes.Left.Increment = 125; tChart1.Axes.Left.Labels.Separation = 1; tChart1.Axes.Left.Grid.DrawEvery = 1; tChart1.Axes.Left.AutomaticMinimum = false; ...
- Thu May 26, 2022 8:32 am
- Forum: .NET
- Topic: Need to show multiple X axis with different data
- Replies: 3
- Views: 4639
Re: Need to show multiple X axis with different data
Hello, please find attached a project demonstrating the use of multiple X axes, the code of which comes from one of the forum posts I suggested you to look at. MultiAxes.zip ...
- Wed May 25, 2022 10:36 am
- Forum: .NET
- Topic: Need to show multiple X axis with different data
- Replies: 3
- Views: 4639
Re: Need to show multiple X axis with different data
Thank you for your response. Tried example shared by you but not getting as per our requirement. pls see below image. MultiXAxes_Issue2.png my code: 'line2 Y2 = (From p In dtMasterSales.Tables(1).AsEnumerable() Select p.Field(Of Single)(sTagColNm)).ToArray() With line2 .Color = Drawing.Color.Red ...
- Fri May 20, 2022 12:38 pm
- Forum: .NET
- Topic: Need to show multiple X axis with different data
- Replies: 3
- Views: 4639
Re: Need to show multiple X axis with different data
... in response to this message. There are several questions related to ' multiple axes ' and ' multiple custom ' which may be of help; there is also the .NET Framework Windows ...
- Wed May 18, 2022 9:17 am
- Forum: .NET
- Topic: Need to show multiple X axis with different data
- Replies: 3
- Views: 4639
Need to show multiple X axis with different data
Hello, Greetings. I got an assignment to display a chart which has a multiple X axes. It will show different data as pass it through a dataset. I tried to add sub-axes at bottom ...
- Thu Feb 04, 2021 1:53 pm
- Forum: .NET
- Topic: Bars are displyed saperately w.r.t left and right axes
- Replies: 4
- Views: 9918
Bars are displyed saperately w.r.t left and right axes
Hi Steema, We have used TChart.Net 2012 and created a bar chat. In which we have plotted multiple bar series on left and bottom axis. Now we want to add some bar series on Right and bottom axis. When we created this chart then the xyz bar snugly with "Jan" label. If ...
- Fri Dec 20, 2019 9:47 am
- Forum: .NET
- Topic: How to draw multiple line without adding series?
- Replies: 4
- Views: 14880
Re: How to draw multiple line without adding series?
... value of the Axis value for you, e.g. private void TChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g) { var yVal = tChart1.Axes.Left.CalcPosValue(450); g.Pen.Color = Color.Red; g.HorizontalLine(tChart1.Chart.ChartRect.Left, tChart1.Chart.ChartRect.Right, yVal); }
- Fri May 19, 2017 2:26 pm
- Forum: .NET
- Topic: Xamarin - Custom Axis Zoom bug
- Replies: 7
- Views: 16026
Re: Xamarin - Custom Axis Zoom bug
Hello yang ching, multiple horizontal axes is a requirement in our app, can we have an estimate of when the bug can be fixed roughly? I've incremented ...
- Fri May 19, 2017 4:10 am
- Forum: .NET
- Topic: Xamarin - Custom Axis Zoom bug
- Replies: 7
- Views: 16026
Re: Xamarin - Custom Axis Zoom bug
Hi Sandra,
thank you for the confirmation.
multiple horizontal axes is a requirement in our app, can we have an estimate of when the bug can be fixed roughly? thank you.
thank you for the confirmation.
multiple horizontal axes is a requirement in our app, can we have an estimate of when the bug can be fixed roughly? thank you.
- Tue May 16, 2017 2:30 pm
- Forum: .NET
- Topic: Xamarin - Custom Axis Zoom bug
- Replies: 7
- Views: 16026
Re: Xamarin - Custom Axis Zoom bug
... customAxis.Automatic = true; customAxis.Horizontal = true; tChart1.Axes.Custom.Add(customAxis); tChart1[0].HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Bottom; ... Steema.TeeChart.PositionUnits.Percent; in our project, we need to have multiple horizontal custom axes, and multiple HorizontalLine ...