ChartDirector 6.0 (Ruby Edition)

PolarVectorLayer


The PolarVectorLayer class represents polar vector layers. PolarVectorLayer is a subclass of PolarLayer.

VectorLayer objects are created by using PolarChart.addVectorLayer.

MethodInheritedDescription
setVector(Self)Sets the lengths and directions for the vectors.
setArrowHead(Self)Sets the size of the arrow head.
setArrowHead2(Self)Sets a custom shape to be used as the arrow head.
setArrowStem(Self)Sets a custom shape to be used as the arrow stem.
setArrowAlignment(Self)Sets the alignment of the vector relative to the data point.
setVectorMargin(Self)Sets the margins to shorten the vectors.
setIconSize(Self)Sets the size of the icon to be used in legend box.
setAnglesPolarLayerSets the angular coordinates of the data points.
setBorderColorPolarLayerSets the border color for drawing the data on the layer.
setLineWidthPolarLayerSets the line width of lines when drawing the data on the layer.
setDataSymbolPolarLayerUses one of the built-in symbols as the graphics symbol to plot the data points.
setDataSymbol2PolarLayerLoad an image from a file and use it as the graphics symbol to plot the data points.
setDataSymbol3PolarLayerUses a DrawArea object as the graphics symbol to plot the data points.
setDataSymbol4PolarLayerUses a custom polygon as the graphics symbol to plot the data points.
setSymbolOffsetPolarLayerOffset the symbols in the x and y directions in pixel unit.
setSymbolScalePolarLayerSets the size of the symbol for each data point (for creating bubble charts).
setDataLabelStylePolarLayerEnables data labels and sets their styles.
setDataLabelFormatPolarLayerSets the data label format.
addCustomDataLabelPolarLayerAdds a custom data label to a data point.
setImageMapWidthPolarLayerSets the effective size of a data point for producing image maps.
getImageCoorPolarLayerGets the image map coordinates of a data point.
getHTMLImageMapPolarLayerGenerates an HTML image map for all data points on the layer.
setHTMLImageMapPolarLayerOverride the default arguments used when generating HTML image map for the layer.