Template:Graph:Lines/doc

'''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)'''

{	"params": { "table": { "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"		},		"xMin": {			"description": "Force X axis to start from this value"		},		"xMax": {			"description": "Force X axis to end with this value"		},		"yMin": {			"description": "Force Y axis to start from this value"		},		"yMax": {			"description": "Force Y axis to end with this value"		},		"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"		},		"xGrid": {			"description": "Show grid lines for X axis",			"type": "boolean"		},		"yGrid": {			"description": "Show grid lines for Y axis",			"type": "boolean"		},		"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": [ "table", "type", "xField", "series", "xZero", "yZero", "xMin", "xMax", "yMin", "yMax", "xAxis", "yAxis", "xGrid", "yGrid", "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. " }