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
| Name | Type | Access | Description |
|---|---|---|---|
fill | Fill | Read | Gets fill formatting for the parent chart element. |
stroke | Stroke | Read | Gets line formatting for the parent chart element. |
shapeType | int | Read/Write | Gets or sets the shape type of the parent chart element. |
defined | boolean | Read | Gets a flag indicating whether any format is defined. |
Methods
| Signature | Description |
|---|---|
setDefaultFill() | Resets the fill of the chart element to have the default value. |
getFill() → Fill | Gets fill formatting for the parent chart element. |
getStroke() → Stroke | Gets line formatting for the parent chart element. |
getShapeType() → int | Gets or sets the shape type of the parent chart element. |
setShapeType(value: int) | Sets the shape type value. |
isDefined() → boolean | Gets a flag indicating whether any format is defined. |