ChartDirector Ver 3.1 (PHP Edition Edition)

BoxWhiskerLayer


The BoxWhiskerLayer class represents box-whisker layers. BoxWhiskerLayer is a subclass of Layer.

BoxWhiskerLayer objects are created by using XYChart.addBoxWhiskerLayer.

MethodInheritedDescription
setDataGap(Self)Set the gap between two adjacent box-whisker symbols.
set3DLayerSet the 3D depth of the layer, and the 3D gap between the current layer and the next layer.
setLineWidthLayerSet the default line width of lines when drawing data sets on the layer.
setBorderColorLayerSet the default border color and 3D raised effect when drawing data sets on the layer.
setLegendLayerSet the order of the data set names when entered into the legend box.
setDataCombineMethodLayerSet the method used to combine multiple data sets in a layer.
addDataSetLayerAdd a data set to the chart layer.
addDataGroupLayerOpen a new data group.
addExtraFieldLayerAssociate an extra text to each data item or data set.
getDataSetLayerGet the requested DataSet object.
setUseYAxis2LayerDetermine if the primary or secondary y-axis should be used when drawing the data sets.
setXDataLayerSet the x values of the data points in the data sets.
setXData2LayerSet the x values of the data points in the data sets as evenly distributed in a range.
getXCoorLayerGet the x coordinate of a point given the x value.
getYCoorLayerGet the y coordinate of a point given the y value.
xZoneColorLayerCreate a x-zone color. A x-zone will change from one color to another depending on a threshold value on the x-axis.
yZoneColorLayerCreate a y-zone color. A y-zone will change from one color to another depending on a threshold value on the y-axis.
setDataLabelStyleLayerEnable data labels and set their styles.
setDataLabelFormatLayerSet the data label format.
addCustomDataLabelLayerAdd a custom data label to a data point.
setAggregateLabelStyleLayerEnable aggregate labels and set their styles.
setAggregateLabelFormatLayerSet the aggregate label format.
addCustomAggregateLabelLayerAdd a custom aggregate label to an aggregated object.
getImageCoorLayerGet the image map coordinates of a data point as represented in the layer as HTML image map attributes.
getImageCoor2LayerGet the image map coordinates of a region containing all data points at the given x-position as HTML image map attributes.
getHTMLImageMapLayerGenerate the HTML image map for all data points as represented on the layer.
setHTMLImageMapLayerOverride the default arguments used when generating HTML image map for the layer.

td>Set the names to be used to denote morning and afternoon.layout(Self)Perform auto-scaling of the axis and compute the positions of the various objects in the chart.makeChart(Self)Generate the chart image and save it into a file.makeChart2(Self)Generate the chart as an image in memory.makeChart3(Self)Generate the chart in internal format and return a DrawArea object to allow adding custom drawings on top of the chart.makeSession(Self)Generate the chart as an image and save it to a session variable.getHTMLImageMap(Self)Generate an HTML image map for the chart.
">© 2004 Advanced Software Engineering Limited. All rights reserved. d>lowess(Self)Fit a curve through the data points in the ArrayMath object using the LOWESS algorithm.lowess2(Self)Fit a curve through the data points in the ArrayMath object using the LOWESS algorithm, where the spacing of the data points is supplied by the given array.result(Self)Get the content of the ArrayMath object as a normal array to be used in other ChartDirector API.max(Self)Get the maximum value of the elements of the ArrayMath object.min(Self)Get the minimum value of the elements of the ArrayMath object.avg(Self)Get the average value of the elements of the ArrayMath object.sum(Self)Get the total value of the elements of the ArrayMath object.med(Self)Get the median value of the elements of the ArrayMath object.percentile(Self)Get the required percentile value of the elements of the ArrayMath object.maxIndex(Self)Get the index of the maximum value element of the ArrayMath object.minIndex(Self)Get the index of the minimum value element of the ArrayMath object.
(1059, '1999-03-01', '371', '635', '722');