DiagramFillStyle getDefault

From Catglobe Wiki
Jump to: navigation, search



DiagramFillStyle_getDefault

Gets a default chart fill style object that can then be used for setting styles for various parts of charts. The default settings are derived from the systems set default style sheet. Since this is defined when setting up the system, these help files cannot tell you what the actual default values for your site willl be.

Syntax

DiagramFillStyle_getDefault()

or can use TabulationFillStyle

Arguments

None

Return type

Returns the following array

Constant

Type

Initial/Default value

Description

OBJECT_TYPE

Number

19

Enumeration defining the object type.

DIAGRAM_FILL_STYLE_COLOR

Array

Default extracted from system's default style sheet.

Background color.

DIAGRAM_FILL_STYLE_TYPE

Number

Default extracted from system's default style sheet.

Fill type. Enumeration. Either 1: Diagram_Fill_Style_NoFill or 2: Diagram_Fill_Style_Fill

DIAGRAM_FILL_STYLE_INHERIT

Boolean

False

Specifies whether the font style will be inherited from the style sheet (when True) or gotten from the system's default (when False).

Examples

array fill = DiagramFillStyle_getDefault();

print(fill);

//Result: (e.g: {19,{17,255,255,255},2,False})

Note Note: This function should be paired with create diagram functions

Availability

Version 5.8.1