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 - The footer title automatic position isn't correct
Summary: The footer title automatic position isn't correct
Status: RESOLVED FIXED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: 3.2015.0108
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-27 06:49 EST by sandra pazos
Modified: 2015-04-28 10:29 EDT (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.