Mouseover values?

edit

Based on my experience using other interactive graphs online, I expected that when I moused over a point in a line graph, I'd be told what that point's value was, but such a feature doesn't exist. This extends to other types of charts, such as bar charts. Is this something possible to implement? Opencooper (talk) 06:00, 16 March 2023 (UTC)Reply

You are correct: No implementation yet for interactive values on mouse over. There is limited support for showing values in the chart with: showValues=, hAnnotatonsLabel= and vAnnotationsLabel=. Examples:
Uwappa (talk) 19:02, 16 March 2023 (UTC)Reply
Thanks for the info and examples. The showValues feature seems to achieve the same end result of making the individual values clear. Makes me wish it were the default but there are probably complexities such as with color contrast and readability. The AnnotationsLabel are less ideal since each value would have to be individually specified, so that would actually depend on a mouseover feature. Opencooper (talk) 19:17, 16 March 2023 (UTC)Reply
Correct, and... you can use the font colour to your advantage, e.g. a blue font on blue bars, numbers visible on mouseover: Uwappa (talk) 20:50, 16 March 2023 (UTC)Reply

Just a notice for those who noticed it's broken and came here. –Vipz (talk) 11:09, 18 April 2023 (UTC)Reply

Should the template output {{Graphs disabled|missing}} or something similar until the problem is fixed? It currently displays nothing but is usually used in a context which indicates that something should have been there. PrimeHunter (talk) 14:14, 18 April 2023 (UTC)Reply
Ideally it should be a box with placeholder text that retains the original layout. Nardog (talk) 14:22, 18 April 2023 (UTC)Reply
Can we add a link to the current discussion regarding this? It's quite frustrating to see this message without any explanation. --Ita140188 (talk) 09:10, 25 May 2023 (UTC)Reply
Yes, what on earth is going on? I tried following some links, but all I can see everywhere is that there is a "software issue". It reflects really badly on Wikipedia that a software issue can kill all the graphs for a full month and counting. KarlFrei (talk) 07:16, 26 May 2023 (UTC)Reply
I agree. It is really bad to miss thousands of graphs and have no solution in sight. The problem seems to be some kind of a security problem related to javascript.
As far as I know graphs use javascript just for mouseover effects.
  1. So, as a short term solution I suggest to drop the mouse over effects and return graphs as server side generated, static PNG files. No javascript, no security issues.
  2. Then on long term, rewrite graphs to generate SVG with CSS for mouseover effects, still avoiding javascript.
Uwappa (talk) 08:11, 26 May 2023 (UTC)Reply