User:Mathglot/sandbox/Templates/x-axis
Appearance
│
0
│
50
│
100
│
150
│
200
│
250
│
300
│
350
│
400
│
450
page views for Liberation of France
Documentation
Generates an x-axis legend with labeled tick marks for a horizontal page views graph, based on max page views for a given page.
Usage
{{xviews|pageviews filename}}
Parameters
|1=
– a page views dump file downloaded from the pageviews tool (required)|caption=
– second line of description under the labeled ticks (optional; default: "page views for ArticleName")|shift=
– right-shift (padding-left) for axis origin to account for date labels (optional; default=16px) use this to vertically align the axis origin with the left margin of progress bars if labels are excluded, abbreviated, or lengthened)|ff=
– fudge factor: expansion factor for tick mark placement (temp. param while in development)