extend the graph to the right

This commit is contained in:
Wojciech Kwolek 2020-09-14 15:20:26 +02:00
parent e5163946b8
commit a899d1c1be
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{% macro x(n) -%} {% macro x(n) -%}
{{ 15+((85-15)/(lines|length))*(n-1) }}% {{ 15+((91-15)/(lines|length))*(n-1) }}%
{%- endmacro %} {%- endmacro %}
<svg version="1.1" <svg version="1.1"
baseProfile="full" baseProfile="full"
@ -11,7 +11,7 @@
</style> </style>
<g class="bg"> <g class="bg">
{% for n in scale %} {% for n in scale %}
<line x1="10%" y1="{{ 16.6 * loop.index }}%" x2="90%" y2="{{ 16.6 * loop.index }}%" stroke="#ddd" stroke-width="2px" /> <line x1="10%" y1="{{ 16.6 * loop.index }}%" x2="96%" y2="{{ 16.6 * loop.index }}%" stroke="#ddd" stroke-width="2px" />
{% endfor %} {% endfor %}
</g> </g>
<g class="legend" style="font-size: 0.9em; text-align:right;"> <g class="legend" style="font-size: 0.9em; text-align:right;">