Remove graph subtext and move to footer

This commit is contained in:
Girish Ramakrishnan
2025-10-03 17:10:56 +02:00
parent 0b310f849a
commit 02fe971f0b
13 changed files with 15 additions and 21 deletions

View File

@@ -21,6 +21,7 @@ let yscaleUnit = null;
const props = defineProps({
title: String,
subtext: String,
footer: String,
period: Object, // { hours, format, tooltpFormat }
yscale: String, // cpu, memory
memory: Number,
@@ -307,6 +308,7 @@ defineExpose({
<canvas ref="graphNode"></canvas>
<div ref="tooltipElem" class="graphs-tooltip"></div>
</div>
<div class="footer">{{ footer }}</div>
</div>
</template>
@@ -322,6 +324,11 @@ defineExpose({
height: 160px;
}
.footer {
text-align: center;
font-weight: bold;
}
</style>
<style>