接着上一张柱状图讲,我们是使用折线图: import {canvasPoint} from '../../assets/js/canvas';import {basicInfo,histogramMousemoveEvent} from '../../assets/js/lineChart'; //绘制图function histogramCreate(width,point){ var canvas=document.getElementById('myCanvas'); if(!!width…