ChartFormat

Overview

ChartFormat is a class in Aspose.Words FOSS for Java. Inherits from: IFillable, IStrokable.

Represents the formatting of a chart element.

Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.

This class declares 6 methods for ChartFormat objects in Java programs. Available methods include: getFill, getShapeType, getStroke, isDefined, setDefaultFill, setShapeType. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: defined, fill, shapeType, stroke.

Properties

NameTypeAccessDescription
fillFillReadGets fill formatting for the parent chart element.
strokeStrokeReadGets line formatting for the parent chart element.
shapeTypeintRead/WriteGets or sets the shape type of the parent chart element.
definedbooleanReadGets a flag indicating whether any format is defined.

Methods

SignatureDescription
setDefaultFill()Resets the fill of the chart element to have the default value.
getFill() → FillGets fill formatting for the parent chart element.
getStroke() → StrokeGets line formatting for the parent chart element.
getShapeType() → intGets or sets the shape type of the parent chart element.
setShapeType(value: int)Sets the shape type value.
isDefined() → booleanGets a flag indicating whether any format is defined.

See Also