ChartDirector Ver 3.1 (PHP Edition Edition)

ArrayMath.abs


Usage

abs()

Description

Replace each element of the ArrayMath object by its absolute value.

Arguments

None

Return Value

The current ArrayMath object.


er.setAggregateLabelStyle) are drawn external to the area.

ChartDirector will disable data labels if the area height (or width if x and y axes are swapped) is too small to contain the data label.

By default, ChartDirector will automatically determine what is meant by "too small". The setMinLabelSize method can be used to manually defined the threshold for "too small".

Sometimes it may be desirable to display the data label even though it cannot be contained within the area. In this case, the setMinLabelSize can be used to set the threshold to 0.

Arguments

ArgumentDefaultDescription
s(Mandatory)The minimum height (or width if x and y axes are swapped) of an area below which data labels will be hidden.

Return Value

None


d>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');