Template:Graph:PageViews/doc

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

{	"params": { "1": {			"type": "number", "default": "30", "label": "Number of days back", "description": "Number of days back to show in the chart" },		"2": {			"label": "Page Title", "description": "Title of the page, with namespace, including needed spaces. If '_' is given, shows the total for the whole site", "type": "wiki-page-name", "default": "Name of the current article page (even if on talk page)", "example": "Main Page" },		"3": {			"label": "Domain", "default": "Current wiki", "example": "en.wikipedia.org", "type": "string", "description": "Domain from which to find page views for the given title, if not this wiki." },		"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" },		"granularity": { "label": "Granularity", "description": "If the 2nd parameter is '_' (shows site stats), set data granularity monthly, daily, or hourly", "type": "string", "default": "monthly" }	},	"paramOrder": [ "1",		"2",		"3",		"color", "scale", "max", "width", "height", "granularity" ],	"format": "block", "description": "Inserts a graph with the page views statistics for the past N days of a page." }