public class ExcelChartImpl extends ExcelAnnotationImpl<ExcelChart>
| Constructor and Description |
|---|
ExcelChartImpl()
Instantiates a new excel chart impl.
|
ExcelChartImpl(String id,
ExcelChartCategory[] excelChartCategories,
org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes,
int sizeRow,
int sizeColumn,
org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition,
org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis,
org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis,
String xAxis,
boolean group,
String title,
org.apache.poi.xddf.usermodel.PresetColor[] lineColor,
org.apache.poi.xddf.usermodel.PresetColor axisLineColor,
org.apache.poi.xddf.usermodel.PresetColor gridLineColor,
org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses,
org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween,
boolean showLeaderLines,
ExcelChartDataLabel excelChartDataLabel,
boolean smooth,
org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion)
Instantiates a new excel chart impl.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Equals.
|
org.apache.poi.xddf.usermodel.PresetColor |
getAxisLineColor()
Gets the axis line color.
|
org.apache.poi.xddf.usermodel.chart.AxisPosition |
getCategoryAxis()
Gets the category axis.
|
org.apache.poi.xddf.usermodel.chart.ChartTypes |
getChartTypes()
Gets the chart types.
|
org.apache.poi.xddf.usermodel.chart.AxisCrossBetween |
getCrossBetween()
Gets the cross between.
|
org.apache.poi.xddf.usermodel.chart.AxisCrosses |
getCrosses()
Gets the crosses.
|
ExcelChartCategory[] |
getExcelChartCategories()
Gets the excel chart categories.
|
ExcelChartDataLabel |
getExcelChartDataLabel()
Gets the excel chart data label.
|
org.apache.poi.xddf.usermodel.PresetColor |
getGridLineColor()
Gets the grid line color.
|
String |
getId()
Gets the id.
|
org.apache.poi.xddf.usermodel.chart.LegendPosition |
getLegendPosition()
Gets the legend position.
|
org.apache.poi.xddf.usermodel.PresetColor[] |
getLineColor()
Gets the line color.
|
int |
getSizeColumn()
Gets the size column.
|
int |
getSizeRow()
Gets the size row.
|
org.apache.poi.ss.SpreadsheetVersion |
getSpreadsheetVersion()
Gets the spreadsheet version.
|
String |
getTitle()
Gets the title.
|
org.apache.poi.xddf.usermodel.chart.AxisPosition |
getValueAxis()
Gets the value axis.
|
String |
getxAxis()
Gets the x axis.
|
int |
hashCode()
Hash code.
|
boolean |
isGroup()
Checks if is group.
|
boolean |
isShowLeaderLines()
Checks if is show leader lines.
|
boolean |
isSmooth()
Checks if is smooth.
|
void |
setAxisLineColor(org.apache.poi.xddf.usermodel.PresetColor axisLineColor)
Sets the axis line color.
|
void |
setCategoryAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis)
Sets the category axis.
|
void |
setChartTypes(org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes)
Sets the chart types.
|
void |
setCrossBetween(org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween)
Sets the cross between.
|
void |
setCrosses(org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses)
Sets the crosses.
|
void |
setExcelChartCategories(ExcelChartCategory[] excelChartCategories)
Sets the excel chart categories.
|
void |
setExcelChartDataLabel(ExcelChartDataLabel excelChartDataLabel)
Sets the excel chart data label.
|
void |
setGridLineColor(org.apache.poi.xddf.usermodel.PresetColor gridLineColor)
Sets the grid line color.
|
void |
setGroup(boolean group)
Sets the group.
|
void |
setId(String id)
Sets the id.
|
void |
setLegendPosition(org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition)
Sets the legend position.
|
void |
setLineColor(org.apache.poi.xddf.usermodel.PresetColor... lineColor)
Sets the line color.
|
void |
setShowLeaderLines(boolean showLeaderLines)
Sets the show leader lines.
|
void |
setSizeColumn(int sizeColumn)
Sets the size column.
|
void |
setSizeRow(int sizeRow)
Sets the size row.
|
void |
setSmooth(boolean smooth)
Sets the smooth.
|
void |
setSpreadsheetVersion(org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion)
Sets the spreadsheet version.
|
void |
setTitle(String title)
Sets the title.
|
void |
setValueAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis)
Sets the value axis.
|
void |
setxAxis(String xAxis)
Sets the x axis.
|
clone, getAnnotation, getClassAnnotationpublic ExcelChartImpl(String id, ExcelChartCategory[] excelChartCategories, org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes, int sizeRow, int sizeColumn, org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition, org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis, org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis, String xAxis, boolean group, String title, org.apache.poi.xddf.usermodel.PresetColor[] lineColor, org.apache.poi.xddf.usermodel.PresetColor axisLineColor, org.apache.poi.xddf.usermodel.PresetColor gridLineColor, org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses, org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween, boolean showLeaderLines, ExcelChartDataLabel excelChartDataLabel, boolean smooth, org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion)
id - the idexcelChartCategories - the excel chart categorieschartTypes - the chart typessizeRow - the size rowsizeColumn - the size columnlegendPosition - the legend positioncategoryAxis - the category axisvalueAxis - the value axisxAxis - the x axisgroup - the grouptitle - the titlelineColor - the line coloraxisLineColor - the axis line colorgridLineColor - the grid line colorcrosses - the crossescrossBetween - the cross betweenshowLeaderLines - the show leader linesexcelChartDataLabel - the excel chart data labelsmooth - the smoothspreadsheetVersion - the spreadsheet versionpublic ExcelChartImpl()
public org.apache.poi.ss.SpreadsheetVersion getSpreadsheetVersion()
public void setSpreadsheetVersion(org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion)
spreadsheetVersion - the new spreadsheet versionpublic ExcelChartCategory[] getExcelChartCategories()
public void setExcelChartCategories(ExcelChartCategory[] excelChartCategories)
excelChartCategories - the new excel chart categoriespublic String getId()
public void setId(String id)
id - the new idpublic org.apache.poi.xddf.usermodel.chart.AxisCrosses getCrosses()
public void setCrosses(org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses)
crosses - the new crossespublic org.apache.poi.xddf.usermodel.chart.AxisCrossBetween getCrossBetween()
public void setCrossBetween(org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween)
crossBetween - the new cross betweenpublic org.apache.poi.xddf.usermodel.chart.ChartTypes getChartTypes()
public void setChartTypes(org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes)
chartTypes - the new chart typespublic int getSizeRow()
public void setSizeRow(int sizeRow)
sizeRow - the new size rowpublic int getSizeColumn()
public void setSizeColumn(int sizeColumn)
sizeColumn - the new size columnpublic org.apache.poi.xddf.usermodel.chart.LegendPosition getLegendPosition()
public void setLegendPosition(org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition)
legendPosition - the new legend positionpublic org.apache.poi.xddf.usermodel.chart.AxisPosition getCategoryAxis()
public void setCategoryAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis)
categoryAxis - the new category axispublic org.apache.poi.xddf.usermodel.chart.AxisPosition getValueAxis()
public void setValueAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis)
valueAxis - the new value axispublic String getxAxis()
public void setxAxis(String xAxis)
xAxis - the new x axispublic boolean isGroup()
public void setGroup(boolean group)
group - the new grouppublic String getTitle()
public void setTitle(String title)
title - the new titlepublic org.apache.poi.xddf.usermodel.PresetColor[] getLineColor()
public void setLineColor(org.apache.poi.xddf.usermodel.PresetColor... lineColor)
lineColor - the new line colorpublic org.apache.poi.xddf.usermodel.PresetColor getAxisLineColor()
public void setAxisLineColor(org.apache.poi.xddf.usermodel.PresetColor axisLineColor)
axisLineColor - the new axis line colorpublic org.apache.poi.xddf.usermodel.PresetColor getGridLineColor()
public void setGridLineColor(org.apache.poi.xddf.usermodel.PresetColor gridLineColor)
gridLineColor - the new grid line colorpublic boolean isShowLeaderLines()
public void setShowLeaderLines(boolean showLeaderLines)
showLeaderLines - the new show leader linespublic ExcelChartDataLabel getExcelChartDataLabel()
public void setExcelChartDataLabel(ExcelChartDataLabel excelChartDataLabel)
excelChartDataLabel - the new excel chart data labelpublic boolean isSmooth()
public void setSmooth(boolean smooth)
smooth - the new smoothCopyright © 2022. All rights reserved.