option = { title: { text: 'Awesome Chart' }, xAxis: { data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], boundaryGap: false }, yAxis: {}, series: [{ type: 'line', data: [220, 182, 191, 234, 290, 330, 310] }], tooltip: { trigger: "axis", axisPointer: { type: "cross", label: { backgroundColor: "#6a7985" } } } }; // chart.dispatchAction({ // type: "showTip", // seriesIndex: 0, // dataIndex: 6 // });