fusioncharts 属性

  1. XML中的标签和属性有:   
  2. <graph> 所具有的属性   
  3. flash背景参数:   
  4. * bgColor=”HexColorCode” : 设置flash的背景颜色   
  5. * bgAlpha=”NumericalValue(0 - 100 )” : 设置背景的透明度   
  6. * bgSWF=”Path of SWF File” : 设置一个外部的Flash 为flash的背景   
  7. 图表背景参数:   
  8. * canvasBgColor=”HexColorCode” : 设置图表背景的颜色   
  9. * canvasBaseColor=”HexColorCode” : 设置图表基部的颜色   
  10. * canvasBaseDepth=”Numerical Value” : 设置图表基部的高度   
  11. * canvasBgDepth=”Numerical Value” : 设置图表背景的深度   
  12. * showCanvasBg=”1 / 0 ″ : 设置是否显示图表背景   
  13. * showCanvasBase=”1 / 0 ″ : 设置是否显示图表基部   
  14. 图表和轴的标题   
  15. * caption=”String” : 图表上方的标题   
  16. * subCaption=”String” : 图表上方的副标题   
  17. * xAxisName= “String” : X轴的名字   
  18. * yAxisName= “String” : y轴的名字   
  19. 图表数量值的限制   
  20. * yAxisMinValue=”value”: y轴最小值   
  21. * yAxisMaxValue=”value”: y舟最大值   
  22. 通用参数   
  23. * shownames=”1 / 0 ″ : 设置是否在x轴下显示<set>里指定的name   
  24. * showValues=”1 / 0 ″ : 设置是否在柱型图或饼型图上显示数据的值   
  25. * showLimits=”1 / 0 ″ : 设置是否在图表的y轴坐标上显示最大最小的数据值   
  26. * rotateNames=”1 / 0 ″ : 设置x轴下的name 是水平显示还是垂直显示   
  27. * animation=”1 / 0 ″ : 设置柱型图的显示是否是动画显示   
  28. 字体属性   
  29. * baseFont=”FontName” : 设置字体样式   
  30. * baseFontSize=”FontSize” : 设置字体大小   
  31. * baseFontColor=”HexColorCode” : 设置字体颜色   
  32. * outCnvBaseFont = “FontName” : 设置图表外侧的字体样式   
  33. * outCnvBaseFontSze=”FontSize” : 设置图表外侧的字体大小   
  34. * outCnvBaseFontColor=”HexColorCode”: 设置图表外侧的字体颜色   
  35. 数字格式选项   
  36. * numberPrefix=”$” : 设置数据值的前缀   
  37. * numberSuffix=”p.a” : 设置数据值的后缀(如果是特殊字符,需要使用URL Encode重编码)   
  38. * formatNumber=”1 / 0 ″ : 设置是否格式化数据   
  39. * formatNumberScale=”1 / 0 ″ : 设置是否用“K”来代表千,“M”来代表百万   
  40. * decimalSeparator=”.” : 用指定的字符来代替小数点   
  41. * thousandSeparator=”,” : 用指定的字符来代替千位分隔符   
  42. * decimalPrecision=”2 ″ : 设置十进制的精度   
  43. * divLineDecimalPrecision=”2 ″: 设置y轴数值的小数位数   
  44. * limitsDecimalPrecision=”2 ″ : 设置y轴的最大最小值的小数位数   
  45. 水平分隔线   
  46. * numdivlines=”NumericalValue” : 设置水平分隔线的数量   
  47. * divlinecolor=”HexColorCode” : 设置水平分隔线的颜色   
  48. * divLineThickness=”NumericalValue” : 设置水平分隔线的宽度   
  49. * divLineAlpha=”NumericalValue0-100 ″ : 设置水平分隔线的透明度   
  50. * showDivLineValue=”1 / 0 ″ : 设置是否显示水平分隔线的数值   
  51. 鼠标旋停参数   
  52. * showhovercap=”1 / 0 ″ : 显示是否激活鼠标旋停效果   
  53. * hoverCapBgColor=”HexColorCode” : 设置鼠标旋停效果的背景颜色   
  54. * hoverCapBorderColor=”HexColorCode” : 设置鼠标旋停效果的边框颜色   
  55. * hoverCapSepChar=”Char” : 设置鼠标旋停后显示的文本中的分隔符号   
  56. 图表边距的设置   
  57. * chartLeftMargin=”Numerical Value (in pixels)” : 设置图表左边距   
  58. * chartRightMargin=”Numerical Value (in pixels)” : 设置图表右边距   
  59. * chartTopMargin=”Numerical Value (in pixels)” : 设置图表上边距   
  60. * chartBottomMargin=”Numerical Value (in pixels)” : 设置图表下边距   
  61. Zero Plane   
  62. The zero plane is a 3D plane that signifies the 0  position on the chart. If there are no negative numbers on the chart, you won’t see a visible zero plane.   
  63. * zeroPlaneShowBorder=”1 / 0 ″ : Whether the border of a 3D zero plane would be plotted or not.   
  64. * zeroPlaneBorderColor=”Hex Code” : If the border is to be plotted, this  attribute sets the border color  for  the plane.   
  65. * zeroPlaneColor=”Hex Code” : The intended color for  the zero plane.   
  66. * zeroPlaneAlpha=”Numerical Value 0 - 100 ″ : The intended transparency  for  the zero plane.   
  67.   
  68. <set> 所具有的属性   
  69. * name=”string” : 设置在图表中体现出来的名字   
  70. Example: <set name=’Jan’ …>   
  71. * value=”NumericalValue” : 设置在图表中各个名字想对应的值   
  72. Example: <set name=’Jan’ value=’12345 ′ …>   
  73. * color=”HexCode” : 设置在图表中相对应的柱行图的颜色   
  74. Example: <set name=’Jan’ value=’12345 ′ color=’ 636363 ′ …>   
  75. * hoverText=”String value” : 设置鼠标旋停在相对应的柱行图 上出现的文本内容   
  76. Example: <set name=’Jan’ value=’12345 ′ color=’ 636363 ′ hoverText=’January’…>   
  77. * link=”URL” : 设置该柱行图的链接地址(需要URL Encode重编码)   
  78. Example: <set … link=’ShowDetails.asp%3FMonth=Jan’ …>   
  79. * alpha=”Numerical Value 0 - 100 ″ : 设置在图表中相对应的柱行图的透明度   
  80. Example: <set … alpha=’100 ′ …>   
  81. * showName=”1 ″ : 设置在是否显示图表中相对应的柱行图的name   
  82. Example : <set … showName=”1 ″ …> 
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值