வார்ப்புரு:Line chart/X-axis
&lt;noinclude&gt;
 &lt;/noinclude&gt;
 &lt;includeonly&gt;
 
 Define $x1  = {{#expr: {{Line chart/Scale | H | 0  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x2  = {{#expr: {{Line chart/Scale | H | 1  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x3  = {{#expr: {{Line chart/Scale | H | 2  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x4  = {{#expr: {{Line chart/Scale | H | 3  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x5  = {{#expr: {{Line chart/Scale | H | 4  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x6  = {{#expr: {{Line chart/Scale | H | 5  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x7  = {{#expr: {{Line chart/Scale | H | 6  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x8  = {{#expr: {{Line chart/Scale | H | 7  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x9  = {{#expr: {{Line chart/Scale | H | 8  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x10 = {{#expr: {{Line chart/Scale | H | 9  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x11 = {{#expr: {{Line chart/Scale | H | 10 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x12 = {{#expr: {{Line chart/Scale | H | 11 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x13 = {{#expr: {{Line chart/Scale | H | 12 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x14 = {{#expr: {{Line chart/Scale | H | 13 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x15 = {{#expr: {{Line chart/Scale | H | 14 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x16 = {{#expr: {{Line chart/Scale | H | 15 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x17 = {{#expr: {{Line chart/Scale | H | 16 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x18 = {{#expr: {{Line chart/Scale | H | 17 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x19 = {{#expr: {{Line chart/Scale | H | 18 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x20 = {{#expr: {{Line chart/Scale | H | 19 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x21 = {{#expr: {{Line chart/Scale | H | 20 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x22 = {{#expr: {{Line chart/Scale | H | 21 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x23 = {{#expr: {{Line chart/Scale | H | 22 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x24 = {{#expr: {{Line chart/Scale | H | 23 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 Define $x25 = {{#expr: {{Line chart/Scale | H | 24 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} }}
 
 
 {{#ifeq: {{{points|no}}} | yes |
 &lt;!-- Si l'on a demandé des points.... --&gt;
 Define $xp1d  = {{#expr: {{Line chart/Scale | H | 0  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp2d  = {{#expr: {{Line chart/Scale | H | 1  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp3d  = {{#expr: {{Line chart/Scale | H | 2  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp4d  = {{#expr: {{Line chart/Scale | H | 3  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp5d  = {{#expr: {{Line chart/Scale | H | 4  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp6d  = {{#expr: {{Line chart/Scale | H | 5  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp7d  = {{#expr: {{Line chart/Scale | H | 6  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp8d  = {{#expr: {{Line chart/Scale | H | 7  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp9d  = {{#expr: {{Line chart/Scale | H | 8  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp10d = {{#expr: {{Line chart/Scale | H | 9  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp11d = {{#expr: {{Line chart/Scale | H | 10 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp12d = {{#expr: {{Line chart/Scale | H | 11 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp13d = {{#expr: {{Line chart/Scale | H | 12 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp14d = {{#expr: {{Line chart/Scale | H | 13 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp15d = {{#expr: {{Line chart/Scale | H | 14 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp16d = {{#expr: {{Line chart/Scale | H | 15 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp17d = {{#expr: {{Line chart/Scale | H | 16 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp18d = {{#expr: {{Line chart/Scale | H | 17 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp19d = {{#expr: {{Line chart/Scale | H | 18 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp20d = {{#expr: {{Line chart/Scale | H | 19 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp21d = {{#expr: {{Line chart/Scale | H | 20 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp22d = {{#expr: {{Line chart/Scale | H | 21 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp23d = {{#expr: {{Line chart/Scale | H | 22 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp24d = {{#expr: {{Line chart/Scale | H | 23 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 Define $xp25d = {{#expr: {{Line chart/Scale | H | 24 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} - 2 }}
 
 Define $xp1f  = {{#expr: {{Line chart/Scale | H | 0  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp2f  = {{#expr: {{Line chart/Scale | H | 1  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp3f  = {{#expr: {{Line chart/Scale | H | 2  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp4f  = {{#expr: {{Line chart/Scale | H | 3  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp5f  = {{#expr: {{Line chart/Scale | H | 4  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp6f  = {{#expr: {{Line chart/Scale | H | 5  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp7f  = {{#expr: {{Line chart/Scale | H | 6  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp8f  = {{#expr: {{Line chart/Scale | H | 7  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp9f  = {{#expr: {{Line chart/Scale | H | 8  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp10f = {{#expr: {{Line chart/Scale | H | 9  | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp11f = {{#expr: {{Line chart/Scale | H | 10 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp12f = {{#expr: {{Line chart/Scale | H | 11 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp13f = {{#expr: {{Line chart/Scale | H | 12 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp14f = {{#expr: {{Line chart/Scale | H | 13 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp15f = {{#expr: {{Line chart/Scale | H | 14 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp16f = {{#expr: {{Line chart/Scale | H | 15 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp17f = {{#expr: {{Line chart/Scale | H | 16 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp18f = {{#expr: {{Line chart/Scale | H | 17 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp19f = {{#expr: {{Line chart/Scale | H | 18 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp20f = {{#expr: {{Line chart/Scale | H | 19 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp21f = {{#expr: {{Line chart/Scale | H | 20 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp22f = {{#expr: {{Line chart/Scale | H | 21 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp23f = {{#expr: {{Line chart/Scale | H | 22 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp24f = {{#expr: {{Line chart/Scale | H | 23 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 Define $xp25f = {{#expr: {{Line chart/Scale | H | 24 | {{{width|500}}} | {{{padding_right|10}}} | {{{padding_left|30}}} | {{{number_of_x-values|10}}} }} + 2 }}
 &lt;!-- Fin des points de données --&gt;
 | }}