Class ExcelChart<T extends ExcelChart<T>>

java.lang.Object
com.amalgamasimulation.excel.ExcelChart<T>
Direct Known Subclasses:
ExcelBarChart, ExcelLineChart

public abstract class ExcelChart<T extends ExcelChart<T>> extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected ExcelFile
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ExcelChart(ExcelFile excelFile, String sheetName, int row1, int col1, int row2, int col2)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static org.apache.poi.xddf.usermodel.chart.XDDFChartData.Series
    addSeries(org.apache.poi.xddf.usermodel.chart.XDDFChartData data, org.apache.poi.xddf.usermodel.chart.XDDFDataSource<Double> xs, String name, org.apache.poi.xssf.usermodel.XSSFSheet sheet, int firstRow, int lastRow, int firstCol, int lastCol, Color color)
     
    protected org.apache.poi.xddf.usermodel.chart.XDDFChartData
    createChartData(org.apache.poi.xssf.usermodel.XSSFChart chart, org.apache.poi.xddf.usermodel.chart.ChartTypes chartType, String categoryAxisName, String valuesAxisName, org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxisPosition, org.apache.poi.xddf.usermodel.chart.AxisPosition valuesAxisPosition, org.apache.poi.xddf.usermodel.chart.AxisCrossBetween valuesAxisCrossBetween)
     
    setLegendPosition(org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ExcelChart

      protected ExcelChart(ExcelFile excelFile, String sheetName, int row1, int col1, int row2, int col2)
  • Method Details

    • setTitle

      public T setTitle(String title)
    • setLegendPosition

      public T setLegendPosition(org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition)
    • createChartData

      protected org.apache.poi.xddf.usermodel.chart.XDDFChartData createChartData(org.apache.poi.xssf.usermodel.XSSFChart chart, org.apache.poi.xddf.usermodel.chart.ChartTypes chartType, String categoryAxisName, String valuesAxisName, org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxisPosition, org.apache.poi.xddf.usermodel.chart.AxisPosition valuesAxisPosition, org.apache.poi.xddf.usermodel.chart.AxisCrossBetween valuesAxisCrossBetween)
    • addSeries

      protected static org.apache.poi.xddf.usermodel.chart.XDDFChartData.Series addSeries(org.apache.poi.xddf.usermodel.chart.XDDFChartData data, org.apache.poi.xddf.usermodel.chart.XDDFDataSource<Double> xs, String name, org.apache.poi.xssf.usermodel.XSSFSheet sheet, int firstRow, int lastRow, int firstCol, int lastCol, Color color)