From 95f25f1179b0f6f8d6fe125c6486af88917a1680 Mon Sep 17 00:00:00 2001 From: mBaldasty Date: Thu, 23 Mar 2023 08:37:57 +0100 Subject: [PATCH] added support for setting and getting clipHighlightToContent --- demo_vue/app/examples/Basic.vue | 2 +- src/charting/charts/BarLineChartBase.ts | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/demo_vue/app/examples/Basic.vue b/demo_vue/app/examples/Basic.vue index 68e6a1ea..1686be5f 100644 --- a/demo_vue/app/examples/Basic.vue +++ b/demo_vue/app/examples/Basic.vue @@ -49,7 +49,7 @@ export default Vue.extend({ onChartLoaded() { const chart = this.$refs.chart['nativeView'] as LineChart; chart.drawFrameRate = true; - + // chart.setClipHighlightToContent(true); // chart.backgroundColor = 'white'; // disable description text // chart.getDescription().setEnabled(false); diff --git a/src/charting/charts/BarLineChartBase.ts b/src/charting/charts/BarLineChartBase.ts index bcd859ec..31b46982 100644 --- a/src/charting/charts/BarLineChartBase.ts +++ b/src/charting/charts/BarLineChartBase.ts @@ -1268,6 +1268,14 @@ export abstract class BarLineChartBase