amcharts柱状图配置中文解析_第1页
amcharts柱状图配置中文解析_第2页
amcharts柱状图配置中文解析_第3页
amcharts柱状图配置中文解析_第4页
amcharts柱状图配置中文解析_第5页
已阅读5页,还剩35页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、<xml version="" encoding="UTF-8"><!- Value between brackets, for example #FFFFFF shows default value which is used if this parameter is not set ->< !- This means, that if you are happy with this value, you can delete this line at all and reduce file size -><

2、!- value or explanation between () brackets shows the range or type of values you should use for this parameter ->< !- the top left corner has coordinates x = 0, y = 0-><!- "!" before x or y position (for example: <x>!20</x>) means that the coordinate will be calcul

3、ated from the right side or the bottom -><settings><type></type><!- 柱状图是纵向还是横向,默认纵向 column (column / bar) -><data_type></data_type><!-数据类型 xml (xml / csv) -><csv_separator></csv_separator><!- CSV®据类型的分隔符; (string)csv file data separato

4、r (you need it only if youare using csv file for your data) -><skip_rows></skip_rows><!- 0 (Number) if you are using csv data type, you can set thenumber of rows which should be skipped here -><font>Tahoma</font><!- Arial (font name) use device fonts, such as Aria

5、l,Times New Roman, Tahoma, Verdana. -><text_size></text_size><!- 11 (Number) text size of all texts. Every text size can beset individually in the settings below -><text_color></text_color><!-#000000 (hex color code) main text color. Every textcolor can be set ind

6、ividually in the settingsbelow-><decimals_separator></decimals_separator><!- , (string)decimal separator. Note, that this is fordisplaying data only. Decimals in data xml file must beseparated with a dot -><thousands_separator></thousands_separator> <!- (string) t

7、housand separator. use "none"if you don't want to separate -><scientific_min></scientific_min><!- Ifabsolute value of your number is equal orless then scientific_min, this number will beformatted usingscientific notation, for example: -><scientificmax></sc

8、ientificmax><!- 000If absolute value of your number is equalor bigger then scientific_max,this number willbe formattedusing scientific notation, forexample: 0000 -><digits_after_decimal></digits_after_decimal><!- (Number) if your value has less digits after decimalthen is set

9、 here, zeroes will beadded -><redraw>true</redraw><!- 如果 chart 的宽度或高度是用百分比设置的话, redraw 为 true 则将在屏幕变化时自动调整大小false(true / false) if your chart's width or height is set in percents,and redraw is setto true, the chart will be redrawn then screen size changes -><!- thisfuncti

10、on is beta, be careful. Legend, buttons labels will not berepositionedif you set your xand y values for these objects -><!- 0 (Number)<!- false<reload_data_interval></reload_data_interval>how often data should be reloaded (time in seconds) -><preloader_on_reload></pr

11、eloader_on_reload>(true / false) Whether to show preloaded whendata or settings are reloaded -><add_time_stamp></add_time_stamp><!- false (true / false) if true, a unique number will be addedevery time flash loads data. Mainly this feature is useful ifyou set reload _data_interv

12、al -><precision></precision><!- 2 (Number) shows how many numbers should be shown aftercomma for calculated values (percents)-><depth>0</depth><!- 柱子的纵深,用于3D效果0(Number) the depth of chart and columns (for 3D effect) -><angle>0</angle><!- 柱子倾斜角度,用

13、于3D效果30(0 - 90) angle of chart area and columns (for 3D effect) -><colors></colors><!-#FF6600,#FCD202,#B0DE09,#0D8ECF,#2A0CD0,#CD0D74,#CC0000,#00CC00,#0000CC,#DDDDDD,#999999,#333333,#990000 Colors of graphs. if the graph color is not set, color from thisarray will be used -><

14、js_enabled></js_enabled><!- true (true / false) Incase you don't use any flash - JavaScript communication,youshuold set this setting to false - this will save someCPUand will disable thesecurity warning message which appears when opening the chart from harddrive. -><column>&

15、lt;type></type><!- 柱子类型(集中型、堆栈图、100%!栈图、3D柱状图)clustered (clustered, stacked, 100% stacked, 3d column) -><width>85</width><!- 柱子占栏的百分比80(0 - 100) width of column (in percents)-><spacing>0</spacing><!- 柱子间的间距5 (Number)space between columns of one categor

16、y axis value, in pixels.Negative values can be used. -><grow_time>3</grow_time> <!- 柱子生成时间 0 (Number)grow time in seconds. Leave 0 to appear instantly -><grow_effect></grow_effect><!-柱子生成效果elastic (elastic, regular, strong) -><!-逐个显示还<sequenced_grow>tr

17、ue</sequenced_grow>是一起显示false (true / false) whethercolumns should grow at the same time or one after another -><alpha></alpha><!- 100 (Number) alpha of all columns -><border_color></border_color><!-#FFFFFF (hex color code) -><border_alpha></bord

18、er_alpha><!- 0(Number) -><data_labels><!CDATA></data_labels><!- 柱子值显示(title value series percents start differencetotal) You can format any data label: title will be replacedwith real title, value - with value and soon. You can add yourown text or html code too. ->&l

19、t;data_labels_text_color></data_labels_text_color><!- text_color (hex color code) -><data_labels_text_size></data_labels_text_size><!- text_size (Number) -><data_labels_position></data_labels_position><!- 柱子值显示位置outside (inside, outside, above).This se

20、tting is only for clustered chart. -><!- if you set "above" for column chart, the data labelwill bedisplayed inside column, rotatedby 90 degrees -><data_labels_always_on></data_labels_always_on><!- 是否始终显示柱子值false (true / false)If the data label is placed inside of t

21、he baror column (stacked chart) and the bar or columnistoo small for the label to fit, it is hidden.If you setthis setting to "true",the data labelswill alwaysbe visible. -><balloon_text><!CDATA></balloon_text><!- 气球显示数据格式 (title value series percentsstart differenc

22、e total) You can formatany data label:title will be replaced with real title,value - with valueand so on. You can add your owntext or html codetoo. -><link_target></link_target><!- (_blank,_top .) -><gradient></gradient><!- 颜色渐变方向 vertical (horizontal / vertical)

23、Direction of column gradient.Gradient colors are defined in graph settings below. -><bullet_offset></bullet_offset><!- 子弹与柱子的间距0 (Number) distance from column / bar to the bullet -><hover_brightness>30</hover_brightness><!- 鼠标指向柱子时的明暗度0 (from -255 to 255)when the

24、useThe column maydarken/lightenrolls over it.The intensity may be set here-></column><line><!- line 类型曲线图参数设置Hereare general settings for "line" graph type.You can set most of thesesettings for individual lines in graph settings below -><connect></connect>&

25、lt;!- false (true / false)whether to connect points if data is missing -><width></width><!- 2 (Number) linewidth -><alpha></alpha><!- 100 (Number)line alpha -><fill_alpha></fill_alpha><!- 0 (Number) fill alpha -><bullet></bullet>&l

26、t;!- (square, round,square_outlined, round_outlined, square_outline,round_outline, can be used predefined bullets or loadedcustom bullets. Leave empty if you don't want to have bullets at all.Outlined bullets use plot area color for outline color -><bullet_size></bullet_size><!

27、- 8 (Number) bulletsize -><data_labels><!CDATA></data_labels><!- (title value series percents startdifference total) You can format anydata label:title will be replaced with real title,value - withvalue and so on. You can add your own textor html code too. -><data_label

28、s_text_color></data_labels_text_color><!- text_color (hex color code) -><data_labels_text_size></data_labels_text_size><!- text_size (Number) -><balloon_text><!CDATA><!- use the sameformatting rules as for data labels -></balloon_text><link

29、_target></link_target><!- (_blank, _top .) -></line><background>- BACKGROUND -><!<color></color><!-#FFFFFF (hex color code) Separate color codes with comas for gradient><alpha></alpha><!-0 (0 - 100) use 0 if you are using custom swf o

30、r jpg for background-><border_color></border_color>color code) -><border_alpha>15</border_alpha><file></file><!- #000000 (hex<!- 0 (0 - 100) -><!- (filename) swf or jpg file of a background.Do not use progressive jpg file,it will be not visible w

31、ithflash player 7 -><!- The chart will look for this file in "path" folder("path" is set in HTML) -></background><plot_area><!- PLOT AREA (the areabetween axes) -> <color></color><!- #FFFFFF(hex colorcode) Separate color codes with comas

32、for gradient -><alpha></alpha><!- 0 (0 - 100) if you wantit to be different than background color,use biggerthan 0 value -><bordercolor></bordercolor><!-#000000 (hex color code)<border_alpha></border_alpha><!-0 (0 - 100)<margins><!- plot ar

33、ea margins -><left>70</left><!- 60(Number / Number%)-><top>60</top><!- 60(Number / Number%)-><right>50</right><!- 60(Number / Number%)-><bottom>80</bottom><!- 80(Number / Number%)-></margins></plot_area><grid&g

34、t;<!-网格参数 GRID -><category>category axis grid<!-横轴网格参数设置<color></color>#000000 (hex color code) -><alpha>5</alpha>(0 - 100) -><dashed></dashed>false(true / false) -><dash_length></dash_length>5 (Number) -></category><

35、;value><!- 纵轴网格参数设置<color></color><!- #000000 (hex color code) -><alpha>0</alpha><!- 15 (0 - 100) ->value axis grid -><!-<!- 15<!-<!-gridlines will be filled with this color<dashed></dashed><!- false (true / false) -><dash

36、_length></dash_length><!-5 (Number) -><approx_count></approx_count><!-纵轴的网格数目 10 (Number) approximate number of gridlines -><fill_color>000000</fill_color><!-#FFFFFF (hex color code) every second area between<!(you will need to set fill_alpha > 0

37、) -><fill_alpha>5</fill_alpha>- 0 (0 - 100) opacity of fill -></value></grid><values><!- VALUES -><category><!- category axis -><enabled></enabled><!- true (true / false) -><frequency>3</frequency><!- 横坐标标签出现频率1 (

38、Number) howoften values should be placed -><start_from></start_from><!- 1 (Number) you can set series from which categoryvalues will be displayed -><rotate></rotate><!- 横坐标倾斜角度0 (0 - 90) angle of rotation. If you want torotate bydegree from 1 to 89, you must have

39、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 willbe displayed inside plot area. This setting will no

40、t work forvalues rotated by 1-89 degrees (0 and 90 only)-></category><value><!- value axis -><enabled>true</enabled><!- true (true / false) -><reverse></reverse><!- false (true / false) whether to reverse this axis values or not.If set to true, v

41、alues will start from biggest number and will endwith a smallest number -><min></min><!- (Number) minimum value of this axis. If empty,this value will be calculated automatically.<max></max><!- (Number) maximum value of this axis. If empty,this value will be calculat

42、ed automatically-><!-<strictminmax></strictminmax>false (true / false) by default, if your values are biggerthen defined max (or smaller then definedmin),max and min is changed so that all the chartwould fit to chart area.If you don't want this, set this option totrue. -><

43、;frequency></frequency><!- 几个纵轴网格显示值1 (Number) howoften values should be placed,1 - near every gridline, 2 - near every secondgridline. -><rotate></rotate><!- 纵轴标签倾斜角度0 (0 - 90) angle of rotation.from 1 toIf you want to rotate by degree89, you musthave file in fonts fol

44、der -><skip_first></skip_first><!- true (true / false) to skip or not first value -><skip_last></skip_last><!- false (true / false) to skip or not last value -><color></color><!- text_color (hex color code) -><text_size></text_size>

45、;<!- text_size (Number) -><unit></unit><!- 单位 (text) -><unit_position></unit_position><!-right (right / left) -><integers_only></integers_only><!- false (true /false) if set to true, values with decimals will be omitted -><inside><

46、/inside><!-false (true / false) if set to true, axis values will be displayedinside plot area. This setting will not work for valuesrotatedby 1-89 degrees (0 and 90 only) -><duration></duration><!- (ss/mm/hh/DD) In case you want your axis to display formatteddurations instead

47、 of numbers, you have to set the unit of the durationin your data file. For example, if your values in data file represents seconds,set "ss" ></value></values><axes><!- axes -><category>- category axis -><color></color>#000000 (hex color code

48、) -><alpha></alpha>100 (0 - 100) -><width>1</width>(Number) line width, 0 for hairline -><tick_length></tick_length><!-<!-<!- 2<!- 7 (Number)<!</category><value><!- value axis -><color></color>#000000 (hex colo

49、r code) -><alpha></alpha>100 (0 - 100) -><width>1</width>(Number) line width, 0 for hairline -><tick_length></tick_length>-><logarithmic></logarithmic>false) If set to true, this axis will use<!-<!-<!- 2<!- 7 (Number)<!- fals

50、e (true /logarithmic scale instead of linear -></value></axes><balloon>!- BALLOON -><enabled></enabled>(true / false) -><color></color><<!- true<!- (hex color code) balloon background color. If empty,slightly darker then current column colo

51、r will be used -><alpha>85</alpha><!- 100(0 - 100) -><textcolor></textcolor><!- #FFFFFF(hex color code) -><textsize></textsize><!- text_size(Number) -><maxwidth></maxwidth><!- 220(Number) The maximum width of a balloon -><

52、cornerradius></cornerradius><!- 0 (Number) Cornerradius of a balloon. If you set it > 0,the balloon will not display arrow -><border_width></border_width><!- 0 (Number) -><border_alpha></border_alpha><border_color></border_color></balloo

53、n><!- (Number) -><!- (hex color code)<legend><!- LEGEND -><enabled></enabled><!- true(true / false) -><x></x><!- (Number / Number% / !Number) if empty, will be equal to leftmargin -><y></y><!- (Number / Number%/ !Number) if e

54、mpty, will be below plot area<width></width><!- (Number / Number%) if empty, will be equal to plot area width -><max_columns></max_columns><!- (Number)the maximum number of columns in the legend -><color></color><!-#FFFFFF (hex color code) backgroun

55、d color. Separate color codeswith comas for gradient -><alpha></alpha>0 (0 - 100) background alpha -><border_color></border_color>color code) border color -><border_alpha></border_alpha>border alpha -><text_color></text_color>(hex color cod

56、e) -><text_size></text_size>text_size (Number) -><spacing></spacing><!-<!- #000000 (hex<!- 0 (0 - 100)<!- text_color<!-<!- 10(Number) vertical and horizontal gap between legend entries -><!- 0<margins></margins>(Number) legend margins

57、 (space between legend border and legendentries,recommended to use only if legend border is visibleor backgroundcolor is different from chart area background color) -><reverse_order></reverse_order><!- false (true /false) whether to sort legend entriesin a reverse order -><al

58、ign></align><!-left (left / center / right) alignment of legend entries -><key><!- KEY (the color box near every legend entry) -><size></size><!- 16 (Number) key size-><border_color></border_color><!- (hex colorcode) leave empty if you don&

59、#39;t want to have border -></key></legend><export_as_image><!- export_as_image feature worksonly on a web server -><file></file><!- (filename) if you setfilename here, context menu (then user right clicks onflash movie)"Export as image" will appea

60、r. This will allow user to export chartas an image.Collected image data will be posted to this file name (useamcolumn/ oramcolumn/ -><target></target><!- (_blank, _top .) target ofa window in which export file must be called -><x></x><!- 0 (Number / Number%/ !Numb

61、er) x position of "Collecting data" text -><y></y><!- (Number / Number%/ !Number) y position of "Collecting data" text.If not set, will bealigned to the bottom of flash movie -><color></color><!- #BBBB00 (hex color code)background color of &quo

62、t;Collecting data" text -><alpha></alpha><!- 0 (0 - 100) background alpha-><text_color></text_color><!- text_color (hexcolor code) -><text_size></text_size><!- text_size(Number) -></export_as_image><error_messages><!- "error_messages" settingswill be applied for all error messages except the onewhich is showedif settings file wasn't found -><enabled></enab

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论