ChartDirector 7.0 (Python Edition)
XYChart.
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
xData | (Mandatory) | An array of numbers representing the x values of the data points. If no explicit x coordinates are used in the chart (eg. using an enumerated x-axis), an empty array may be used for this argument. |
yData | (Mandatory) | An array of numbers representing the y values of the data points. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
symbol | SquareShape | One of the predefined symbol constants to specify the symbol to use. (See Shape Specification for available built-in shapes.) |
symbolSize | 5 | The size of the symbol in pixels. By default, the width and height will be of the same size. If you want to use different size for width and height, you can pass the width and height to pychartdir.xySize and use the return value as the size. |
fillColor | -1 | The color used to fill the symbol. -1 means that the color is automatically selected from the palette. |
edgeColor | -1 | The edge color used to draw the edge of the symbol. -1 means using LineColor as the edge color. |
Return Value