Annotation Type ExcelChart


@Retention(RUNTIME) @Target({}) public @interface ExcelChart
The Interface ExcelChart. ExcelChart is used to create different chart types.
This annotation is composed by:
  • id - is the chart grouping identifier
  • FieldName - chart identifier
  • Function - is the chart function
  • ChartTypes - to set the chart type
  • SizeRow - to set height in terms number of rows
  • SizeColumn - to set width in terms number of columns
  • LegendPosition - to configure the legend position
  • CategoryAxis - to set the category position
  • ValueAxis - to set the value position
  • xAxis - to set the axis categories description
  • Group - to group series
It is a property of the annotation ExcelCharts
  • Element Details

    • id

      String id
      Id.
      Returns:
      the string
    • excelChartCategories

      ExcelChartCategory[] excelChartCategories
      Excel chart categories.
      Returns:
      the excel chart category[]
    • xAxis

      String xAxis
      X axis.
      Returns:
      the string
    • chartTypes

      org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes
      Chart types.
      Returns:
      the chart types
      Default:
      LINE
    • sizeRow

      int sizeRow
      Size row.
      Returns:
      the int
    • sizeColumn

      int sizeColumn
      Size column.
      Returns:
      the int
    • legendPosition

      org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition
      Legend position.
      Returns:
      the legend position
      Default:
      BOTTOM
    • categoryAxis

      org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis
      Category axis.
      Returns:
      the axis position
      Default:
      BOTTOM
    • valueAxis

      org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis
      Value axis.
      Returns:
      the axis position
      Default:
      LEFT
    • group

      boolean group
      Group.
      Returns:
      true, if successful
      Default:
      false
    • title

      String title
      Title.
      Returns:
      the string
      Default:
      ""
    • lineColor

      org.apache.poi.xddf.usermodel.PresetColor[] lineColor
      Line color.
      Returns:
      the preset color
      Default:
      {BLACK}
    • axisLineColor

      org.apache.poi.xddf.usermodel.PresetColor axisLineColor
      Axis line color.
      Returns:
      the preset color
      Default:
      BLACK
    • gridLineColor

      org.apache.poi.xddf.usermodel.PresetColor gridLineColor
      Grid line color.
      Returns:
      the preset color
      Default:
      GRAY
    • crosses

      org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses
      Crosses.
      Returns:
      the axis crosses
      Default:
      AUTO_ZERO
    • crossBetween

      org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween
      Cross between.
      Returns:
      the axis cross between
      Default:
      BETWEEN
    • showLeaderLines

      boolean showLeaderLines
      Show leader lines.
      Returns:
      true, if successful
      Default:
      true
    • excelChartDataLabel

      ExcelChartDataLabel excelChartDataLabel
      Excel chart data label.
      Returns:
      the excel chart data label
      Default:
      @bld.generator.report.excel.annotation.ExcelChartDataLabel
    • smooth

      boolean smooth
      Smooth.
      Returns:
      true, if successful
      Default:
      true
    • spreadsheetVersion

      org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion
      Spreadsheet version.
      Returns:
      the spreadsheet version
      Default:
      EXCEL2007