Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 380

Summary: [TF02013544] WebChart1.Chart.Axes.Bottom.Labels.Angle = 45; only maximum 7 labels ...
Product: .NET TeeChart Reporter: narcís calvet <narcis>
Component: WebChartAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major CC: priyanka.vispute
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description narcís calvet 2013-11-20 11:26:36 EST
WebChart1.Chart.Axes.Bottom.Labels.Angle = 45; only maximum 7 labels display but if I put WebChart1.Chart.Axes.Bottom.Labels.Angle = 90; it displays all (more than 20also). But doesn't work completelly fine with 90 degrees as can be seen in TChartV3Tester.zip project attached. Setting Angle=90 admits little bit larger labels than setting it to 0


what should be done to display all using WebChart1.Chart.Axes.Bottom.Labels.Angle = 45; and also when I define this property graph size reduces to half.
Code to reproduce:
public Form1()
 {
 InitializeComponent();
 InitializeChart();
 }

 private void InitializeChart()
 {
 tChart1.Aspect.View3D = false;
 tChart1.Legend.Visible = false;

 Steema.TeeChart.Styles.Bar bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);

 bar1.Marks.Visible = false;

 Random y = new Random();
 for (int i = 0; i &lt; 50; i++)
 {
 bar1.Add(y.Next(), "bar number " + (i + 1).ToString());
 }

 tChart1.Axes.Bottom.Labels.Angle = 45;
 } [created:2008-11-06T12:39:02.000+01:00 reported by:narcis@steema.com reported in version:Build 3.5.3225.32183 (TeeChart for .NET)]