ChartDirector Ver 3.1 (PHP Edition Edition)

AreaLayer


The AreaLayer class represents area layers. AreaLayer is a subclass of Layer.

AreaLayer objects are created by using XYChart.addAreaLayer and XYChart.addAreaLayer2.

MethodInheritedDescription
setMinLabelSize(Self)Set the minimum height (or width if x and y axes are swapped) of an area below which data labels will be hidden.
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.

venue VALUES (1015, '1995-07-01', '297', '152', '152');