From f4b87a7c09cf700783e2bfd49b882b52fb5b363d Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 24 Sep 2014 13:01:14 +0200 Subject: [PATCH] Add Moon phase visualisation to the chart --- src/resources/ui/chart-default.css | 5 +++ src/resources/ui/chart-default.xsl | 72 +++++++++++++++++++++++++++++- 2 files changed, 76 insertions(+), 1 deletion(-) diff --git a/src/resources/ui/chart-default.css b/src/resources/ui/chart-default.css index bd6da08..b70b09b 100644 --- a/src/resources/ui/chart-default.css +++ b/src/resources/ui/chart-default.css @@ -138,3 +138,8 @@ line.antiscion { #background { fill: #ffffff; } + +#moon { + fill: #c0c0c0; + stroke-width: 0; +} diff --git a/src/resources/ui/chart-default.xsl b/src/resources/ui/chart-default.xsl index e513279..4f26661 100644 --- a/src/resources/ui/chart-default.xsl +++ b/src/resources/ui/chart-default.xsl @@ -18,6 +18,7 @@ + @@ -157,7 +158,7 @@ - + @@ -797,6 +798,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + m 0, + + + a , 0 0,1 0,- + + + a , 0 0,0 0, + + + + l 0, + + + + a , 0 0,1 0, + + + + + + a , 0 0,0 0,- + + + a , 0 0,1 0, + + + + l 0, + + + + a , 0 0,0 0, + + + + + z + + + + +