This is a list of all of the svg-chart:draw template parameters that can be used to customize the layout of a chart.
Parameter Name |
Default |
Description |
---|---|---|
data |
- |
An XML fragment containing the data series to be charted |
type |
Pie |
The type of chart to be drawn:
|
width |
100 |
The width of the chart object in the containing document (mm) |
height |
- |
The height of the chart object in the containing document (mm), usually calculated automatically. |
chart-width |
|
The width of the chart in plot units. Usually calculated automatically from the other parameters. |
chart-height |
|
The height of the chart in plot units. Usually calculated automatically from the other parameters. |
options |
category-labels |
Optional chart elements. Space separated list of:
|
caption |
- |
Text for the caption for the chart |
caption-x |
120 |
Horizontal position of the caption |
caption-y |
240 |
Vertical position of the caption |
caption-style |
text-anchor: middle; font-size:10pt; font-weight: bold; |
Style for the caption text |
colors |
Built-in color series of 16 colors. |
List of colors in RGB format and separated with spaces e.g. #aabbcc #ffeedd #112233 etc. each color must be 8 chars long. |
plot-x |
20 |
Horizontal position of the plot area |
plot-y |
20 |
Vertical position of the plot area |
plot-width |
200 |
Width of the plot area |
plot-height |
200 |
Height of the plot area |
legend-x |
250 |
Horizontal position of the legend area |
legend-y |
20 |
Vertical position of the legend area |
legend-width |
140 |
Width of the legend area |
legend-height |
200 |
Height of the legend area |
legend-style |
font-size: 8pt; stroke-width: 0.5; stroke: black; |
Style for the legend. |
right-margin |
20 |
Width of right margin |
bottom-margin |
20 |
Width of bottom margin |
category-x-angle |
-45 |
Angle of category labels on x axis |
category-y-angle |
0 |
Angle of category labels on y axis |
category-style |
|
Style of category labels |
axis-style |
font-family: sans-serif; font-size: 8pt; text-anchor: end; |
Style of axis labels |
data-style |
- |
Style of data bars or pie slices |
data-text-style |
font-family: sans-serif; font-size: 8pt; text-anchor: end; |
Style of data value text |
debug |
no |
When 'yes' embeds a comment containing the chart parameters in the output. |
Copyright © 2014 CA.
All rights reserved.
|
|