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 884

Summary: bug with label rotation on chart
Product: Java TeeChart Reporter: alex
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: marc, yeray
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: screenshot

Description alex 2014-08-13 07:34:05 EDT
Please, create any series. Go to chart editor, select chart->Axis->Bottom Axis for example. Go to tab Labels and try to set angle to -45 degrees and see chart. The attached screenshot shows a similar bug. Please fix it
Comment 1 alex 2014-08-13 07:35:32 EDT
Created attachment 262 [details]
screenshot
Comment 2 yeray alonso 2014-08-28 08:03:34 EDT
I've been able to reproduce this with the following simple example.

        tChart1.getAspect().setView3D(false);
        tChart1.getHeader().setVisible(false);
        
        Bar bar1 = new Bar(tChart1.getChart());
        bar1.fillSampleValues();
        
        for (int i = 0; i < bar1.getCount(); i++) {
            bar1.getLabels().setString(i, "long label for the value nÂș" + i);
        }
        
        tChart1.getAxes().getBottom().getLabels().setAngle(315);