Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chart / line / time series / the tooltip does not follow the cursor #726

Closed
aedion-a opened this issue Dec 6, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@aedion-a
Copy link

aedion-a commented Dec 6, 2024

Introduction

On this time series, the tooltip goes from one year to the next for no reason.

To Reproduce

CREATE TABLE`test`(
    `series` int(4) DEFAULT NULL,
    `y` bigint(21) NOT NULL DEFAULT '0',
    `x` varchar(19) COLLATE utf8mb4_unicode_ci DEFAULT NULL
);

INSERT INTO `test` (`series`, `y`, `x`) VALUES
(2022, 3, '2022-01-31 00:00:00'),
(2022, 2, '2022-03-31 00:00:00'),
(2022, 2, '2022-04-30 00:00:00'),
(2022, 2, '2022-05-31 00:00:00'),
(2022, 3, '2022-06-30 00:00:00'),
(2022, 7, '2022-07-31 00:00:00'),
(2022, 1, '2022-08-31 00:00:00'),
(2022, 3, '2022-09-30 00:00:00'),
(2022, 15, '2022-11-30 00:00:00'),
(2022, 6, '2022-12-31 00:00:00'),
(2023, 1, '2023-01-31 00:00:00'),
(2023, 6, '2023-02-28 00:00:00'),
(2023, 16, '2023-03-31 00:00:00'),
(2023, 3, '2023-04-30 00:00:00'),
(2023, 9, '2023-06-30 00:00:00'),
(2023, 4, '2023-07-31 00:00:00'),
(2023, 8, '2023-08-31 00:00:00'),
(2023, 7, '2023-09-30 00:00:00'),
(2023, 2, '2023-10-31 00:00:00'),
(2023, 14, '2023-12-31 00:00:00'),
(2024, 2, '2024-01-31 00:00:00'),
(2024, 2, '2024-02-29 00:00:00'),
(2024, 3, '2024-03-31 00:00:00'),
(2024, 2, '2024-04-30 00:00:00'),
(2024, 3, '2024-05-31 00:00:00'),
(2024, 4, '2024-06-30 00:00:00'),
(2024, 2, '2024-07-31 00:00:00'),
(2024, 12, '2024-08-31 00:00:00'),
(2024, 9, '2024-09-30 00:00:00'),
(2024, 2, '2024-11-30 00:00:00'),
(2024, 3, '2024-12-31 00:00:00');
COMMIT;

Actual behavior

select 
    'chart'                  as component,
    'test'                   as title,
    'line'                   as type,
    'green'                  as color,
    'indigo'                 as color,
    'pink'                   as color,
    true as time,
    5                        as marker;
    
SELECT * from test;

Screenshots

cursor on the first node (tooltip on the first node of the first graph)

2024-12-06-162624_1852x364_scrot

cursor on the second node (tooltip on the first node of the third graph)

2024-12-06-162644_1851x346_scrot

Version information

  • OS: Xubuntu
  • Database: MariaDB 10.3
  • SQLPage Version: 0.31
@lovasoa
Copy link
Collaborator

lovasoa commented Dec 9, 2024

Thank you ! Reported upstream as apexcharts/apexcharts.js#4856

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants