Last modified: 2012-08-03 14:51:29 UTC
Created attachment 10357 [details] Patch against SRF revision 114488 This bugzilla report holds information and patches about SRF jqPlot v1.8 which includes a major re-factoring effort in how SRF communicates with the jqPlot plug-in in order to make it compatible with SRF 1.8 and MW 1.19. This patch requires the ResourceLoader and requires MW 1.17+, SWM 1.7.2+. ## Major changes All inline javascript have been striped and moved into external resource files (../jqPlot/resources/..). ext.srf.jqplot.bar.js is designed so it can be used for both and SRF_jqPlotSeries.php ext.srf.jqplot.pie.js share instructions for the pie and donut renderer. ext.srf.jqplot.bubble.js instructions to render bubble chart An experimental new format (jqplotseries, SRF_jqPlotSeries.php) has been added to allow numercial data sets to be displayed as chart series. The module does work but need thorough testing and shouldn't not be used in production. SEF jqPlotSeries supports bar, line, stacked bar, and bubble charts. Bubble chart data sets have to follow jqPlot's [x, y, radius, <label or object>] convention. The plug-in has been updated to version 1.0.0b2_r947. ## Further information The changes in the SRF jqPlot module reflecting similar changes in SRF D3 and SRF JitGraph. Detailed information about the changes and examples can be found at https://github.com/mwjames/smw-srfjqplot/ ## Tests Tests have been carried out on the following environment. SWM 1.7.1 and SRF 1.7.1 and MW 1.18, MW 1.19.0beta2 Chrome 11.0.700.3 and 17.0.963.66 m IE 9, Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.23) Gecko/20110920 Firefox/3.6.23 ( .NET CLR 3.5.30729; .NET4.0C)
Awesome! Applied in r114644 :)
That was quick, thanks. One minor thing I recognized when syncing against the trunk is that some old files still hoovering in the SemanticResultFormats/jqPlot directory which should have been vanished. Anything besides [1] should be deleted from the /SemanticResultFormats/jqPlot directory since related files have been moved to /SemanticResultFormats/jqPlot/resources [1] README.md, SRF_jqPlotBar.php, SRF_jqPlotPie.php, SRF_jqPlotSeries.php
Right, removed stuff in r114648 :)
jqPlot re-factoring Part II https://gerrit.wikimedia.org/r/#/c/17436/