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 1470

Summary: Axes Titles is overlapped the Axes labels
Product: Java TeeChart Reporter: sandra pazos <sandra>
Component: AndroidAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: 3.2015.0108   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2016-03-14 12:26:21 EDT
Axes Titles is overlapped the Axes labels. The code below shows the problem:

private void initializeChart()
{


    tChart1.getAspect().setView3D(false);
   // Create a new series of data:
    Series series1 = new Line( tChart1.getChart() ); // Bar,Area,Line etc
    Series series2 = new Line( tChart1.getChart() ); // Bar,Area,Line etc
    Series series3 = new Line( tChart1.getChart() ); // Bar,Area,Line etc

    series1.setTitle("Elim. As 83%");
    series2.setTitle("Elim. As 86%");
    series3.setTitle("Elim. As 89%");

    series1.fillSampleValues();
    series2.fillSampleValues();
    series3.fillSampleValues();

    // Cosmetic options:

    tChart1.getAxes().getBottom().getTitle().setVisible(true);
    tChart1.getAxes().getBottom().getTitle().setText("As en concentrado");
    tChart1.getAxes().getBottom().getTitle().getFont().setSize(30);
    tChart1.getAxes().getBottom().getLabels().setAngle(90);
    tChart1.getAxes().getBottom().getLabels().getFont().setSize(30);

    tChart1.getAxes().getLeft().getTitle().setVisible(true);
    tChart1.getAxes().getLeft().getTitle().setText("%As en calcina final (calcina+polvo)");
    tChart1.getAxes().getLeft().getTitle().getFont().setSize(30);
    tChart1.getAxes().getLeft().getLabels().getFont().setSize(30);


    tChart1.getHeader().getFont().setSize(40);
    tChart1.getHeader().setText("AnĂ¡lisis de sensibilidad As en calcina final");
    tChart1.getLegend().getFont().setSize(20);
    tChart1.refreshControl();
}