I'm using Steema's TeeChart.WPF.
The chart I'm implementing contains three Series from TeeChart.WPF.Styles.Line and TeeChart.WPF.Styles.Points.
TeeChart is adjusting the X-Axis labeling to prevent overlapping etc.
I would like to make sure that every label within the visible range gets drawn.
I'm adjusting the X-axis' properties with
Code: Select all
C#
leftAxis.Labels.Font.Size = leftAxis.Title.Font.Size;
leftAxis.Labels.Font.Name = leftAxis.Title.Font.Name;
leftAxis.Labels.Font.Color = leftAxis.Title.Font.Color;
leftAxis.Grid.Visible = true;
leftAxis.Grid.Color = Colors.DarkGray;
//leftAxis.Grid.DrawEvery = 1;
leftAxis.MinorGrid.Visible = false;
leftAxis.MinorTicks.Visible = false;
leftAxis.Ticks.Color = leftAxis.Grid.Color;
leftAxis.TickOnLabelsOnly = true;
leftAxis.Increment = 1.0;
leftAxis.AutomaticMaximum = false;
leftAxis.AutomaticMinimum = false;
Thank you again.
Yours, Jens