Difference between revisions of "DiagramFillStyle getDefault"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{HelpFiles}}  
 
{{HelpFiles}}  
  
===== DiagramFillStyle_getDefault =====
+
===== 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.  
 
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.  
Line 8: Line 8:
  
 
DiagramFillStyle_getDefault()  
 
DiagramFillStyle_getDefault()  
 +
 +
or can use [[TabulationFillStyle_class|TabulationFillStyle]]
  
 
'''Arguments'''  
 
'''Arguments'''  
Line 17: Line 19:
 
Returns the following array  
 
Returns the following array  
  
{| cellpadding="2" border="1" width="907" style="border-collapse: collapse; border: 1px solid rgb(1, 1, 1);" class="tableintopic"
+
{| cellpadding="2" border="1" width="907" class="tableintopic" style="border-collapse: collapse; border: 1px solid rgb(1, 1, 1);"
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| bgcolor="#f59d56" align="center" width="227" valign="middle" style="border: 1px solid rgb(1, 1, 1);" |  
 
| bgcolor="#f59d56" align="center" width="227" valign="middle" style="border: 1px solid rgb(1, 1, 1);" |  
Line 87: Line 89:
 
'''Examples'''  
 
'''Examples'''  
  
''array fill = DiagramFillStyle_getDefault(); ''
+
''array fill = DiagramFillStyle_getDefault(); ''  
  
''print(fill);''
+
''print(fill);''  
  
''//Result: {19,{17,255,255,255},2,False}''
+
''//Result: (e.g: {19,{17,255,255,255},2,False})''
  
''{{note}} This function should be paired with create diagram functions''
+
''{{note}} This function should be paired with create diagram functions''  
  
 
'''Availability'''  
 
'''Availability'''  
  
 
Version 5.8.1 __NOTOC__ <!-- imported from file: 8099.htm-->  
 
Version 5.8.1 __NOTOC__ <!-- imported from file: 8099.htm-->  
 
  
 
[[Category:Style_setting_functions]]
 
[[Category:Style_setting_functions]]

Latest revision as of 08:15, 22 September 2023



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