|
@ -268,6 +268,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script lang="ts"> |
|
|
<script lang="ts"> |
|
|
|
|
|
|
|
|
import {onMounted, reactive, toRefs, watch} from 'vue'; |
|
|
import {onMounted, reactive, toRefs, watch} from 'vue'; |
|
|
import moment from "moment"; |
|
|
import moment from "moment"; |
|
|
import {post} from '../uilts/axios'; |
|
|
import {post} from '../uilts/axios'; |
|
@ -660,7 +661,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let matrix = convertValueToBox(response.data); |
|
|
let matrix = convertValueToBox(response.data); |
|
|
creates.extinctionBeforeDrawer = new HeatMapDrawer(800, 650, matrix, "extinction_chart-before", 'km/sr'); |
|
|
creates.extinctionBeforeDrawer = new HeatMapDrawer(800, 650, matrix, "extinction_chart-before", '/km'); |
|
|
creates.extinctionBeforeDrawer.setAxis(new CoordinateScale(options.timeArray), new CoordinateScale([0, 2000, 4000, 6000, 8000, 10000, 12000], true, true)); |
|
|
creates.extinctionBeforeDrawer.setAxis(new CoordinateScale(options.timeArray), new CoordinateScale([0, 2000, 4000, 6000, 8000, 10000, 12000], true, true)); |
|
|
creates.extinctionBeforeDrawer.setColorChart(prepareExtinctionnColors()); |
|
|
creates.extinctionBeforeDrawer.setColorChart(prepareExtinctionnColors()); |
|
|
creates.extinctionBeforeDrawer.draw(); |
|
|
creates.extinctionBeforeDrawer.draw(); |
|
@ -787,7 +788,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let matrix = converCloudRecognition(801, result, 'backscatter'); |
|
|
let matrix = converCloudRecognition(801, result, 'backscatter'); |
|
|
creates.backscatterDrawer = new HeatMapDrawer(1200, 650, matrix, "backscatter_chart",'km/sr'); |
|
|
creates.backscatterDrawer = new HeatMapDrawer(1200, 650, matrix, "backscatter_chart",'/km/sr'); |
|
|
creates.backscatterDrawer.setAxis(new CoordinateScale(options.timeArray), new CoordinateScale([0, 2000, 4000, 6000, 8000, 10000, 12000], true, true)); |
|
|
creates.backscatterDrawer.setAxis(new CoordinateScale(options.timeArray), new CoordinateScale([0, 2000, 4000, 6000, 8000, 10000, 12000], true, true)); |
|
|
creates.backscatterDrawer.setColorChart(prepareBackscatterColors()); |
|
|
creates.backscatterDrawer.setColorChart(prepareBackscatterColors()); |
|
|
creates.backscatterDrawer.draw(); |
|
|
creates.backscatterDrawer.draw(); |
|
@ -948,7 +949,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let matrix = converCloudRecognition(801, result, 'extinctionOptics'); |
|
|
let matrix = converCloudRecognition(801, result, 'extinctionOptics'); |
|
|
creates.opticsExtinctionDrawer = new HeatMapDrawer(1200, 650, matrix, "extinction_optics_chart",'km/sr'); |
|
|
creates.opticsExtinctionDrawer = new HeatMapDrawer(1200, 650, matrix, "extinction_optics_chart",'/km'); |
|
|
creates.opticsExtinctionDrawer.setAxis(new CoordinateScale(options.timeArray), new CoordinateScale([0, 2000, 4000, 6000, 8000, 10000, 12000], true, true)); |
|
|
creates.opticsExtinctionDrawer.setAxis(new CoordinateScale(options.timeArray), new CoordinateScale([0, 2000, 4000, 6000, 8000, 10000, 12000], true, true)); |
|
|
creates.opticsExtinctionDrawer.setColorChart(prepareExtinctionnColors()); |
|
|
creates.opticsExtinctionDrawer.setColorChart(prepareExtinctionnColors()); |
|
|
creates.opticsExtinctionDrawer.draw(); |
|
|
creates.opticsExtinctionDrawer.draw(); |
|
@ -1001,7 +1002,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let matrix = converCloudRecognition(801, result, 'extinction'); |
|
|
let matrix = converCloudRecognition(801, result, 'extinction'); |
|
|
creates.extinctionDrawer = new HeatMapDrawer(800, 650, matrix, "extinction_chart-after", 'km/sr'); |
|
|
creates.extinctionDrawer = new HeatMapDrawer(800, 650, 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.setAxis(new CoordinateScale(options.timeArray), new CoordinateScale([0, 2000, 4000, 6000, 8000, 10000, 12000], true, true)); |
|
|
creates.extinctionDrawer.setColorChart(prepareExtinctionnColors()); |
|
|
creates.extinctionDrawer.setColorChart(prepareExtinctionnColors()); |
|
|
creates.extinctionDrawer.draw(); |
|
|
creates.extinctionDrawer.draw(); |
|
|