Project

General

Profile

Actions

Bug #31541

open

tooltip in trends charts not showing

Added by Adam Winberg about 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Javascript foreman_statistics
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hovering over a trends chart should show a tooltip displaying the value, but this does not work for me.

Checking the console in Firefox shows following javascript errors:

Uncaught TypeError: e.series.data[e.dataIndex] is undefined (charts-22b860e1a035af198d2ac41ebc27ca0c5f1ba6ec990484789938d290761aaed7.js:1:1473)
Uncaught TypeError: $(...).text(...).css(...).appendTo(...).zIndex is not a function (charts-22b860e1a035af198d2ac41ebc27ca0c5f1ba6ec990484789938d290761aaed7.js:1:2679)

This is on Foreman 2.3, but I'm pretty sure I've had this problem at least since updating to v2.


Related issues 1 (0 open1 closed)

Related to Statistics - Refactor #31594: Reactify Trends chartClosedOndřej EzrActions
Actions #1

Updated by Adam Winberg about 4 years ago

Easier to read console messages:

Uncaught TypeError: e.series.data[e.dataIndex] is undefined     (charts-22b860e1a035af198d2ac41ebc27ca0c5f1ba6ec990484789938d290761aaed7.js:1:1473)
Uncaught TypeError: $(...).text(...).css(...).appendTo(...).zIndex is not a function     (charts-22b860e1a035af198d2ac41ebc27ca0c5f1ba6ec990484789938d290761aaed7.js:1:2679)

Actions #2

Updated by Ondřej Ezr about 4 years ago

This is indeed an issue. I'd like to rewrite the charts to React, so we can drop flop charts in core.
So I'm not planning on fixing this myself.

Actions #3

Updated by Ondřej Ezr about 4 years ago

Actions

Also available in: Atom PDF