1、tooltip:鼠標移動到圖上展現的文字數組
- 屬性trigger(String類型)爲"item"時,爲單個的一條,爲「axis」時,爲全部的數據,爲「formatter」時,爲自定義
2、color:顏色(數組)orm
3、legend:說明欄cdn
- 屬性x、y(String類型)能夠用來控制擺放的位置,x(right,left),y(top,bottom)
- 屬性data(數組)爲橫座標值
- 屬性axisLabel下的interval用來控制橫座標是否顯示完整
5、yAxis:縱座標事件
6、series:值ip
- 屬性barGap(String類型):柱狀圖之間的距離
-
屬性barWidth(String類型):柱狀圖柱子的寬度
-
屬性type(String類型):圖的類型(line--折線圖,bar--柱狀圖,pie--餅圖)
-
屬性stack(String類型):全部數據的stack值都同樣時,爲摺疊圖;不同時,爲一個單位多個柱子
-
-
屬性center(數組):餅狀圖的位置
-
屬性label下:
7.1. normal下的show(Boolean類型)爲true時,展現餅圖中心的文字,爲false時不展現
7.2. normal下position(String類型),爲文字展現的位置,通常爲「center」it
7、graphic:io
- 屬性type(String類型):內容的類型
- 屬性left、right(String類型):內容的位置(水平方向)
- 屬性top、bottom(String類型):內容的位置(垂直方向)
- 屬性style:內容的樣式
4.1. 屬性text:內容
4.2. 屬性textAlign:文字方向
form
8、給e-chart圖添加點擊事件:onEventsclass