, default: () => [] },
targetText: [String, null],
targetOffset: { type: Number, default: 0 },
+ inactive: { type: Boolean, default: false },
},
emits: ["slot-hovered", "slot-selected"],
data() {
@@ -282,4 +286,12 @@ export default defineComponent({
.slot.faded {
opacity: 0.33;
}
+.chart.inactive .slot.active .slot-bar,
+.chart.inactive .slot.warning .slot-bar {
+ background: var(--bs-gray-medium);
+}
+.chart.inactive .slot.active .slot-label,
+.chart.inactive .slot.warning .slot-label {
+ color: var(--bs-gray-medium);
+}