Template talk:Graph:Chart
(Redirected from Template talk:Graph:Chart/sandbox)
Latest comment: 1 year ago by Uwappa in topic Wikipedia:Village pump (technical)/Archive 205#Graph extension disabled per immediate effect
This is the talk page for discussing improvements to the Graph:Chart template. |
|
Archives: 1, 2, 3, 4Auto-archiving period: 300 days ![]() |
Mouseover values?
editBased 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)
- 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. |
- Uwappa (talk) 19:02, 16 March 2023 (UTC)
- 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)
- 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)Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org.
- Correct, and... you can use the font colour to your advantage, e.g. a blue font on blue bars, numbers visible on mouseover:
- 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)
Just a notice for those who noticed it's broken and came here. –Vipz (talk) 11:09, 18 April 2023 (UTC)
- 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)- Ideally it should be a box with placeholder text that retains the original layout. Nardog (talk) 14:22, 18 April 2023 (UTC)
- 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)
- Ideally it should be a box with placeholder text that retains the original layout. Nardog (talk) 14:22, 18 April 2023 (UTC)
- 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)
- 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.
- Uwappa (talk) 08:11, 26 May 2023 (UTC)
- 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)