2508
правок
Iniquity (обсуждение | вклад) (обновлено с mw:Template:Graph:PageViews) |
Iniquity (обсуждение | вклад) (обновление с mw:Template:Graph:PageViews) |
||
// Simple axis with horizontal grid lines
"axes": [
{
{"type": "x", "scale": "x", "ticks": 5},▼
"ticks": 5,
"properties": {
"ticks": {"stroke": {"value": "#54595d"} },
"labels": {"fill": {"value": "#54595d"} },
"axis": {"stroke": {"value": "#54595d"}, "strokeWidth": {"value": 2} }
}
},
{
"type": "y",
"scale": "y",
"ticks": 5,
"grid": true,
"properties": {
"ticks": {"stroke": {"value": "#54595d"} },
"labels": {"fill": {"value": "#54595d"} },
"grid": {"stroke": {"value": "#54595d"}, "strokeWidth": {"value": 2} },
"axis": {"stroke": {"value": "#54595d"}, "strokeWidth": {"value": 2} }
}
}
],
"x": {"scale": "x","field": "date"},
"y": {"scale": "y","field": "views"},
"stroke": {"value": "{{{color|#
"strokeWidth": {"value": 3},
"interpolate": {"value": "{{{interpolate|
}
}
"y": {"scale": "y","value": 0},
"y2": {"scale": "y","field": "views"},
"fill": {"value": "{{{color|#
"fillOpacity": {"value": 0.35},
"interpolate": {"value": "{{{interpolate|
}
}
|