Шаблон:График просмотра страниц: различия между версиями

Содержимое удалено Содержимое добавлено
обновлено с mw:Template:Graph:PageViews
обновление с mw:Template:Graph:PageViews
 
Строка 61:
// Simple axis with horizontal grid lines
"axes": [
{
"type": "x",
"scale": "x",
"ticks": 5},
"properties": {
{"type": "y", "scale": "y", "ticks": 5, "grid": true}
"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|#00f36c}}}"},
"strokeWidth": {"value": 3},
"interpolate": {"value": "{{{interpolate|monotonestep-after}}}"}
}
}
Строка 88 ⟶ 108 :
"y": {"scale": "y","value": 0},
"y2": {"scale": "y","field": "views"},
"fill": {"value": "{{{color|#00f36c}}}"},
"fillOpacity": {"value": 0.35},
"interpolate": {"value": "{{{interpolate|monotonestep-after}}}"}
}
}