Latest comment: 1 year ago4 comments2 people in discussion
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:
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org.
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org.
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org.
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:
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org.
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
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.
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.
Then on long term, rewrite graphs to generate SVG with CSS for mouseover effects, still avoiding javascript.