Template:Graph:Population history/doc

'''This graph's main version resides at mediawiki Template:Graph:Population_history. Please make all the changes there and copy it everywhere else (until the copying is automated)'''

{ "params": { "1": {     "type": "string", "default": "Q84", "label": "City Wikidata ID", "description": "Wikidata ID of the city or region" },   "data": { "type": "string", "label": "Title of the data page on Commons", "description": "Data page name on Commons, without the Data: prefix. The table must contain \"year\" and \"population\" columns." },   "values": { "label": "Raw values for this graph", "description": "Supply all values as a list of JSON objects: {\"year\":1980, \"population\":1000}, {\"year\":1984, \"population\":1045}, ..." },   "adata": { "type": "string", "label": "Title of the annotations data page on Commons", "description": "Data page name on Commons, without the Data: prefix. The table must contain \"year\" column, and optional \"text\" and \"color\" columns." },   "avalues": { "label": "Raw annotation values", "description": "Supply all annotation values as a list of JSON objects: {\"year\":1980, \"text\":\"Big event\"}, ..." },   "color": { "label": "Graph color", "default": "#00f", "example": "#f00", "type": "string", "description": "Shade with which to highlight the data in the chart" },   "scale": { "label": "Graph scale", "description": "Scaling could be one of these: linear, log, pow, sqrt, quantile, quantize, and threshold", "default": "linear", "example": "log", "type": "string" },   "max": { "label": "Maximum Y value axis", "description": "This optional value might be useful to align multiple graphs side-by-side", "default": "Automatically scaled to the data.", "example": "10000", "type": "number" },   "width": { "label": "Width", "description": "Width for the chart in pixels, if different from the default.", "type": "number", "default": "400" },   "height": { "label": "Height", "description": "Height for the chart in pixels, if different from the default.", "type": "number", "default": "200" } },  "paramOrder": [ "1",   "data", "values", "adata", "avalues", "color", "scale", "max", "width", "height" ], "format": "block", "description": "Inserts a graph with the population history for the given city." }