ChartDirector Ver 3.1 (PHP Edition Edition)

PolarChart


The PolarChart class represents polar charts (including radar charts). The PolarChart class is a subclass of BaseChart.

MethodInheritedDescription
new PolarChart(Self)Create a PolarChart object.
setPlotArea(Self)Set the position, background colors, border color and border width of the polar plot area.
setGridColor(Self)Set the grid colors and widths of the polar plot area.
setGridStyle(Self)Configure whether to use circular grids or polygon grids, and whether the grid lines are on top of the polar plot area or are at the back.
setStartAngle(Self)Set the angle of the radial axis, and the layout direction of radial grid lines.
angularAxis(Self)Get the AngularAxis object representing the angular axis of the polar chart.
radialAxis(Self)Get the RadialAxis object representing the radial axis of the polar chart.
getXCoor(Self)Get the x pixel coordinate of a point given its radial and angular coordinates.
getYCoor(Self)Get the y pixel coordinate of a point given its radial and angular coordinates.
addExtraField(Self)Associate an extra text to each data item or layer.
addLineLayer(Self)Add a polar line layer to the polar chart.
addAreaLayer(Self)Add a polar area layer to the polar chart.
addSplineLineLayer(Self)Add a polar spline line layer to the polar chart.
addSplineAreaLayer(Self)Add a polar spline area layer to the polar chart.
setSizeBaseChartSet the size of the chart.
setBackgroundBaseChartSet the background color, border color and 3D border effect of the chart.
setBorderBaseChartSet the border color of the chart.
setWallpaperBaseChartUse the image from the specified file as the wallpaper to repetitively fill the background of the chart.
setBgImageBaseChartUse the image from the specified file as the background image of the chart.
setSearchPathBaseChartSet the file system search path for loading image files.
setTransparentColorBaseChartSpecify a certain color to represent the transparent color when writing the chart to an image file.
setAntiAliasBaseChartControl whether anti-alias is used when drawing lines, shapes and text.
addTitleBaseChartAdd a title at the top center of the chart.
addTitle2BaseChartAdd a title to the chart.
addLegendBaseChartAdd a legend box to the chart.
getLegendBaseChartGet the LegendBox object representing the legend box in the chart.
getDrawAreaBaseChartRetrieve the internal DrawArea object that is used to draw the chart.
addTextBaseChartAdd a text box to the chart.
addLineBaseChartAdd a line to the chart.
setColorBaseChartChange the color at the specified position in the palette.
setColorsBaseChartChange the colors in the palette.
setColors2BaseChartChange the colors in the palette, starting from the specified position in the palette.
getColorBaseChartGet the color at the specified position of the palette.
halfColorBaseChartCreate a color that is half the intensity of the given color.
dashLineColorBaseChartCreate dash line colors.
patternColorBaseChartCreate a pattern color using an array of colors as the bitmap pattern.
patternColor2BaseChartCreate a pattern color by loading the pattern from an image file.
gradientColorBaseChartCreate a two-point gradient color.
gradientColor2BaseChartCreate a multi-point gradient color.
setDefaultFontsBaseChartSet the defaults for normal, bold, italic and bold-italic fonts.
setFontTableBaseChartSet an entry in the font table to the specified font name.
setNumberFormatBaseChartSet the characters used for thousand separator, decimal point, and negative sign.
setMonthNamesBaseChartSet the names of the months for date/time formatting purposes.
setWeekDayNamesBaseChartSet the names of the week days for date/time formatting purposes.
setAMPMBaseChartSet the names to be used to denote morning and afternoon.
layoutBaseChartPerform auto-scaling of the axis and compute the positions of the various objects in the chart.
makeChartBaseChartGenerate the chart image and save it into a file.
makeChart2BaseChartGenerate the chart as an image in memory.
makeChart3BaseChartGenerate the chart in internal format and return a DrawArea object to allow adding custom drawings on top of the chart.
makeSessionBaseChartGenerate the chart as an image and save it to a session variable.
getHTMLImageMapBaseChartGenerate an HTML image map for the chart.