|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.xls.core.spreadsheet.XlsObject
com.spire.xls.core.spreadsheet.XlsWorksheetBase
com.spire.xls.core.spreadsheet.charts.XlsChart
public class XlsChart
| Constructor Summary | |
|---|---|
XlsChart(java.lang.Object parent)
|
|
| Method Summary | |
|---|---|
boolean |
canChartBubbleLabel()
Returns True if chart can have bubble data labels. |
boolean |
canChartHaveSeriesLines()
Returns True if chart can have series lines. |
boolean |
canChartPercentageLabel()
Returns True if chart can have percentage data labels. |
boolean |
checkForSupportGridLine()
Chacks for existing gridlines in chart. |
XlsChart |
deepClone(java.util.HashMap hashNewNames,
java.lang.Object parent,
java.util.HashMap dicFontIndexes)
Clones current instance. |
java.lang.Object |
deepClone(java.lang.Object parent)
Clones current instance. |
boolean |
getAutoScaling()
True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart. |
java.lang.String |
getCategoryAxisTitle()
Title of the category axis. |
IChartFrameFormat |
getChartArea()
Returns an object that represents the complete chart area for the chart. |
java.lang.String |
getChartStartType()
Returns start type of chart type. |
java.lang.String |
getChartTitle()
Title of the chart. |
IFont |
getChartTitleFont()
Returns object that describes chart title area. |
ExcelChartType |
getChartType()
Type of the chart. |
IXLSRange |
getDataRange()
DataRange for the chart series. |
IChartDataTable |
getDataTable()
Represents charts dataTable object. |
ChartLinePatternType |
getDefaultLinePattern()
Returns default line pattern for the chart. |
int |
getDepthPercent()
Returns or sets the depth of a 3-D chart as a percentage of the chart width (between 20 and 2000 percent). |
ExcelChartType |
getDestinationType()
Gets chart type after type change. |
boolean |
getDisplayAxisFieldButtons()
Gets or sets a value indicating whether [show axis field buttons]. |
ChartPlotEmptyType |
getDisplayBlanksAs()
Represents the way that blank cells are plotted on a chart. |
boolean |
getDisplayEntireFieldButtons()
Gets or sets a value indicating whether [show all field buttons]. |
boolean |
getDisplayLegendFieldButtons()
Gets or sets a value indicating whether [show legend field buttons]. |
boolean |
getDisplayValueFieldButtons()
Gets or sets a value indicating whether [show value field buttons]. |
int |
getElevation()
Returns or sets the elevation of the 3-D chart view, in degrees (?0 to +90 degrees). |
IChartWallOrFloor |
getFloor()
Represents chart floor. |
FontWrapper |
getFont()
Gets font which used for displaying axis text . |
int |
getGapDepth()
Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) |
double |
getHeight()
Height of the chart in points (1/72 inch). |
int |
getHeightPercent()
Returns or sets the height of a 3-D chart as a percentage of the chart width (between 5 and 500 percent). |
IChartLegend |
getLegend()
Represents chart legend. |
boolean |
getNeedDataFormat()
Returns True if chart needs data format to be saved. |
boolean |
getNeedDropBar()
Returns True if chart needs drop bars to be saved. |
boolean |
getNeedMarkerFormat()
Returns True if chart needs marker format to be saved. |
boolean |
getNoPlotArea()
Returns True if chart has no plot area. |
IChartPageSetup |
getPageSetup()
Page setup for the chart. |
int |
getPerspective()
Returns or sets the perspective for the 3-D chart view (0 to 100). |
ExcelChartType |
getPivotChartType()
Gets or sets the type of the pivot chart. |
PivotTable |
getPivotTable()
Gets or sets the pivot source. |
IChartFrameFormat |
getPlotArea()
Returns plot area frame format. |
boolean |
getPlotVisibleOnly()
True if only visible cells are plotted. |
IChartCategoryAxis |
getPrimaryCategoryAxis()
Primary category axis. |
IChartSeriesAxis |
getPrimarySerieAxis()
Primary serie axis. |
IChartValueAxis |
getPrimaryValueAxis()
Primary value axis. |
boolean |
getRightAngleAxes()
True if the chart axes are at right angles, independent of chart rotation or elevation. |
int |
getRotation()
Returns or sets the rotation of the 3-D chart view (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). |
IChartCategoryAxis |
getSecondaryCategoryAxis()
Secondary category axis. |
java.lang.String |
getSecondaryCategoryAxisTitle()
Title of the secondary category axis. |
IChartValueAxis |
getSecondaryValueAxis()
Secondary value axis. |
java.lang.String |
getSecondaryValueAxisTitle()
Title of the secondary value axis. |
java.lang.String |
getSeriesAxisTitle()
Title of the series axis. |
boolean |
getSeriesDataFromRange()
True if series are in rows in DataRange; False otherwise. |
boolean |
getShowReportFilterFieldButtons()
Gets or sets a value indicating whether [show report filter field buttons]. |
boolean |
getSizeWithWindow()
True if Microsoft Excel resizes the chart to match the size of the chart sheet window. |
int |
getStyle()
Style index for Excel 2007 chart. |
boolean |
getSupportWallsAndFloor()
Indicates whether this chart supports walls and floor. |
java.lang.String |
getValueAxisTitle()
Title of the value axis. |
IChartWallOrFloor |
getWalls()
Represents chart walls. |
boolean |
getWallsAndGridlines2D()
True if gridlines are drawn two-dimensionally on a 3-D chart. |
double |
getWidth()
Width of the chart in points (1/72 inch). |
double |
getXPos()
X coordinate of the upper-left corner of the chart in points (1/72 inch). |
double |
getYPos()
Y coordinate of the upper-left corner of the chart in points (1/72 inch). |
boolean |
getZoomToFit()
Gets or sets zoomToFit value. |
boolean |
hasChartArea()
Indicates whether chart has chart area. |
void |
hasChartArea(boolean value)
Indicates whether chart has chart area. |
boolean |
hasChartTitle()
Indicates wheather the chart has title |
boolean |
hasDataTable()
True if the chart has a data table. |
void |
hasDataTable(boolean value)
True if the chart has a data table. |
boolean |
hasFloor()
Gets value indicating whether floor object was created. |
boolean |
hasLegend()
True if the chart has a legend object. |
void |
hasLegend(boolean value)
True if the chart has a legend object. |
boolean |
hasPivotTable()
Indicates whether contains pivot table. |
boolean |
hasPlotArea()
Indicates whether chart has plot area. |
void |
hasPlotArea(boolean value)
Indicates whether chart has plot area. |
boolean |
hasWalls()
Gets value indicating whether floor object was created. |
boolean |
isCategoryAxisAvail()
Indicates whether chart has a category axis. |
boolean |
isChart_100()
Returns True if chart is 100%. |
boolean |
isChart3D()
Returns True if chart is 3D. |
boolean |
isChartBar()
Returns True if chart is a bar chart. |
boolean |
isChartBubble()
Returns True if chart is a bubble chart. |
boolean |
isChartCone()
Returns True if chart is a conical shape. |
boolean |
isChartCylinder()
Returns True if chart is a cylinder shape. |
boolean |
isChartDoughnut()
Returns True if chart is a doughnut chart. |
boolean |
isChartExploded()
Returns True if chart is exploded. |
boolean |
isChartFloor()
Returns True if chart has floor. |
boolean |
isChartLine()
Returns True if chart is line. |
boolean |
isChartPie()
Returns True if chart is a pie chart. |
boolean |
isChartPyramid()
Returns True if chart is a pyramid shape. |
boolean |
isChartRadar()
Returns True if chart is a radar chart. |
boolean |
isChartScatter()
Returns True if chart is a scatter chart. |
boolean |
isChartSmoothedLine()
Returns True if chart has smoothed lines. |
boolean |
isChartStock()
Returns True if this is a stock chart. |
boolean |
isChartVeryColor()
Returns True if chart should have a different color for each series value. |
boolean |
isChartVolume()
Returns True if chart is a stock chart with volume. |
boolean |
isChartWalls()
Returns True if chart has walls. |
boolean |
isClustered()
Returns True if chart is a clustered chart. |
boolean |
isEmbeded()
Gets value indicating whether chart is embeded into worksheet. |
boolean |
isPerspective()
Returns True if chart has perspective. |
boolean |
isPivot3DChart()
Gets a value indicating whether this instance is pivot 3D chart . |
boolean |
isSecondaryAxes()
Returns True if at least one of the secondary axes is present. |
void |
isSecondaryAxes(boolean value)
Returns True if at least one of the secondary axes is present. |
boolean |
isSeriesLines()
Returns True if chart has series lines. |
boolean |
isSpecialDataLabels()
Returns True if chart needs special data labels serialization. |
boolean |
isStacked()
Returns True if chart is stacked. |
boolean |
isValueAxisAvail()
Indicates whehter chart has a value axis. |
void |
setAutoScaling(boolean value)
True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart. |
void |
setCategoryAxisTitle(java.lang.String value)
Title of the category axis. |
void |
setChartTitle(java.lang.String value)
Title of the chart. |
void |
setChartType(ExcelChartType value)
Type of the chart. |
void |
setDataRange(IXLSRange value)
DataRange for the chart series. |
void |
setDepthPercent(int value)
Returns or sets the depth of a 3-D chart as a percentage of the chart width (between 20 and 2000 percent). |
void |
setDestinationType(ExcelChartType value)
Gets chart type after type change. |
void |
setDisplayAxisFieldButtons(boolean value)
Gets or sets a value indicating whether [show axis field buttons]. |
void |
setDisplayBlanksAs(ChartPlotEmptyType value)
Represents the way that blank cells are plotted on a chart. |
void |
setDisplayEntireFieldButtons(boolean value)
Gets or sets a value indicating whether [show all field buttons]. |
void |
setDisplayLegendFieldButtons(boolean value)
Gets or sets a value indicating whether [show legend field buttons]. |
void |
setDisplayValueFieldButtons(boolean value)
Gets or sets a value indicating whether [show value field buttons]. |
void |
setElevation(int value)
Returns or sets the elevation of the 3-D chart view, in degrees (?0 to +90 degrees). |
void |
setGapDepth(int value)
Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) |
void |
setHeight(double value)
Height of the chart in points (1/72 inch). |
void |
setHeightPercent(int value)
Returns or sets the height of a 3-D chart as a percentage of the chart width (between 5 and 500 percent). |
void |
setPerspective(int value)
Returns or sets the perspective for the 3-D chart view (0 to 100). |
void |
setPivotChartType(ExcelChartType value)
Gets or sets the type of the pivot chart. |
void |
setPivotTable(PivotTable value)
Gets or sets the pivot source. |
void |
setPlotVisibleOnly(boolean value)
True if only visible cells are plotted. |
void |
setRightAngleAxes(boolean value)
True if the chart axes are at right angles, independent of chart rotation or elevation. |
void |
setRotation(int value)
Returns or sets the rotation of the 3-D chart view (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). |
void |
setSecondaryCategoryAxisTitle(java.lang.String value)
Title of the secondary category axis. |
void |
setSecondaryValueAxisTitle(java.lang.String value)
Title of the secondary value axis. |
void |
setSeriesAxisTitle(java.lang.String value)
Title of the series axis. |
void |
setSeriesDataFromRange(boolean value)
True if series are in rows in DataRange; False otherwise. |
void |
setShowReportFilterFieldButtons(boolean value)
Gets or sets a value indicating whether [show report filter field buttons]. |
void |
setSizeWithWindow(boolean value)
True if Microsoft Excel resizes the chart to match the size of the chart sheet window. |
void |
setStyle(int value)
Style index for Excel 2007 chart. |
void |
setToDefaultGridlines(ExcelChartType type)
Sets to default chart grid lines on chart type or serie type changing. |
void |
setValueAxisTitle(java.lang.String value)
Title of the value axis. |
void |
setWallsAndGridlines2D(boolean value)
True if gridlines are drawn two-dimensionally on a 3-D chart. |
void |
setWidth(double value)
Width of the chart in points (1/72 inch). |
void |
setXPos(double value)
X coordinate of the upper-left corner of the chart in points (1/72 inch). |
void |
setYPos(double value)
Y coordinate of the upper-left corner of the chart in points (1/72 inch). |
void |
setZoomToFit(boolean value)
Gets or sets zoomToFit value. |
| Methods inherited from class com.spire.xls.core.spreadsheet.XlsObject |
|---|
dispose |
| Methods inherited from interface com.spire.xls.core.IChart |
|---|
getHeightForDouble, getName, getWidthForDouble |
| Constructor Detail |
|---|
public XlsChart(java.lang.Object parent)
| Method Detail |
|---|
public ExcelChartType getChartType()
getChartType in interface IChartpublic void setChartType(ExcelChartType value)
setChartType in interface IChartpublic IXLSRange getDataRange()
getDataRange in interface IChartpublic void setDataRange(IXLSRange value)
setDataRange in interface IChartpublic boolean getSeriesDataFromRange()
getSeriesDataFromRange in interface IChartpublic void setSeriesDataFromRange(boolean value)
setSeriesDataFromRange in interface IChartpublic IChartPageSetup getPageSetup()
getPageSetup in interface IChartpublic double getXPos()
getXPos in interface IChartpublic void setXPos(double value)
public double getYPos()
getYPos in interface IChartpublic void setYPos(double value)
public double getWidth()
public void setWidth(double value)
public double getHeight()
public void setHeight(double value)
public IChartCategoryAxis getPrimaryCategoryAxis()
getPrimaryCategoryAxis in interface IChartpublic IChartValueAxis getPrimaryValueAxis()
getPrimaryValueAxis in interface IChartpublic IChartSeriesAxis getPrimarySerieAxis()
getPrimarySerieAxis in interface IChartpublic IChartCategoryAxis getSecondaryCategoryAxis()
getSecondaryCategoryAxis in interface IChartpublic IChartValueAxis getSecondaryValueAxis()
getSecondaryValueAxis in interface IChartpublic IChartFrameFormat getChartArea()
getChartArea in interface IChartpublic IChartFrameFormat getPlotArea()
getPlotArea in interface IChartpublic IChartWallOrFloor getWalls()
getWalls in interface IChartpublic IChartWallOrFloor getFloor()
getFloor in interface IChartpublic IChartDataTable getDataTable()
getDataTable in interface IChartpublic boolean hasDataTable()
hasDataTable in interface IChartpublic void hasDataTable(boolean value)
hasDataTable in interface IChartpublic IChartLegend getLegend()
getLegend in interface IChartpublic boolean hasLegend()
hasLegend in interface IChartpublic void hasLegend(boolean value)
hasLegend in interface IChartpublic int getRotation()
getRotation in interface IChartpublic void setRotation(int value)
setRotation in interface IChartpublic int getElevation()
getElevation in interface IChartpublic void setElevation(int value)
setElevation in interface IChartpublic int getPerspective()
getPerspective in interface IChartpublic void setPerspective(int value)
setPerspective in interface IChartpublic int getHeightPercent()
getHeightPercent in interface IChartpublic void setHeightPercent(int value)
setHeightPercent in interface IChartpublic int getDepthPercent()
getDepthPercent in interface IChartpublic void setDepthPercent(int value)
setDepthPercent in interface IChartpublic ExcelChartType getDestinationType()
public void setDestinationType(ExcelChartType value)
public int getGapDepth()
getGapDepth in interface IChartpublic void setGapDepth(int value)
setGapDepth in interface IChartpublic boolean getRightAngleAxes()
getRightAngleAxes in interface IChartpublic void setRightAngleAxes(boolean value)
setRightAngleAxes in interface IChartpublic boolean getAutoScaling()
getAutoScaling in interface IChartpublic void setAutoScaling(boolean value)
setAutoScaling in interface IChartpublic boolean getWallsAndGridlines2D()
getWallsAndGridlines2D in interface IChartpublic void setWallsAndGridlines2D(boolean value)
setWallsAndGridlines2D in interface IChartpublic boolean hasPlotArea()
hasPlotArea in interface IChartpublic void hasPlotArea(boolean value)
hasPlotArea in interface IChartpublic ChartPlotEmptyType getDisplayBlanksAs()
getDisplayBlanksAs in interface IChartpublic void setDisplayBlanksAs(ChartPlotEmptyType value)
setDisplayBlanksAs in interface IChartpublic boolean getPlotVisibleOnly()
getPlotVisibleOnly in interface IChartpublic void setPlotVisibleOnly(boolean value)
setPlotVisibleOnly in interface IChartpublic boolean getSizeWithWindow()
getSizeWithWindow in interface IChartpublic void setSizeWithWindow(boolean value)
setSizeWithWindow in interface IChartpublic PivotTable getPivotTable()
getPivotTable in interface IChartpublic void setPivotTable(PivotTable value)
setPivotTable in interface IChartpublic ExcelChartType getPivotChartType()
getPivotChartType in interface IChartpublic void setPivotChartType(ExcelChartType value)
setPivotChartType in interface IChartpublic boolean getDisplayEntireFieldButtons()
getDisplayEntireFieldButtons in interface IChartpublic void setDisplayEntireFieldButtons(boolean value)
setDisplayEntireFieldButtons in interface IChartpublic boolean getDisplayValueFieldButtons()
getDisplayValueFieldButtons in interface IChartpublic void setDisplayValueFieldButtons(boolean value)
setDisplayValueFieldButtons in interface IChartpublic boolean getDisplayAxisFieldButtons()
getDisplayAxisFieldButtons in interface IChartpublic void setDisplayAxisFieldButtons(boolean value)
setDisplayAxisFieldButtons in interface IChartpublic boolean getDisplayLegendFieldButtons()
getDisplayLegendFieldButtons in interface IChartpublic void setDisplayLegendFieldButtons(boolean value)
setDisplayLegendFieldButtons in interface IChartpublic boolean getShowReportFilterFieldButtons()
getShowReportFilterFieldButtons in interface IChartpublic void setShowReportFilterFieldButtons(boolean value)
setShowReportFilterFieldButtons in interface IChartpublic boolean canChartBubbleLabel()
public boolean canChartHaveSeriesLines()
public boolean canChartPercentageLabel()
public java.lang.String getCategoryAxisTitle()
public void setCategoryAxisTitle(java.lang.String value)
public java.lang.String getChartStartType()
public java.lang.String getChartTitle()
public void setChartTitle(java.lang.String value)
public IFont getChartTitleFont()
public ChartLinePatternType getDefaultLinePattern()
public FontWrapper getFont()
public boolean isCategoryAxisAvail()
public boolean isChart_100()
public boolean isChart3D()
public boolean isChartBar()
public boolean isChartBubble()
public boolean isChartCone()
public boolean isChartCylinder()
public boolean isChartDoughnut()
public boolean isChartExploded()
public boolean isChartFloor()
public boolean isChartLine()
public boolean isChartPie()
public boolean isChartPyramid()
public boolean isChartRadar()
public boolean isChartScatter()
public boolean isChartSmoothedLine()
public boolean isChartStock()
public boolean isChartVeryColor()
public boolean isChartVolume()
public boolean isChartWalls()
public boolean isClustered()
public boolean isEmbeded()
public boolean isPerspective()
public boolean isPivot3DChart()
public boolean isSecondaryAxes()
public void isSecondaryAxes(boolean value)
public boolean isSeriesLines()
public boolean isSpecialDataLabels()
public boolean isStacked()
public boolean isValueAxisAvail()
public boolean getNeedDataFormat()
public boolean getNeedDropBar()
public boolean getNeedMarkerFormat()
public boolean getNoPlotArea()
public int getStyle()
public void setStyle(int value)
public boolean getSupportWallsAndFloor()
public boolean getZoomToFit()
public void setZoomToFit(boolean value)
public java.lang.String getSecondaryCategoryAxisTitle()
public void setSecondaryCategoryAxisTitle(java.lang.String value)
public java.lang.String getSecondaryValueAxisTitle()
public void setSecondaryValueAxisTitle(java.lang.String value)
public java.lang.String getSeriesAxisTitle()
public void setSeriesAxisTitle(java.lang.String value)
public java.lang.String getValueAxisTitle()
public void setValueAxisTitle(java.lang.String value)
public boolean hasChartArea()
public void hasChartArea(boolean value)
public boolean hasChartTitle()
public boolean hasFloor()
public boolean hasWalls()
public boolean hasPivotTable()
public boolean checkForSupportGridLine()
public XlsChart deepClone(java.util.HashMap hashNewNames,
java.lang.Object parent,
java.util.HashMap dicFontIndexes)
hashNewNames - Hash table with new Worksheet names.parent - Parent object.dicFontIndexes - Dictionary with new font indexes.
public java.lang.Object deepClone(java.lang.Object parent)
deepClone in class XlsWorksheetBaseparent - Parent object.
public void setToDefaultGridlines(ExcelChartType type)
type - Represents type to change.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||