当前位置: 代码迷 >> Web前端 >> amchart相干
  详细解决方案

amchart相干

热度:172   发布时间:2012-11-23 00:03:43.0
amchart相关

amchart相关

?

?

<settings>

? ?<!-- chart config -->

? ?<type></type> ?<!-- ?bar column xy -->

其中bar 表示是横向的线条. ?空的表示普通的线条.

?

因为浏览器缓存.老是调不出来效果.整死我了.

----------------------

?

?<column>

? ? <type></type> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [clustered] (clustered, stacked, 100% stacked, 3d column) -->

? ? <width>60</width>

?

width 表示线条粗细.

?

-------------------------左边距-------------------------------------

?

<plot_area> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- PLOT AREA (the area between axes) -->

? ? <color></color> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [#FFFFFF](hex color code) Separate color codes with comas for gradient -->

? ? <alpha></alpha> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [0] (0 - 100) if you want it to be different than background color, use bigger than 0 value -->

? ? <border_color></border_color> ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [#000000] (hex color code) --> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

? ? <border_alpha></border_alpha> ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [0] (0 - 100) --> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

? ? <margins> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- plot area margins -->

? ? ? <left>100</left>

?

?

?

-----------------------旋转---------------------------------------------------

?

?<values> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<!-- VALUES -->

? ? <x> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- x axis -->

? ? ? <enabled></enabled> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [true] (true / false) -->

? ? ? <rotate>30</rotate>

?

?

-----------------------------底部时间倾斜?rotate 属性-------------------------------

?

?<values> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<!-- VALUES -->

? ? <category> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<!-- category axis -->

? ? ? <enabled></enabled> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [true] (true / false) -->

? ? ? <frequency>3</frequency> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<!-- [1] (Number) how often values should be placed -->

? ? ? <start_from></start_from> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [1] (Number) you can set series from which category values will be displayed -->

? ? ? <rotate>30</rotate> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [0] (0 - 90) angle of rotation. If you want to rotate by degree from 1 to 89, you must have font.swf file in fonts folder --> ? ? ?

? ? ? <color></color> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [text_color] (hex color code) -->

? ? ? <text_size></text_size> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [text_size] (Number) --> ? ?

? ? ? <inside></inside> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [false] (true / false) if set to true, axis values will be displayed inside plot area. This setting will not work for values rotated by 1-89 degrees (0 and 90 only) --> ? ? ?

? ? </category>

?

?

并且确定?<settings>

? <type></type> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [column] (column / bar) -->

? <data_type></data_type> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [xml] (xml / csv) -->

? <csv_separator></csv_separator> ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [;] (string) csv file data separator (you need it only if you are using csv file for your data) --> ? ??

? <skip_rows></skip_rows> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <!-- [0] (Number) if you are using csv data type, you can set the number of rows which should be skipped here -->

? <font>Tahoma</font>?

?

因为他根据font找swf文件.