option = { title: { text: 'Awesome Chart' }, xAxis: { data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] }, yAxis: {}, tooltip: { // 另外这里如何将markLine的横线去掉呢? axisPointer: { type: 'shadow' }, trigger: 'item' }, series: [{ type: 'line', data:[220, 182, 191, 234, 290, 330, 310], markLine: { silent: false, // 默认两边图标都是圆 symbol: ['circle','circle'], symbolSize: 12, label: { normal: { show: false } }, // 参考文档,希望指定终点数据图形,请指教!!! // http://echarts.baidu.com/option.html#series-line.markLine.data.1.symbol data: [ { // 起点使用菱形生效 name: '起点', symbol: ['diamond'], yAxis: 200 }, { // 终点使用菱形出现问题*** name: '终点', symbol: ['','diamond'], yAxis: 300 } ] } }] };