ChartDirector Ver 3.1 (PHP Edition Edition)

LineLayer


The LineLayer class represents line layers. LineLayer is a subclass of Layer.

LineLayer objects are created by using XYChart.addLineLayer and XYChart.addLineLayer2.

MethodInheritedDescription
setSymbolScale(Self)Set the size of the symbol for each data point (for creating bubble charts).
setGapColor(Self)Set the color and style of the line used for jumping across NoValue data points.
setImageMapWidth(Self)Set the effective width of the line used for producing image maps.
getLine(Self)Retrieve an opaque LineObj representing a line in the line layer. The opaque LineObj is to be used in XYChart.addInterLineLayer for adding coloring between lines.
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.