Aber eine neue Frage:
Mir gelingt es nicht einen Text an svg zu übergeben:
Code: Alles auswählen
<line x1="{{grafik.x_koo|add:5}}" y1="{{grafik.y_koo|add:5}}" x2="{{grafik.x_koo|add:-5}}" y2="{{grafik.y_koo|add:-5}}" style="stroke:red;stroke-width:2;" />
<line x1="{{grafik.x_koo|add:-5}}" y1="{{grafik.y_koo|add:5}}" x2="{{grafik.x_koo|add:5}}" y2="{{grafik.y_koo|add:-5}}" style="stroke:red;stroke-width:2;" />
<text x="{{grafik.x_koo|add:10}}" y="{{grafik.y_koo|add:5}}" style="stroke:red;stroke-width:1;">{{grafik.text_a}}</text>