Mwjames has submitted this change and it was merged.

Change subject: Use native ajax to catch possible communication errors
......................................................................


Use native ajax to catch possible communication errors

## Description
Dygraphs generally is using new XMLHttpRequest() to fetch CSV raw data
which in case the request fails will not return with any feedback
therefore we use native ajax to fetch the raw data ourselves and transfer
it back to the dygraphs instance.

## Toggle series visibility (major new feature)
Added new feature to toggle the visibility of series using SMW's tooltip
to help interact and enable/disable chart series options (see [1]).

This change also solves another smaller issue where display showed
clutter due to an unfinished request.

## Patchsets
PS#1 Added ajax
PS#4 Added tooltip for series visibility settings, decrease of global
variables, use of stored instances instead, entangled functions
PS#6 docs++
PS#8 rebase and enhanced error message by failed communication to point
to Help:Ajax
PS#9 docs++

## Dependency
Change Icc9c43e4

## Icon
Since I couldn't find an appropriate icon and didn't want any
licence hustle therefore I made the icon myself for which I declare
it can be used freely.

## Note
[1] 
http://www.semantic-mediawiki.org/wiki/File:Srf-format-dygraphs-series-visibility-tooltip.png

Change-Id: I4baffc7c26c12f031196c511c1c8f7727ad6f509
---
M SRF_Messages.php
M SRF_Resources.php
M formats/dygraphs/resources/ext.srf.dygraphs.css
M formats/dygraphs/resources/ext.srf.dygraphs.js
A formats/dygraphs/resources/images/check.png
A formats/dygraphs/resources/images/check.psd
6 files changed, 394 insertions(+), 125 deletions(-)

Approvals:
  Mwjames: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/27118
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4baffc7c26c12f031196c511c1c8f7727ad6f509
Gerrit-PatchSet: 9
Gerrit-Project: mediawiki/extensions/SemanticResultFormats
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>
Gerrit-Reviewer: Mwjames <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to