xmCHART 3.4 - Reference
Last updated: 2011-08-07

Error Bars index previous next


ErrorBarData(seriesIndex;valueList1;valueList2;valueList3;valueList4)
Argument required type range default notes
seriesIndex   int 0..10000 all series indices
valueList1   num[] -9e99..+9e99 0 positive x-error values
valueList2   num[] -9e99..+9e99 0 negative x-error values
valueList3   num[] -9e99..+9e99 0 positive y-error values
valueList4   num[] -9e99..+9e99 0 negative y-error values

Examples:

ErrorBarData(1;1 1.1 1.2 1 1.1;0.5 0.6 1.0 0.9 0.8) // x-error values

ErrorBarData(all;;;1 1.1 1.2 1 1.1;0.5 0.6 1.0 0.9 0.8 // y-error values

Notes:
 


ErrorBars(seriesIndex;axisIndex;errorDirection;type;addlData1;addlData2;
          addlData3;addlData4)
Argument required type range default notes
seriesIndex   int 0..10000 all series indices
axisIndex   int 0..3 all axis indices
errorDirection   int 0..3 both error bar directions
type   int 0..5 stdError error bar types
addlData1   num 0..+9e99 see notes data for positive x-errors
addlData2   num 0..+9e99 see notes data for negative x-errors
addlData3   num 0..+9e99 see notes data for positive y-errors
addlData4   num 0..+9e99 see notes data for negative y-errors

Examples:

ErrorBars(all;y;both;percent;;;10;10)

ErrorBars(1;x;both;stdDev;1.5;1.5)

Notes:

if type = stdDev: addlData contains standard deviations, default: 1
if type = percent: addlData contains percent values, default: 5 [%]
if type = constant: addlData contains constant values, default: 1


ErrorBarStyle(seriesIndex;axisIndex;showCapsOnly;capLength;barWidth;
              barColor;barPattern)
Argument required type range default notes
seriesIndex   int 0..10000 all series indices
axisIndex   int 0..3 all axis indices
showCapsOnly   int 0..1 off flag constants
capLength   num 0..100 5 Dimension: [pt]
barWidth   num[] 0..100 1 Dimension: [pt]
barColor   rgba 0..255 black color constants
barPattern   int 1..128 black pattern constants

Examples:

ErrorBarStyle(all;all;;0) // no caps

ErrorBarStyle(2;y;on;2;2)

Notes:
 


ErrorBarStyle2D(seriesIndex;shapeType;fillColor;fillPattern;borderWidth;
                borderColor;borderPattern)
Argument required type range default notes
seriesIndex   int 0..10000 all series indices
shapeType   int 0..2 oval error bar shapes
fillColor   rgba 0..255 gray color constants
fillPattern   int 1..128 transparent pattern constants
borderWidth   num[] 0..100 1 Dimension: [pt]
borderColor   rgba 0..255 black color constants
borderPattern   int 1..128 black pattern constants

Examples:

ErrorBarStyle2D(1;;red;gray;0)

ErrorBarStyle2D(all;oval;;;2;green)

Notes:
 

©2012 X2max Software index previous next