Jump to content

User:Al Maghi/Motionchart: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Al Maghi (talk | contribs)
Al Maghi (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>{| class="wikitable sortable"
<includeonly>{| class="wikitable sortable"
|+ [http://toolserver.org/~al/visualizer4wm.php?page={{FULLPAGENAMEE}}&project={{SERVERNAME}}&tpl=visualize&x={{urlencode:{{{x|X caption}}}}}&y={{urlencode:{{{y|Y caption}}}}}&group={{urlencode:{{{group|Group caption}}}}} Visualize the following data]
|+ [http://toolserver.org/~al/visualizer4wm.php?page={{FULLPAGENAMEE}}&project={{SERVERNAME}}&tpl=motionchart&x={{urlencode:{{{x|X caption}}}}}&y={{urlencode:{{{y|Y caption}}}}}&group={{urlencode:{{{group|Group caption}}}}} Visualize the following data]
! ID !! date !! {{{x|x}}} !! {{{y|y}}} !! {{{group|group}}} {{{1}}}
! ID !! date !! {{{x|x}}} !! {{{y|y}}} !! {{{group|group}}} {{{1}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
Line 10: Line 10:
;Usage
;Usage
<pre>
<pre>
{{motionchart
{{visualize
| x = X axis title
| x = X axis title
| y = Y axis title
| y = Y axis title
Line 21: Line 21:
</pre>
</pre>
;Result:
;Result:
{{motionchart
{{visualize
| x = X axis title
| x = X axis title
| y = Y axis title
| y = Y axis title
Line 33: Line 33:
----
----


:<small>The DataVisualizer tool can be used on other projects by copying {{t|visualize}} and {{t|dataset}}. It uses the [[mw:API|MediaWiki]] and [http://code.google.com/intl/fr-FR/apis/visualization/interactive_charts.html Visualization] APIs.</small>
:<small>The DataVisualizer tool can be used on other projects by copying {{t|motionchart}} and {{t|dataset}}. It uses the [[mw:API|MediaWiki]] and [http://code.google.com/intl/fr-FR/apis/visualization/interactive_charts.html Visualization] APIs.</small>
[[fr:Modèle:Visualize]]
[[fr:Modèle:motionchart]]
</noinclude>
</noinclude>

Revision as of 22:57, 29 July 2010


Usage
{{motionchart
 | x = X axis title
 | y = Y axis title
 | group = Location |
  {{dataset| London | 2003/0/1 | 10000 | 20000 | England }}
  {{dataset| Paris | 2003/0/1 | 5000 | 10000 | France }}
  {{dataset| London | 2005/0/1 | 100000 | 200000 | England }}
  {{dataset| Paris | 2005/0/1 | 50000 | 100000 | France }}
}}
Result
Visualize the following data
ID date X axis title Y axis title Location
London 2003/0/1 10000 20000 England
Paris 2003/0/1 5000 10000 France
London 2005/0/1 100000 200000 England
Paris 2005/0/1 50000 100000 France

The DataVisualizer tool can be used on other projects by copying {{motionchart}} and {{dataset}}. It uses the MediaWiki and Visualization APIs.