extjs中的chart的label: {
contrast : true,
display: 'outside',
"text-anchor": 'middle',
field: 'temperature',
//renderer: Ext.util.Format.numberRenderer('0'),
orientation: 'horizontal',
color: 'red'
},
label是指顯示在圖示上的内容,contrast:true說明這個标簽上下跑動,display為顯示的位置:outside為最柱狀圖的最上邊,field為要顯示的字段的名稱,orientation為顯示是的方向,有垂直和水準兩種選擇。