Browse Source

commit

master
hehongxing 2 years ago
parent
commit
126b3ae402
  1. 6
      04.系统编码/Frontend/src/components/RamanLidar.vue

6
04.系统编码/Frontend/src/components/RamanLidar.vue

@ -1001,6 +1001,10 @@ export default {
}
const drawExtinctionAfter = (result: CustomeArray<any>) => {
let view = document.querySelector('.picture-view');
let width = view.clientWidth / 2;
let heigth = view.clientHeight - 102;
if (result.length != 12) return;
options.loadingExtinctionStatus = false;
@ -1009,7 +1013,7 @@ export default {
}
let matrix = converCloudRecognition(801, result, 'extinction');
creates.extinctionDrawer = new HeatMapDrawer(800, 700, matrix, "extinction_chart-after", '/km');
creates.extinctionDrawer = new HeatMapDrawer(width, heigth, matrix, "extinction_chart-after", '/km');
creates.extinctionDrawer.setAxis(new CoordinateScale(options.timeArray), new CoordinateScale([0, 2000, 4000, 6000, 8000, 10000, 12000], true, true));
creates.extinctionDrawer.setColorChart(prepareExtinctionnColors());
creates.extinctionDrawer.draw();

Loading…
Cancel
Save