Search in sources :

Example 1 with AxisOptionsRecord

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

the class HSSFChart method createAxisOptionsRecord.

private AxisOptionsRecord createAxisOptionsRecord() {
    AxisOptionsRecord r = new AxisOptionsRecord();
    r.setMinimumCategory((short) -28644);
    r.setMaximumCategory((short) -28715);
    r.setMajorUnitValue((short) 2);
    r.setMajorUnit((short) 0);
    r.setMinorUnitValue((short) 1);
    r.setMinorUnit((short) 0);
    r.setBaseUnit((short) 0);
    r.setCrossingPoint((short) -28644);
    r.setDefaultMinimum(true);
    r.setDefaultMaximum(true);
    r.setDefaultMajor(true);
    r.setDefaultMinorUnit(true);
    r.setIsDate(true);
    r.setDefaultBase(true);
    r.setDefaultCross(true);
    r.setDefaultDateSettings(true);
    return r;
}
Also used : AxisOptionsRecord(org.apache.poi.hssf.record.chart.AxisOptionsRecord)

Aggregations

AxisOptionsRecord (org.apache.poi.hssf.record.chart.AxisOptionsRecord)1