Class ChartSpace
java.lang.Object
com.independentsoft.office.drawing.GraphicObject
com.independentsoft.office.charts.ChartSpace
- All Implemented Interfaces:
IContentElement
The Class ChartSpace.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new chart space.ChartSpace(byte[] buffer, Relationship relationship)Instantiates a new chart space.ChartSpace(String filePath)Instantiates a new chart space.ChartSpace(String fileName, byte[] buffer)Instantiates a new chart space.ChartSpace(String fileName, InputStream inputStream)Instantiates a new chart space. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the back wall.Gets the chart shape properties.Gets the color mapping.Gets the display blanks as.byte[]Gets the external data.Gets the external data file name.Gets the external data stream.getFloor()Gets the floor.Gets the language.Gets the legend.Gets the pivot formats.Gets the pivot source.Gets the plot area.Gets the prints the settings.Gets the protection.Gets the side wall.intgetStyle()Gets the style.Gets the text properties.getTitle()Gets the title.Gets the user shapes.Gets the view3 d.booleanChecks for rounded corners.booleanChecks if is 1904 date system.booleanChecks if is auto title deleted.booleanChecks if is auto update.booleanChecks if is plot visible only.booleanChecks if is show data labels over maximum.voidloadExternalData(String filePath)Load external data.voidloadExternalData(String fileName, byte[] buffer)Load external data.voidloadExternalData(String fileName, InputStream inputStream)Load external data.voidsaveExternalData(OutputStream outputStream)Save external data.voidsaveExternalData(String filePath)Save external data.voidset1904DateSystem(boolean use1904DateSystem)Sets the 1904 date system.voidsetAutoTitleDeleted(boolean autoTitleDeleted)Sets the auto title deleted.voidsetAutoUpdate(boolean autoUpdate)Sets the auto update.voidsetBackWall(BackWall backWall)Sets the back wall.voidsetColorMapping(ColorMapOverride colorMapping)Sets the color mapping.voidsetDisplayBlanksAs(DisplayBlanksAs displayBlanksAs)Sets the display blanks as.voidsetExternalData(byte[] externalDataBuffer)Sets the external data.voidsetExternalDataFileName(String externalDataFileName)Sets the external data file name.voidSets the floor.voidsetLanguage(String language)Sets the language.voidSets the legend.voidsetPivotSource(PivotSource pivotSource)Sets the pivot source.voidsetPlotArea(PlotArea plotArea)Sets the plot area.voidsetPlotVisibleOnly(boolean plotVisibleOnly)Sets the plot visible only.voidsetPrintSettings(PrintSettings printSettings)Sets the prints the settings.voidsetProtection(Protection protection)Sets the protection.voidsetRoundedCorners(boolean roundedCorners)Sets the rounded corners.voidsetShowDataLabelsOverMaximum(boolean showDataLabelsOverMaximum)Sets the show data labels over maximum.voidsetSideWall(SideWall sideWall)Sets the side wall.voidsetStyle(int style)Sets the style.voidSets the title.voidsetUserShapes(UserShapes userShapes)Sets the user shapes.voidSets the view3 d.toString()
-
Constructor Details
-
ChartSpace
public ChartSpace()Instantiates a new chart space. -
ChartSpace
Instantiates a new chart space.- Parameters:
filePath- the file path- Throws:
IOException- Signals that an I/O exception has occurred.
-
ChartSpace
Instantiates a new chart space.- Parameters:
fileName- the file nameinputStream- the input stream- Throws:
IOException- Signals that an I/O exception has occurred.
-
ChartSpace
Instantiates a new chart space.- Parameters:
fileName- the file namebuffer- the buffer
-
ChartSpace
Instantiates a new chart space.- Parameters:
buffer- the bufferrelationship- the relationship- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
loadExternalData
Load external data.- Parameters:
filePath- the file path- Throws:
IOException- Signals that an I/O exception has occurred.
-
loadExternalData
Load external data.- Parameters:
fileName- the file nameinputStream- the input stream- Throws:
IOException- Signals that an I/O exception has occurred.
-
loadExternalData
Load external data.- Parameters:
fileName- the file namebuffer- the buffer
-
saveExternalData
Save external data.- Parameters:
filePath- the file path- Throws:
IOException- Signals that an I/O exception has occurred.
-
saveExternalData
Save external data.- Parameters:
outputStream- the output stream- Throws:
IOException- Signals that an I/O exception has occurred.
-
getExternalDataStream
Gets the external data stream.- Returns:
- the external data stream
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement- Specified by:
getContentElementsin classGraphicObject
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein classGraphicObject
-
toString
-
getColorMapping
Gets the color mapping.- Returns:
- the color mapping
-
setColorMapping
Sets the color mapping.- Parameters:
colorMapping- the new color mapping
-
is1904DateSystem
public boolean is1904DateSystem()Checks if is 1904 date system.- Returns:
- true, if is 1904 date system
-
set1904DateSystem
public void set1904DateSystem(boolean use1904DateSystem)Sets the 1904 date system.- Parameters:
use1904DateSystem- the new 1904 date system
-
isAutoUpdate
public boolean isAutoUpdate()Checks if is auto update.- Returns:
- true, if is auto update
-
setAutoUpdate
public void setAutoUpdate(boolean autoUpdate)Sets the auto update.- Parameters:
autoUpdate- the new auto update
-
getLanguage
Gets the language.- Returns:
- the language
-
setLanguage
Sets the language.- Parameters:
language- the new language
-
getExternalData
public byte[] getExternalData()Gets the external data.- Returns:
- the external data
-
setExternalData
public void setExternalData(byte[] externalDataBuffer)Sets the external data.- Parameters:
externalDataBuffer- the new external data
-
getExternalDataFileName
Gets the external data file name.- Returns:
- the external data file name
-
setExternalDataFileName
Sets the external data file name.- Parameters:
externalDataFileName- the new external data file name
-
getPivotSource
Gets the pivot source.- Returns:
- the pivot source
-
setPivotSource
Sets the pivot source.- Parameters:
pivotSource- the new pivot source
-
getPrintSettings
Gets the prints the settings.- Returns:
- the prints the settings
-
setPrintSettings
Sets the prints the settings.- Parameters:
printSettings- the new prints the settings
-
getProtection
Gets the protection.- Returns:
- the protection
-
setProtection
Sets the protection.- Parameters:
protection- the new protection
-
hasRoundedCorners
public boolean hasRoundedCorners()Checks for rounded corners.- Returns:
- true, if successful
-
setRoundedCorners
public void setRoundedCorners(boolean roundedCorners)Sets the rounded corners.- Parameters:
roundedCorners- the new rounded corners
-
getChartShapeProperties
Gets the chart shape properties.- Returns:
- the chart shape properties
-
getStyle
public int getStyle()Gets the style.- Returns:
- the style
-
setStyle
public void setStyle(int style)Sets the style.- Parameters:
style- the new style
-
getTextProperties
Gets the text properties.- Returns:
- the text properties
-
getUserShapes
Gets the user shapes.- Returns:
- the user shapes
-
setUserShapes
Sets the user shapes.- Parameters:
userShapes- the new user shapes
-
isAutoTitleDeleted
public boolean isAutoTitleDeleted()Checks if is auto title deleted.- Returns:
- true, if is auto title deleted
-
setAutoTitleDeleted
public void setAutoTitleDeleted(boolean autoTitleDeleted)Sets the auto title deleted.- Parameters:
autoTitleDeleted- the new auto title deleted
-
getBackWall
Gets the back wall.- Returns:
- the back wall
-
setBackWall
Sets the back wall.- Parameters:
backWall- the new back wall
-
getDisplayBlanksAs
Gets the display blanks as.- Returns:
- the display blanks as
-
setDisplayBlanksAs
Sets the display blanks as.- Parameters:
displayBlanksAs- the new display blanks as
-
getFloor
Gets the floor.- Returns:
- the floor
-
setFloor
Sets the floor.- Parameters:
floor- the new floor
-
getLegend
Gets the legend.- Returns:
- the legend
-
setLegend
Sets the legend.- Parameters:
legend- the new legend
-
getPivotFormats
Gets the pivot formats.- Returns:
- the pivot formats
-
getPlotArea
Gets the plot area.- Returns:
- the plot area
-
setPlotArea
Sets the plot area.- Parameters:
plotArea- the new plot area
-
isPlotVisibleOnly
public boolean isPlotVisibleOnly()Checks if is plot visible only.- Returns:
- true, if is plot visible only
-
setPlotVisibleOnly
public void setPlotVisibleOnly(boolean plotVisibleOnly)Sets the plot visible only.- Parameters:
plotVisibleOnly- the new plot visible only
-
isShowDataLabelsOverMaximum
public boolean isShowDataLabelsOverMaximum()Checks if is show data labels over maximum.- Returns:
- true, if is show data labels over maximum
-
setShowDataLabelsOverMaximum
public void setShowDataLabelsOverMaximum(boolean showDataLabelsOverMaximum)Sets the show data labels over maximum.- Parameters:
showDataLabelsOverMaximum- the new show data labels over maximum
-
getSideWall
Gets the side wall.- Returns:
- the side wall
-
setSideWall
Sets the side wall.- Parameters:
sideWall- the new side wall
-
getTitle
Gets the title.- Returns:
- the title
-
setTitle
Sets the title.- Parameters:
title- the new title
-
getView3D
Gets the view3 d.- Returns:
- the view3 d
-
setView3D
Sets the view3 d.- Parameters:
view3D- the new view3 d
-