תבנית:Tzafrir/Graph:Lines/תיעוד
This graph's main version resides at Template:Graph:Lines. Please make or suggest all the changes there, and copy it everywhere else (until the copying is automated)
{{Tzafrir/Graph:Lines | data=Earnings/US Women's weekly earnings as a percent of men's by age, annual averages.tab |
---|
תבנית:Tzafrir/Graph:Lines |
<templatedata> { "params": { "data": { "description": "Data page name on Commons, without the Data: prefix. The table should contain xField column, like year or date, and one or more series columns to plot", "type": "string", "required": true }, "type": { "description": "Type of the x axis - time (e.g. \"2015-10\" or \"2013-03-08), year (integer, but treated as a year), linear (numbers), ordinal (anything)", "type": "string", "default": "year", "suggested": true }, "xField": { "description": "Id of the data column that contains values for the X axis. If type=year, xField is also \"year\" by default.", "type": "string", "required": true }, "series": { "description": "List of the data columns to show as lines. Must be listed by field IDs: \"field1\", \"field2\", \"field3\".", "type": "string", "required": true }, "xZero": { "description": "Force to start or not to start X axis with zero. Can be either true or false", "type": "string" }, "yZero": { "description": "Force to start or not to start Y axis with zero. Can be either true or false", "type": "string" }, "title": { "description": "Title of the whole graph", "type": "string" }, "xAxis": { "description": "Title of the X axis", "type": "string" }, "yAxis": { "description": "Title of the Y axis", "type": "string" }, "legend": { "description": "Title of the legend", "type": "string" }, "width": { "type": "number" }, "height": { "type": "number" }, "debug": { "description": "if set, will show graph as raw JSON", "type": "string" } }, "paramOrder": [ "data", "type", "xField", "series", "xZero", "yZero", "xAxis", "yAxis", "title", "legend", "width", "height", "debug" ], "description": "This graph draws one or more independent numeric data series as lines. The data must be stored on Commons' Data namespace. " } </templatedata>