ChartDirector 7.0 (Python Edition)
BaseChart.
Usage
Description
<area shape="rect" coords="34,219,63,139" href="myurl.py?x=0&xLabel=Mon&dataSet=0&dataSetName=Revenue&value=100" title="Apple: 174">
<area shape="rect" coords="74,219,103,119" href="myurl.py?x=1&xLabel=Tue&dataSet=0&dataSetName=Revenue&value=125" title="Orangle: 99">
<area shape="rect" coords="114,219,143,22" href="myurl.py?x=2&xLabel=Wed&dataSet=0&dataSetName=Revenue&value=245.78" title="Mango: 201">
Chart/Layer Type | Default Query Format |
---|---|
Pie chart | sector={sector}&label={label}&value={value}&percent={percent} |
Bar, Line, Spline, Step Line, Area and Scatter layers | x={x}&xLabel={xLabel}&dataSet={dataSet}&dataSetName={dataSetName}&value={value} |
Percentage Bar and Percentage Area layers | x={x}&xLabel={xLabel}&dataSet={dataSet}&dataSetName={dataSetName}&value={value}&percent={percent} |
HLOC and CandleStick layers | x={x}&xLabel={xLabel}&high={high}&low={low}&open={open}&close={close} |
Box-Whisker layer | x={x}&xLabel={xLabel}&top={top}&bottom={bottom}&max={max}&min={min}&med={med} |
Trend layer | dataSetName={dataSetName} |
Vector layer and Polar Vector layer | x={x}&xLabel={xLabel}&dataSetName={dataSetName}&value={value}&dir={dir}&len={len} |
Polar Line, Area, Spline Line and Spline Area layers | "x={x}&label={label}&name={name}&value={value}" |
Pyramid chart | "index={index}&label={label}&value={value}&percent={percent}" |
3D Scatter Chart | "x={x}&y={y}&z={z}&dataSet={dataSet}&dataSetName={name}" |
Arguments
Argument | Default | Description |
---|---|---|
url | (Mandatory) | The URL to be used in the "href" attribute of the image map. Parameter Substitution and Formatting is supported. Use an empty string if no href attribute is needed. |
queryFormat | "" | A text string representing the template of the query parameters to be appended to the URL. Parameter Substitution and Formatting is supported. The special keyword "{default}" represents the default query parameters. This is useful for specifying appending to the default. Note that an empty string means to use the default query query parameters. To specify no query parameter, use a space character. |
extraAttr | "" | A text string to specify additional attributes to add to the <area> tag. Parameter Substitution and Formatting is supported. |
offsetX | 0 | An offset to be added to all x coordinates in the image map. This is useful if the current image will be shifted and inserted into another image. In this case, the image map will need to be shifted by the same offset. |
offsetY | 0 | An offset to be added to all y coordinates in the image map. See offsetX above for description. |
Return Value