From 5fec76d4a16a2428ea5a575ce6f3f1c29ec96d72 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sun, 31 Aug 2014 22:37:33 +0200 Subject: [PATCH] Modify default chart XSL so its size can be set dynamically --- src/resources/ui/chart-default.css | 2 +- src/resources/ui/chart-default.xsl | 160 +++++++++++++++++++++-------- 2 files changed, 117 insertions(+), 45 deletions(-) diff --git a/src/resources/ui/chart-default.css b/src/resources/ui/chart-default.css index 7cbc067..89140d2 100644 --- a/src/resources/ui/chart-default.css +++ b/src/resources/ui/chart-default.css @@ -57,7 +57,7 @@ line.axis { } line.axis-end { - marker-end: url(#arrow_end); + marker-start: url(#arrow_end); } line.planet-marker { diff --git a/src/resources/ui/chart-default.xsl b/src/resources/ui/chart-default.xsl index cef1e5a..b1170d3 100644 --- a/src/resources/ui/chart-default.xsl +++ b/src/resources/ui/chart-default.xsl @@ -14,15 +14,17 @@ - + + + + version="1.0"> + + - - + + + - + + - - + + + + + + - - + + + + + + - + + + + @@ -91,7 +106,10 @@ - + + + + @@ -116,7 +134,10 @@ - + + + + @@ -153,7 +174,10 @@ - + + + + @@ -442,41 +466,77 @@ - - - - - - - - - - - - + + rotate(-15,0,0) translate(,-) rotate(90,,) + + + rotate(-45,0,0) translate(,-) rotate(90,,) + + + rotate(-75,0,0) translate(,-) rotate(90,,) + + + rotate(-105,0,0) translate(,-) rotate(90,,) + + + rotate(-135,0,0) translate(,-) rotate(90,,) + + + rotate(-165,0,0) translate(,-) rotate(90,,) + + + rotate(-195,0,0) translate(,-) rotate(90,,) + + + rotate(-225,0,0) translate(,-) rotate(90,,) + + + rotate(-255,0,0) translate(,-) rotate(90,,) + + + rotate(-285,0,0) translate(,-) rotate(90,,) + + + rotate(-315,0,0) translate(,-) rotate(90,,) + + + rotate(-345,0,0) translate(,-) rotate(90,,) + - + + + - + + + - - + + + + - + + + - + + + - + + + @@ -488,15 +548,19 @@ - + + + - + + + - + @@ -506,20 +570,24 @@ - + + + - + + + - + - + R @@ -530,15 +598,19 @@ - + + + - + + + - +