ECharts
View on GitHub
Home
Example
API & Doc
Download
ZIP (Latest)
Link
Ecom-FE
Data Visualization
ZRender
option
option = { dataRange: { min: 0, orient: 'horizontal', // 'vertical' x: 'right', // 'center' | 'left' | {number}, y: 'top', // 'center' | 'top' | {number} backgroundColor: '#eee', borderColor: 'rgba(178,34,34,0.8)', borderWidth: 4, //padding: 10, // [5, 10, 15, 20] itemGap: 5, //textStyle: {color: 'red'}, splitNumber: 6, // 分割段数,默认为5 color:['red','yellow'],//颜色 text:['高','低'], // 文本,默认为数值文本 //calculable : true, max: 2000 }, series : [ { name: 'iphone3', type: 'map', mapType: 'china', data:[] } ] };
Refresh ~