Commit 2b19ffb7 authored by Theis's avatar Theis
Browse files

Updated some text for the alarm case

parent deb8e8b8
Pipeline #105502 passed with stage
in 4 minutes and 48 seconds
......@@ -4,7 +4,7 @@
<v-row>
<v-col cols="12" xl="6" lg="6" md="12" sm="12">
<v-card class="pa-2" outlined rounded="15px" elevation="5">
<div class="header-text">Sandsynlighed for ikke at modtage en nødalarm</div>
<div class="header-text">Sandsynlighed for at modtage en nødalarm</div>
<apexchart height="400" type="area" :options="$_chart_options" :series="$_chart_series" />
<explainer :alarm="true" />
</v-card>
......@@ -51,7 +51,6 @@ export default Vue.extend({
lineCap: 'butt',
},
fill: {
//type: 'gradient'
},
grid: {
row: {
......@@ -67,7 +66,7 @@ export default Vue.extend({
},
yaxis: {
title: {
text: "Sandsynlighed i %",
text: "Sandsynlighed i procent",
rotate: -90,
},
},
......@@ -76,12 +75,6 @@ export default Vue.extend({
};
},
computed: {
/*$_chart_options: function (this: any) {
let chartOptions = this.$data.chartOptions;
let eventTimes = this.$store.getters.alarm_Probability_EventTimes;
chartOptions.xaxis["categories"] = eventTimes;
return chartOptions;
},*/
$_chart_options: function (this: any) {
let chartOptions = this.$data.chartOptions;
let eventTimes = ['Md. 1', 'Md. 2', 'Md. 3', 'Md. 4', 'Md. 5', 'Md. 6', 'Md. 7', 'Md. 8', 'Md. 9', 'Md. 10', 'Md. 11', 'Md. 12']
......@@ -91,7 +84,7 @@ export default Vue.extend({
$_chart_series: function (this: any) {
let survivalProbability = this.$store.getters.alarm_Probability_SurvivalProbability;
return [{
name: "Sandsynlighed for nødalarm",
name: "Sandsynlighed for en nødalarm i procent",
data: survivalProbability
}]
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment