AmCharts学习笔记
2012-4-6

基本属性说明    3

第一章 AmChart基本属性说明
图种类
图类型
说明
AmPieChart
饼图
AmRadarChart
position标签属性雷达图
AmSerialChart
序列图,可创建大多数图类型;如柱状图,曲线图等
AmXYChart
离散图
AmLegend
图例(做为一种显示图的数据分类)
坐标系
坐标系
说明
CategoryAxis
横坐标
ValueAxis
纵坐标
Guide
坐标引导线,Guides are straight vertical or horizontal lines or areas
AxisBase
坐标的基础类
图元元素
图元元素
说明
AmChart
AmChart is a base class of all charts.
AmCoordinateChart
AmCoordinateChart is a base class of AmRectangularChart and AmRadarChart.
AmRectangularChart
AmRectangularChart is a base class of XY and Serial charts.
AmGraph
图显示所有类型的类图,类型包括- line, column, step line, smoothed line, ohlc and candlestick.
XY and Radar charts can only display "line" type graphs.
AmBalloon
气球,气泡。为产生数据提示所采用的类(datatips).
ChartCursor
光标,跟随鼠标显示的光标,可用于跟随光标显示数据。ChartCursor is a class which displays a cursor which follows the mouse.
For Serial chart it also shows value and category balloons
ChartScrollbar
滚动条ChartScrollbar class displays chart scrollbar.
SimpleChartScrollbar
SimpleChartScrollbar is base class of ChartScrollbar.
GraphDataItem
Graph Data Item
SerialDataItem
Holds information about serial data item.
TrendLine
趋势线
事件
说明
事件说明
AmChartEvent
仅包含两种事件:数据更新后的事件和边界更新后的事件
DATA_UPDATED : String = "dataUpdated"
MARGINS_UPDATED : String = "marginsUpdated"
AxisEvent
The AxisEvent class represents events that are specific to the AxisBase class.
只有一个当坐标维度被更改后触发
AXIS_WIDTH_CHANGED : String = "axisWidthChanged"
CursorEvent
光标的触发事件
CHANGED : String = "changed"  光标位置更新时触发
DRAW : String = "onDraw"      光按住鼠标拖动时触发
ON_HIDE_CURSOR : String = "onHideCursor" 隐藏光标时触发
SELECTED : String = "selected" 当选择时触发
ZOOMED : String = "zoomed"    当进行放大时触发
GraphEvent
图元元素的触发事件
CLICK_GRAPH_ITEM : String = "clickGraphItem"  单击图元数据时
DOUBLE_CLICK_GRAPH_ITEM : String = "doubleClickGraphItem"双击
ROLL_OUT_GRAPH_ITEM : String = "rollOutGraphItem" 
ROLL_OVER_GRAPH_ITEM : String = "rollOverGraphItem"
LegendEvent
图例事件
CLICK_LABEL : String = "clickLabel"    单击图例标签时触发
CLICK_MARKER : String = "clickMarker"单击图例标记时触发
HIDE_ITEM : String = "hideItem"
SHOW_ITEM : String = "showItem"
ROLL_OUT_ITEM : String = "rollOutItem"
ROLL_OUT_MARKER : String = "rollOutMarker"
ROLL_OVER_ITEM : String = "rollOverItem"
ROLL_OVER_MARKER : String = "rollOverMarker"
PieChartEvent
饼图事件
CLICK_SLICE : String = "clickSlice"  单击饼图中的某一区域时触发
PULL_IN_SLICE : String = "pullInSlice"
PULL_OUT_SLICE : String = "pullOutSlice"
ROLL_OUT_SLICE : String = "rollOutSlice"
ROLL_OVER_SLICE : String = "rollOverSlice"
SerialChartEvent
放大缩小事件
ZOOMED : String = "zoomed"
ValueAxisEvent
纵坐标轴事件
AXIS_CHANGED : String = "axisChanged"
AXIS_SELF_ZOOMED : String = "axisSelfZoomed"
AXIS_ZOOMED : String = "axisZoomed"
LOGARITHMIC_AXIS_FAILED : String = "logarithmicAxisFailed"

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。