From eb587eca64c2a3eb963a29474b7609915a2f9c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E7=8E=AE=E6=96=87?= Date: Mon, 22 Jan 2024 02:17:30 +0800 Subject: [PATCH] fix demo tooltip --- demo/large_data_range.html | 2 +- demo/not_aligned.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/large_data_range.html b/demo/large_data_range.html index 6024e9b..2ff64d8 100644 --- a/demo/large_data_range.html +++ b/demo/large_data_range.html @@ -43,7 +43,7 @@ { name: 'Line 1', data: data, color: 'blue' }, ], zoom: { x: { autoRange: true } }, - tooltip: true, + tooltip: { enabled: true }, renderPaddingLeft: 45, }); diff --git a/demo/not_aligned.html b/demo/not_aligned.html index b9b626a..232e40a 100644 --- a/demo/not_aligned.html +++ b/demo/not_aligned.html @@ -36,7 +36,7 @@ { data: d1, name: 'd1' }, { data: d2, name: 'd2', color: 'red' }, ], - tooltip: true, + tooltip: {enabled: true}, });