Search in sources :

Example 1 with TickRecord

use of org.apache.poi.hssf.record.chart.TickRecord in project poi by apache.

the class HSSFChart method createTickRecord2.

private TickRecord createTickRecord2() {
    TickRecord r = createTickRecord1();
    r.setZero3((short) 0);
    return r;
}
Also used : TickRecord(org.apache.poi.hssf.record.chart.TickRecord)

Example 2 with TickRecord

use of org.apache.poi.hssf.record.chart.TickRecord in project poi by apache.

the class HSSFChart method createTickRecord1.

private TickRecord createTickRecord1() {
    TickRecord r = new TickRecord();
    r.setMajorTickType((byte) 2);
    r.setMinorTickType((byte) 0);
    r.setLabelPosition((byte) 3);
    r.setBackground((byte) 1);
    r.setLabelColorRgb(0);
    r.setZero1((short) 0);
    r.setZero2((short) 0);
    r.setZero3((short) 45);
    r.setAutorotate(true);
    r.setAutoTextBackground(true);
    r.setRotation((short) 0);
    r.setAutorotate(true);
    r.setTickColor((short) 77);
    return r;
}
Also used : TickRecord(org.apache.poi.hssf.record.chart.TickRecord)

Aggregations

TickRecord (org.apache.poi.hssf.record.chart.TickRecord)2