The BaseChart class is an abstract class containing methods that are common to all chart types.
Method | Inherited | Description |
setSize | (Self) | Set the size of the chart. |
setBackground | (Self) | Set the background color, border color and 3D border effect of the chart. |
setBorder | (Self) | Set the border color of the chart. |
setWallpaper | (Self) | Use the image from the specified file as the wallpaper to repetitively fill the background of the chart. |
setBgImage | (Self) | Use the image from the specified file as the background image of the chart. |
setSearchPath | (Self) | Set the file system search path for loading image files. |
setTransparentColor | (Self) | Specify a certain color to represent the transparent color when writing the chart to an image file. |
setAntiAlias | (Self) | Control whether anti-alias is used when drawing lines, shapes and text. |
addTitle | (Self) | Add a title at the top center of the chart. |
addTitle2 | (Self) | Add a title to the chart. |
addLegend | (Self) | Add a legend box to the chart. |
getLegend | (Self) | Get the LegendBox object representing the legend box in the chart. |
getDrawArea | (Self) | Retrieve the internal DrawArea object that is used to draw the chart. |
addText | (Self) | Add a text box to the chart. |
addLine | (Self) | Add a line to the chart. |
setColor | (Self) | Change the color at the specified position in the palette. |
setColors | (Self) | Change the colors in the palette. |
setColors2 | (Self) | Change the colors in the palette, starting from the specified position in the palette. |
getColor | (Self) | Get the color at the specified position of the palette. |
halfColor | (Self) | Create a color that is half the intensity of the given color. |
dashLineColor | (Self) | Create dash line colors. |
patternColor | (Self) | Create a pattern color using an array of colors as the bitmap pattern. |
patternColor2 | (Self) | Create a pattern color by loading the pattern from an image file. |
gradientColor | (Self) | Create a two-point gradient color. |
gradientColor2 | (Self) | Create a multi-point gradient color. |
setDefaultFonts | (Self) | Set the defaults for normal, bold, italic and bold-italic fonts. |
setFontTable | (Self) | Set an entry in the font table to the specified font name. |
setNumberFormat | (Self) | Set the characters used for thousand separator, decimal point, and negative sign. |
setMonthNames | (Self) | Set the names of the months for date/time formatting purposes. |
setWeekDayNames | (Self) | Set the names of the week days for date/time formatting purposes. |
setAMPM | (Self) | Set the names to be used to denote morning and afternoon. |
layout | (Self) | Perform auto-scaling of the axis and compute the positions of the various objects in the chart. |
makeChart | (Self) | Generate the chart image and save it into a file. |
makeChart2 | (Self) | Generate the chart as an image in memory. |
makeChart3 | (Self) | Generate the chart in internal format and return a DrawArea object to allow adding custom drawings on top of the chart. |
makeSession | (Self) | Generate the chart as an image and save it to a session variable. |
getHTMLImageMap | (Self) | Generate an HTML image map for the chart. |