Шаблон:График просмотра страниц: различия между версиями
Содержимое удалено Содержимое добавлено
Iniquity (обсуждение | вклад) обновлено с mw:Template:Graph:PageViews |
Iniquity (обсуждение | вклад) обновление с mw:Template:Graph:PageViews |
||
Строка 61:
// Simple axis with horizontal grid lines
"axes": [
{
"type": "x", "scale": "x", "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} }
}
}
],
Строка 74 ⟶ 94 :
"x": {"scale": "x","field": "date"},
"y": {"scale": "y","field": "views"},
"stroke": {"value": "{{{color|#
"strokeWidth": {"value": 3},
"interpolate": {"value": "{{{interpolate|
}
}
Строка 88 ⟶ 108 :
"y": {"scale": "y","value": 0},
"y2": {"scale": "y","field": "views"},
"fill": {"value": "{{{color|#
"fillOpacity": {"value": 0.35},
"interpolate": {"value": "{{{interpolate|
}
}
|