The XYChart class represents XY charts. The XYChart class is a subclass of
Method | Inherited | Description |
XYChart | (Self) | Creates a new XYChart object. |
yAxis | (Self) | Retrieves the Axis object representing the primary y-axis of the XYChart. |
yAxis2 | (Self) | Retrieves the Axis object representing the secondary y-axis of the XYChart. |
syncYAxis | (Self) | Sets a linear formula to synchronize the secondary y-axis scale to the primary y-axis scale. |
setYAxisOnRight | (Self) | Interchange the position of the primary y-axis and the secondary y-axis. |
xAxis | (Self) | Retrieves the Axis object representing the primary x-axis of the XYChart. |
xAxis2 | (Self) | Retrieves the Axis object representing the secondary x-axis of the XYChart. |
setXAxisOnTop | (Self) | Interchange the position of the primary x-axis and the secondary x-axis. |
setAxisAtOrigin | (Self) | Sets the chart into 4 quadrant mode. The axes may intersect at origin inside the plot area (as opposed to at the border of the plot area). |
addAxis | (Self) | Adds an additional axis to the chart. |
swapXY | (Self) | Swap the position of the x and y axes, so the x-axes will become vertical, and the y-axes will become horizontal. |
setPlotArea | (Self) | Sets the position, size, background colors, edge color and grid colors of the plot area. |
getPlotArea | (Self) | Gets the PlotArea object representing the plot area. |
packPlotArea | (Self) | Adjusts the plot area size and position to fit the plot area and the axis labels in a bounding box. |
setClipping | (Self) | Enables clipping on the plot area. |
setTrimData | (Self) | Uses only a subset of the data series to draw charts. |
addBarLayer | (Self) | Adds a bar layer to the XYChart, and specify the data set to use for drawing the bars. |
addBarLayer2 | (Self) | Adds an empty bar layer to the XYChart. |
addBarLayer3 | (Self) | Adds a multi-color bar layer to the XYChart, and specify the data set to use for drawing the bars. |
addLineLayer | (Self) | Adds a line layer to the XYChart, and specify the data set to use for drawing the line. |
addLineLayer2 | (Self) | Adds an empty line layer to the XYChart. |
addSplineLayer | (Self) | Adds a spline layer to the XYChart. |
addStepLineLayer | (Self) | Adds a step line chart layer to the XYChart. |
addTrendLayer | (Self) | Adds a trend chart layer to the XYChart, and specify the data set to use for drawing the trend line. |
addTrendLayer2 | (Self) | Adds a trend chart layer to the XYChart, and specify the x and y values for drawing the trend line. |
addInterLineLayer | (Self) | Adds an inter-line layer the XYChart. An inter-line layer is used to fill the region between any two lines (straight lines, spline curves, step lines, etc). |
addScatterLayer | (Self) | Adds a scatter chart layer to the XYChart. |
addAreaLayer | (Self) | Adds an area chart layer to the XYChart, and specify the data set to use for drawing the area. |
addAreaLayer2 | (Self) | Adds an empty area chart layer to the XYChart. |
addBoxWhiskerLayer | (Self) | Adds a box-whisker layer to the XYChart, and specify the data sets to use for drawing the layer. |
addBoxWhiskerLayer2 | (Self) | Adds a multi-color box-whisker layer to the XYChart, and specify the data sets to use for drawing the layer. |
addBoxLayer | (Self) | Adds a floating box layer to the XYChart, and specify the data sets to use for drawing the layer. |
addVectorLayer | (Self) | Adds a vector layer to the chart. |
addHLOCLayer | (Self) | Adds a high-low-open-close (HLOC) layer to the XYChart, and specify the data sets to use for drawing the layer. |
addHLOCLayer2 | (Self) | Adds an empty high-low-open-close (HLOC) layer to the XYChart. |
addHLOCLayer3 | (Self) | Adds a multi-color high-low-open-close (HLOC) layer to the XYChart, and specify the data sets to use for drawing the layer. |
addCandleStickLayer | (Self) | Adds a candlestick layer to the XYChart, and specify the data sets to use for drawing the layer. |
addContourLayer | (Self) | Adds a contour layer to the XYChart, and specify the data sets to use for drawing the layer. |
getLayer | (Self) | Gets a Layer object based on the order in which it is being added to the chart. |
getLayerByZ | (Self) | Gets a Layer object based on the order in which it is being drawn. |
getLayerCount | (Self) | Gets the number of layers in the chart. |
layoutAxes | (Self) | Performs axis auto-scaling and sets the axis positions and lengths. |
getXCoor | (Self) | Gets the x pixel coordinate given the x data value. |
getYCoor | (Self) | Gets the y pixel coordinate given the y data value. |
getXValue | (Self) | Gets the x data value given the x pixel coordinate. |
getYValue | (Self) | Gets the y data value given the y pixel coordinate. |
getNearestXValue | (Self) | Gets the x data value that is nearest to the specified x pixel coordinate. |
xZoneColor | (Self) | Creates an x-zone color. An x-zone will change from one color to another depending on a threshold value on the x-axis. |
yZoneColor | (Self) | Creates a y-zone color. A y-zone will change from one color to another depending on a threshold value on the y-axis. |
setSize | BaseChart | Sets the size of the chart, exclusive of the drop shadow (if any). |
getWidth | BaseChart | Gets the width of the chart. |
getHeight | BaseChart | Gets the height of the chart. |
getAbsOffsetX | BaseChart | Gets the x offset of the chart relative to the outermost MultiChart container. |
getAbsOffsetY | BaseChart | Gets the y offset of the chart relative to the outermost MultiChart container. |
setBackground | BaseChart | Sets the background color, border color and 3D border effect of the chart. |
setRoundedFrame | BaseChart | Sets the border style of the chart to rounded corners. |
setDropShadow | BaseChart | Adds a drop shadow to the chart. |
setBorder | BaseChart | Sets the border color of the chart. |
setWallpaper | BaseChart | Uses the image from the specified file as the wallpaper to repetitively fill the background of the chart. |
setBgImage | BaseChart | Uses the image from the specified file as the background image of the chart. |
setSearchPath | BaseChart | Sets the file system search path for loading image files. |
setTransparentColor | BaseChart | Specifies a certain color to mean transparent when creating a raster image output, or to include alpha transparency channel in the output. |
setAntiAlias | BaseChart | Controls whether anti-alias is used when drawing lines, shapes and text. |
addTitle | BaseChart | Adds a title at the top center of the chart. |
addTitle2 | BaseChart | Adds a title to the chart. |
addLegend | BaseChart | Adds a legend box to the chart. |
addLegend2 | BaseChart | Adds a legend box to the chart with grid layout. |
getLegend | BaseChart | Gets the LegendBox object representing the legend box in the chart. |
layoutLegend | BaseChart | Lays out and gets the LegendBox object representing the legend box in the chart. |
getDrawArea | BaseChart | Retrieves the internal DrawArea object that is used to draw the chart. |
addText | BaseChart | Adds a text box to the chart. |
addTable | BaseChart | Adds a CDML table to the chart. |
addLine | BaseChart | Adds a line to the chart. |
addExtraField | BaseChart | Adds an array of text to be used as an extra field in various places. |
addExtraField2 | BaseChart | Adds an array of numbers/dates to be used as an extra field in various places. |
setColor | BaseChart | Change the color at the specified position in the palette. |
setColors | BaseChart | Change the colors in the palette. |
setColors2 | BaseChart | Change the colors in the palette, starting from the specified position in the palette. |
getColor | BaseChart | Gets the color at the specified position of the palette. |
adjustBrightness | BaseChart | Creates a color that is a darkened or brightened version of the given color. |
halfColor | BaseChart | Creates a color that is half the intensity of the given color. |
dashLineColor | BaseChart | Creates a dash line color. |
patternColor | BaseChart | Creates a pattern color using an array of colors as the bitmap pattern. |
patternColor2 | BaseChart | Creates a pattern color by loading the pattern from an image file. |
linearGradientColor | BaseChart | Creates a two-point linear gradient color. |
linearGradientColor2 | BaseChart | Creates a multi-point linear gradient color. |
radialGradientColor | BaseChart | Creates a two-point radial gradient color. |
radialGradientColor2 | BaseChart | Creates a multi-point radial gradient color. |
gradientColor | BaseChart | Creates a two-point linear gradient color. |
gradientColor2 | BaseChart | Creates a multi-point linear gradient color. |
setDefaultFonts | BaseChart | Sets the defaults for normal, bold, italic and bold-italic fonts. |
setFontTable | BaseChart | Sets an entry in the font table to the specified font name. |
formatValue | BaseChart | Formats a number/date using the ChartDirector formatting syntax as is in Parameter Substitution and Formatting. |
setNumberFormat | BaseChart | Sets the characters used for thousand separator, decimal point, and negative sign. |
setMonthNames | BaseChart | Sets the names of the months for date/time formatting purposes. |
setWeekDayNames | BaseChart | Sets the names of the week days for date/time formatting purposes. |
setAMPM | BaseChart | Sets the names to be used to denote morning and afternoon. |
layout | BaseChart | Perform auto-scaling of the axes (if any) and compute the positions of the various objects in the chart. |
enableVectorOutput | BaseChart | Enables true vector graphics output. |
makeChart | BaseChart | Generates the chart image and save it into a file. |
makeChart2 | BaseChart | Generates the chart as an image in memory. |
makeChart3 | BaseChart | Generates the chart in internal format and return a DrawArea object to allow adding custom drawings on top of the chart. |
makeSession | BaseChart | Generates the chart as an image and save it to a session variable. |
initDynamicLayer | BaseChart | Initializes a dynamic layer for drawing text and shapes. |
removeDynamicLayer | BaseChart | Removes the dynamic layer if any. |
getHTMLImageMap | BaseChart | Generates an HTML image map for the chart. |
getJsChartModel | BaseChart | Gets the Javascript Chart Model for passing to WebChartViewer.setChartModel for the purpose of supporting track cursors in a web application. |
getChartMetrics | BaseChart | Gets the chart metrics for passing to WebChartViewer.setChartMetrics to support view ports for web applications. |