Constants
Most constants can be accessed by using an easy-to-remember name. Constant names are not case sensitive. For example:
BorderStyle(all;POLY;2;darkBlue)
BorderStyle(All;Poly;2;DARKBLUE)
Several constants such as chart appearance constants or text styles can be combined by a plus sign (+). For example:
The following constants are listed separately:
- Symbols
- Color Names
- Color Scales
- Color Schemes
Constant | Name | Note |
---|---|---|
0 | none | |
1 | begin | |
2 | end | Default |
Note
Arrow head location constants can be combined.
Examples
See Also
Constant | Name | Note |
---|---|---|
0 | all | Default |
1 | x | |
2 | y | |
3 | z |
Examples
AxisLine(all;0) /* Hide all axis lines. */
MajorGridLineWidths(y;x;0) /* Hide vertical grid lines. */
Constant | Name | Note |
---|---|---|
0 | none | |
1 | back | Default |
2 | front |
Examples
AxisOptions(y;none) /* Hide y-axis. */
See Also
Constant | Name | Note |
---|---|---|
1 | smartBegin | Beginning of bar if enough space is available |
2 | smartCenter | Middle of bar if enough space is available |
3 | smartEnd | End of bar if enough space is available |
4 | begin | Beginning of bar (Forced) |
5 | center | Middle of bar (Forced) |
6 | end | End of bar (Forced) |
7 | edge | Edge on end of bar (Forced) |
8 | smartOut | Outside if enough space is available (Default) |
9 | out | Outside (Forced) |
Examples
LabelOptions(1;begin)
See Also
Constant | Name | Note |
---|---|---|
1 | areaProp | Default |
2 | diameterProp |
Examples
See Also
Constant | Name | Note |
---|---|---|
0 | default | Default |
1 | shadow | |
2 | label | |
4 | symbol | |
8 | horizontal | |
16 | stacked | |
32 | proportional | |
64 | oval |
Available Appearance Constants
shadow |
label |
symbol |
horizontal |
stacked |
proportional |
oval |
|
---|---|---|---|---|---|---|---|
AreaChart() | | | | | | | |
AreaChart2D() | | | | ||||
BarChart() | | | | | | | |
BarChart2D() | | | | | | | |
BoxPlot() | | | | ||||
BubbleChart() | | | | | |||
BubbleChart2D() | | | | ||||
CandlestickChart() | | | |||||
CandlestickChart2D() | | ||||||
CircularBarChart() | | | |||||
ContourPlot() | | | | ||||
DensityPlot() | | | | ||||
GanttChart() | | | | | |||
HeatMap() | | | |||||
HighLowChart() | | | | | |||
HighLowChart2D() | | | | | |||
Histogram() | | | | | | ||
LinearGauge() | | | | ||||
LinearMeter() | | | | ||||
LineChart() | | | | | |||
LineChart2D() | | | | ||||
PieChart() | | | | ||||
PolarChart() | | | | | |||
RadarChart() | | | | | |||
RadialGauge() | | ||||||
ScatterChart() | | | | ||||
ScatterChart2D() | | | |||||
TreeMap() | | | |||||
VectorPlot() | | | | | |||
VectorPlot2D() | | | | ||||
VennDiagram() | | | |||||
ViolinPlot() | | |
Note
Appearance constants can be combined.
Examples
BarChart(shadow+label+proportional)
BarChart(35) /* Same as line above. */
Constant | Name | Note |
---|---|---|
-1 | shaded | |
0 | solid | Default |
1 | transparent | |
2 | black | |
6 | darkGray | |
7 | gray | |
8 | lightGray | |
2..64 | Black & White patterns | |
65..128 | Color patterns |
Examples
See Also
Constant | Name | Note |
---|---|---|
-5 | pSpline | |
-4 | log | |
-3 | exp | |
-2 | pow | |
-1 | Not used | |
0 | none | |
1 | linear | Default |
1..6 | Polynomial functions up to the 6th degree |
Examples
CurveFitting(1;3) /* Cubic curve function.*/
CurveFittingLineStyle(1;linear;2)
See Also
Constant | Name | Note |
---|---|---|
1 | ymd | year-month-day |
2 | mdy | month-day-year |
3 | dmy | day-month-year |
Examples
See Also
Constant | Name | Note |
---|---|---|
-1 | year | |
-2 | quarter | |
-3 | month | |
-4 | week | |
-5 | day | |
-6 | hour | |
-7 | minute30 | |
-8 | minute20 | |
-9 | minute15 | |
-10 | minute10 | |
-11 | minute5 | |
-12 | minute | |
-13 | second30 | |
-14 | second20 | |
-15 | second15 | |
-16 | second10 | |
-17 | second5 | |
-18 | second |
Examples
See Also
Constant | Name | Note |
---|---|---|
0 | none | |
1 | rect | |
2 | oval | Default |
Examples
ErrorBarStyle2D(all;oval;;;2;green)
ErrorBarStyle2D(1;rect;red;gray;0)
See Also
Constant | Name | Note |
---|---|---|
1 | addCounter | Default in xmCHART 3 |
2 | replace | Default in xmCHART 4 and higher |
Examples
SaveAsJPGFile("chart.jpg";replace)
SaveAsPNGFile("graph_1.png";addCounter)
See Also
Constant | Name | Note |
---|---|---|
0 | none | Default |
1 | frequency | |
2 | ogive | |
3 | reverseOgive |
Examples
HistogramOptions(;;;ogive)
HistogramOptions(;;;frequency)
See Also
Constant | Name | Note |
---|---|---|
0 | none | |
1 | back | Default |
2 | front |
Examples
GridLocation(all;none) /* Hide grid. */
See Also
Constant | Name | Note |
---|---|---|
0 | none | |
1 | rect | Not used |
2 | poly | |
3 | oval | Default |
Examples
RadarChartOptions(0;oval;on)
See Also
Constant | Name | Note |
---|---|---|
1 | highLow | Default |
2 | highLowClose | |
3 | highLowCloseOpen |
Examples
See Also
Constant | Name | Note |
---|---|---|
1 | left | |
2 | center | |
3 | right |
Examples
TitleStyle(Verdana;12;bold+underline;blue;right)
LabelStyle(all;;;bold;;left)
Constant | Name | Note |
---|---|---|
-1 | Resolution optimized for printing (300 dpi) | |
0 | screen | Resolution optimized for screen display (Default) |
0.25..4 | Adjustable resolution from coarse (0.25) to fine (4.0) |
Examples
See Also
Constant | Name | Note |
---|---|---|
1 | clipboard | Deprecated. Not supported on FileMaker Server, FileMaker Go and FileMaker WebDirect. |
2 | resource | Deprecated. Set of built-in gradients. |
3 | file | Not recommended in a server environment. Instead, use stream. |
4 | stream | Base64 encoded PNG image. |
Examples
AddPicture(10;10;;;clipboard)
AddPicture(10;10;;;file;"logo.png")
PictureStyle(1;resource;"27")
PictureStyle(3;file;"C:/images/gradient_1.jpg")
BackgroundPict(stream;"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMA...")
See Also
Constant | Name | Note |
---|---|---|
1 | min | |
2 | low | |
3 | normal | |
4 | high | Default |
5 | max |
Examples
SaveAsJPGFile("plot_01.jpg";;;normal)
SaveAsJPGFile("chart_01.jpg";;;max;2.0)
See Also
Constant | Name | Note |
---|---|---|
0 | ||
1 | topLeft | |
2 | topCenter | |
3 | topRight | |
4 | centerLeft | |
5 | centerCenter | |
6 | centerRight | |
7 | bottomLeft | |
8 | bottomCenter | |
9 | bottomRight |
Examples
LabelOptions(all;centerCenter)
LabelOptions(1;bottomCenter;0;6)
See Also
Constant | Name | Note |
---|---|---|
0 | automatic | Default |
1 | rect | |
2 | symbol | |
4 | line |
Note
Legend markers can be combined.
Examples
LegendOptions(bottomRight;on;;;1;rect)
LegendOptions(;off;0;0;;line+symbol)
See Also
Constant | Name | Note |
---|---|---|
0 | none | |
1 | jump | |
2 | step | |
3 | poly | Default |
4 | smooth | |
5 | pchip |
Examples
BorderStyle(1;poly;0.5 10 5)
See Also
Constant | Name | Note |
---|---|---|
1 | topLeft | |
2 | topCenter | |
3 | topRight | |
4 | centerLeft | |
5 | centerCenter | |
6 | centerRight | |
7 | bottomLeft | |
8 | bottomCenter | |
9 | bottomRight |
Examples
Constant | Name | Note |
---|---|---|
1 | backward | Default |
2 | forward | |
3 | centeredBackward | |
4 | centeredForward |
Examples
MovingAverageOptions(1;100;;centeredForward;on;;5;;on)
MovingAverageOptions(1;50;;forward)
See Also
Constant | Name | Note |
---|---|---|
0 | none | |
1 | average | Default |
2 | median | |
3 | exponential |
Examples
MovingAverageOptions(all;50;average)
See Also
Constant | Name | Note |
---|---|---|
0 | none | Default |
-1 | all | |
-2 | max | |
-3 | min |
Examples
PieChartExplodes(15;all)
PieChartExplodes(20;max)
See Also
Constant | Name | Note |
---|---|---|
0 | all | Default |
1 | xy | |
2 | xz | |
3 | yz |
Examples
See Also
Constant | Name | Note |
---|---|---|
1 | top | |
2 | right | |
3 | bottom | |
4 | left |
Examples
TagPicture(300;200;left;center;15;stream;"iVBORw0KGgoAAAANSUhEUgAAAB4AAAAoCAIAAABmc...")
TagSymbol(300;200;right;top;8;squareOutline;2;red)
See Also
Constant | Name | Note |
---|---|---|
1 | xxyy | Default |
2 | xyxy | |
3 | xyxy2 |
Examples
ChartData(23 45; 34 67; 11 76; 12 56; 44 21)
See Also
Constant | Name | Note |
---|---|---|
-1 | stacked | Available only for stacked bar and area charts |
0 | all | Default |
Examples
Constant | Name | Note |
---|---|---|
1 | totalsOut | |
2 | totalsEdge | |
3 | runningTotalsOut | |
4 | runningTotalsEdge |
Note
Available only for stacked bar and area charts.
Examples
See Also
Constant | Name | Note |
---|---|---|
0 | plain | Default (except for title text) |
1 | bold | |
2 | italic | |
4 | underline |
Note
All text style constants can be combined.
Examples
LegendStyle(Verdana;12;bold+underline)
LegendStyle(Verdana;12;5) /* Same as line above. */
Constant | Name | Note |
---|---|---|
1 | in | |
2 | center | Default for tick marks |
3 | out | Default for tick mark labels |
Examples
AxisMajorTicks(all;8;0.5;darkBlue;;out)
See Also
Tick marks: AxisMajorTicks(), AxisMinorTicks()
Tick mark labels: AxisMajorTickLabelOptions(), AxisMinorTickLabelOptions()