最好的参考当然是官方文档:http://docs.fusioncharts.com/flex/charts/Contents/ChartSS/
bgColor:图表区域背景色(画布外)
canvasBgColor:画布背景色
锚点
属性名称 | 类型 | 取值范围 | 描述 |
---|---|---|---|
drawAnchors | Boolean | 0/1 | 是否绘制数据点.需要注意的是提示和链接都是和数据点相关联的,如果不显示anchors,那么它们都不起作用,可以通过设置其透明度为0来隐藏 |
anchorSides | Number | 3-20 | 数据点的边的个数,确定数据点的形状。如3就是三角形,4就是正方形. |
anchorRadius | Number | In Pixels | 半径,好理解. |
anchorBorderColor | Color | Hex Code | 线条颜色. |
anchorBorderThickness | Number | In Pixels | 线条宽度. |
anchorBgColor | Color | Hex Code | 数据点的背景颜色,也就是填充色. |
anchorAlpha | Number | 0-100 | 透明度,可以设置为0来隐藏数据点但保留提示和链接. |
anchorBgAlpha | Number | 0-100 | 填充色的透明度. |
空白
属性名称 | 类型 | 取值范围 | 描述 |
---|---|---|---|
captionPadding | Number | In Pixels | This attribute lets you control the space (in pixels) between the sub-caption and top of the chart canvas. If the sub-caption is not defined, it controls the space between caption and top of chart canvas. If neither caption, nor sub-caption is defined, this padding does not come into play. |
xAxisNamePadding | Number | In Pixels | X轴的标题和标签之间的距离;如果没有显示数据标签,则表示和canvas之间的距离. |
yAxisNamePadding | Number | In Pixels | y轴的标题和标签之间的距离;如果没有显示数据标签,则表示和canvas之间的距离.. |
yAxisValuesPadding | Number | In Pixels | This attribute helps you set the horizontal space between the canvas left edge and the y-axis values or trend line values (on left/right side). This is particularly useful, when you want more space between your canvas and y-axis values. |
labelPadding | Number | In Pixels | 标签和画布底边之间的垂直距离(X轴). |
valuePadding | Number | In Pixels | 显示value的时候,用来设置value和columns/anchors之间的垂直距离 . |
chartLeftMargin | Number | In Pixels | Amount of empty space that you want to put on the left side of your chart. Nothing is rendered in this space. |
chartRightMargin | Number | In Pixels | Amount of empty space that you want to put on the right side of your chart. Nothing is rendered in this space. |
chartTopMargin | Number | In Pixels | Amount of empty space that you want to put on the top of your chart. Nothing is rendered in this space. |
chartBottomMargin | Number | In Pixels | Amount of empty space that you want to put on the bottom of your chart. Nothing is rendered in this space. |
canvasPadding | Number | In Pixels | Lets you set the space between the canvas border and first & last data points |
legendPadding | Number | In Pixels | Padding of legend from right/bottom side of canvas |
canvasLeftMargin | Number | In Pixels | This attribute lets you control the space between the start of chart canvas and the start (x) of chart. In case of 2D charts, the canvas is the visible rectangular box. In case of 3D charts, the canvas box is the imaginary box around the 3D canvas.Using this attribute, you can control the amount of empty space between the chart left side and canvas left side. By default, FusionCharts automatically calculates this space depending on the elements to be placed on the chart. However, if you want to over-ride this value with a higher value, you can use this attribute to specify the same. Please note that you cannot specify a margin lower than what has been calculated by the chart.This attribute is particularly useful, when you’ve multiple charts placed in a page and want all their canvas start position to align with each other - so in such a case, you can set same margin value (a value large enough that it doesn’t get rejected by chart owing to it being lower than the calculated value) for all such charts in the page. |
canvasRightMargin | Number | In Pixels | Like canvasLeftMargin, this attribute lets you set the space between end of canvas and end of chart. |
canvasTopMargin | Number | In Pixels | Like canvasLeftMargin, this attribute lets you set the space between top of canvas and top of chart. |
canvasBottomMargin | Number | In Pixels | Like canvasLeftMargin, this attribute lets you set the space between bottom of canvas and bottom of chart. |