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 1105

Summary: The footer title automatic position isn't correct
Product: Java TeeChart Reporter: sandra pazos <sandra>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: davide.porrini, yeray
Priority: High    
Version: 3.2015.0108   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2015-01-27 06:49:17 EST
The footer title automatic position isn't correct. The code below shows the problem: 
static TChart tChart1;
	
    public static void main(String [] args) {
        final Display display = new Display();
        Shell shell = new Shell(display);
        shell.setLayout(new FillLayout());
        shell.setSize(800,500);
    
        //createContent(); 
        createChart(shell); 
        initializeChart();

   
       shell.open();
     
       while (!shell.isDisposed()) {
        	if (!display.readAndDispatch()) {
        		display.sleep();
        	}
        }

        
     //   display.dispose();
    }

	private static void createChart(Shell tmpShell) 
	{
		tChart1 = new TChart(tmpShell, 0);
	}
	private static void initializeChart() {
		Line series1 = new Line(tChart1.getChart()); 
		tChart1.getAspect().setView3D(false);
		series1.fillSampleValues();
       		 tChart1.getSubFooter().setVisible(true);
        		tChart1.getSubFooter().setText("Time(s)");}

That doesn't occur in the 3.2014.0519.