xmCHART 3.3 - Reference
Last updated: 2008-06-24

Backgrounds index previous next


Background(fillColor;fillPattern;borderWidth;borderColor;borderPattern;
           shadowOffset;shadowColor;shadowPattern)
Argument required type range default notes
fillColor   rgba 0..255 white color constants
fillPattern   int 1..128 black pattern constants
borderWidth   num[] 0..100 1 Dimension:[pt]
borderColor   rgba 0..255 black color constants
borderPattern   int 1..128 black pattern constants
shadowOffset   num -100..100 0 Dimension:[pt]
shadowColor   rgba 0..255 gray color constants
shadowPattern   int 1..128 black pattern constants

Examples:

Background(lightYellow)

Background(;transparent;2;red)

Notes:
 


BackgroundPict(sourceType;sourceName;location;adjustment;isProportional)
Argument required type range default notes
sourceType   int 1..3 clipboard picture source constants
sourceName   str 0..1000 "" max. 1000 chars.
location   int 1..9 centerCenter location constants
adjustment   int 1..5 reduceOrEnlarge picture adjustment const.
isProportional   int 0..1 off flag constants

Examples:

BackgroundPict() // use the picture in the clipboard as background

BackgroundPict(resource;"41")
BackgroundPict(file;"Backgrounds/Images012.jpg")
BackgroundPict(file;"C:/Images/Gradient_01.jpg")
BackgroundPict(file;"Macintosh HD/Images/BackGrd_01.png")

Notes:
 


ChartBackground(planeIndex;fillColor;fillPattern;borderWidth;borderColor;
                borderPattern;shadowOffset;shadowColor;shadowPattern)
Argument required type range default notes
planeIndex   int 0..3 all plane indices
fillColor   rgba 0..255 white color constants
fillPattern   int 1..128 black pattern constants
borderWidth   num[] 0..100 1 Dimension:[pt]
borderColor   rgba 0..255 black color constants
borderPattern   int 1..128 black pattern constants
shadowOffset   num -100..100 0 Dimension:[pt]
shadowColor   rgba 0..255 gray color constants
shadowPattern   int 1..128 black pattern constants

Examples:

ChartBackground(all;yellow)

ChartBackground(xy;lightGray;;0)

Notes:
 


ChartBackgroundPict(planeIndex;sourceType;sourceName;location;adjustment;
                    isProportional
)
Argument required type range default notes
planeIndex   int 0..3 all plane indices
sourceType   int 1..3 clipboard picture source constants
sourceName   str 0..1000 "" max. 1000 chars.
location   int 1..9 centerCenter location constants
adjustment   int 1..5 reduceOrEnlarge picture adjustment const.
isProportional   int 0..1 off flag constants

Examples:

ChartBackgroundPict(xy;clipboard)

ChartBackgroundPict(all;resource;"27")
ChartBackgroundPict(;file;"Backgrounds/Pict012.tif")
ChartBackgroundPict(xy;file;"C:/Images/Gradient_01.bmp")
ChartBackgroundPict(;file;"Macintosh HD/Picts/Gradient_01.jpg")

Notes:
 

©2008 X2max Software index previous next