Module:Graph/doc: Difference between revisions

Content deleted Content added
mNo edit summary
Ghoster (talk | contribs)
m und -> and
Line 37:
* '''xAxisMin''', '''xAxisMax''', '''yAxisMin''', and '''yAxisMax''': minimum and maximum values of the x and y axes
* '''xAxisFormat''' and '''yAxisFormat''': changes the formatting of the axis labels. Supported values are listed at //github.com/mbostock/d3/wiki/Formatting and //github.com/mbostock/d3/wiki/Time-Formatting. For example, the format <tt>%</tt> can be used to output percentages.
* '''xType''' undand '''yType''': Data types of the values, e.g. <tt>integer</tt> for integers, <tt>number</tt> for real numbers, <tt>date</tt> for dates (e.g. YYYY/MM/DD), and <tt>string</tt> for ordinal values.
* '''x''': the x-values as a comma-separated list
* '''y''' or '''y1''', '''y2''', …: the y-values for one or several data series, respectively. For pie charts <tt>y2</tt> denotes the radiuses of the corresponding sectors.