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 - Axes Titles is overlapped the Axes labels
Summary: Axes Titles is overlapped the Axes labels
Status: CONFIRMED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Android (show other bugs)
Version: 3.2015.0108
Hardware: PC Windows
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 12:26 EDT by sandra pazos
Modified: 2016-03-14 12:26 EDT (History)
0 users

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 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();
}