Commit Graph

23 Commits

Author SHA1 Message Date
Gergely Polonkai 84b622c622 Make chart/image/icon size parameters for the XSLT; the chart depends on them
Almost all sizes depend on $image_size or $icon_size now
2014-09-28 01:30:45 +02:00
Gergely Polonkai 023dbcb55f Make chart image size dynamic
It now depends on the maximum distance of icons from the chart
2014-09-24 21:46:43 +02:00
Gergely Polonkai f4b87a7c09 Add Moon phase visualisation to the chart 2014-09-24 13:01:14 +02:00
Gergely Polonkai c1703e0f4f Change aspect and antiscion classes to (aspect|antiscion)-p
This clears up possible naming clashes
2014-09-22 01:20:59 +02:00
Gergely Polonkai efa94b350f Add comet Asbolus to the list of planets 2014-09-21 23:50:35 +02:00
Gergely Polonkai 8a4eb378e9 Add a theme parameter to the SVG/image generating functions
This is needed for image generation to include display themes.
Fixes #82
2014-09-21 23:05:07 +02:00
Gergely Polonkai 7fe6a16401 Add a rendering parameter to ag_chart_create_svg()
Based upon this parameter a <rect> is included in the resulting SVG
document, providing a background color, and so is the chart CSS.
2014-09-17 11:25:40 +02:00
Gergely Polonkai e87adf8497 Fix chart XSL file
The resulting image didn’t comply with the SVG standard, as it accidentally
had some IDs prefixed with ‘#’
2014-09-17 11:25:40 +02:00
Gergely Polonkai 4ecef146c2 Update chart XSL
• Move planet group (<g>) creation to a template
• Add planet-X class to all aspect and antiscia lines so they can be hidden
  later one by one
• Move houses to their separate group
• Chart base is now a separate group, as it was intended
• Move from value_name to value_nick. It's shorter and makes using the
  substring function obsolete
• Antiscion lines got their own class
• Move away from visibility to display attribute. visibility in SVG can
  can be overridden, thus switching between aspects and antiscia cannot
  be done if the future display themes tamper with the lines’ visibility
  style
2014-09-13 01:05:08 +02:00
Gergely Polonkai 480a0ef223 Add icon for Chariklo 2014-09-06 10:19:19 +02:00
Gergely Polonkai 624c7358b3 Add icon for Nessus 2014-09-06 10:11:47 +02:00
Gergely Polonkai 0f1001de8d Add icon for Pholus 2014-09-06 10:02:47 +02:00
Gergely Polonkai 73763f04c8 Add house numbers to the default chart template
Fixes #54
2014-09-03 09:54:57 +02:00
Gergely Polonkai 5fec76d4a1 Modify default chart XSL so its size can be set dynamically 2014-08-31 22:37:33 +02:00
Gergely Polonkai 204baa0e04 Move planet symbols to xi:include files 2014-08-30 23:07:22 +02:00
Gergely Polonkai 5c9f88326b Add CSS class to different aspects 2014-08-29 12:46:58 +02:00
Gergely Polonkai 7d55580bce Move aspect styles to a CSS class 2014-08-29 12:26:01 +02:00
Gergely Polonkai 0a49ce6a30 Fix antiscia/aspect change buttons
The javascript code ran by Astrognome is changing the visibility
attribute instead of style attribute, but style has precedence.
2014-08-27 21:56:17 +02:00
Gergely Polonkai 09efcfeeb6 Fix retrograde mark location 2014-08-26 23:55:29 +02:00
Gergely Polonkai 12e3514ce2 Update chart-default.xsl to show retrograde mark 2014-08-26 19:16:36 +02:00
Gergely Polonkai 69233be35e Add a dist attribute to XML <body> tags so planet icons won't collide 2014-07-13 22:44:15 +02:00
Gergely Polonkai 5ac17cd8be Move default sign symbols to the resource list 2014-07-12 10:45:38 +02:00
Gergely Polonkai a5d76beb23 Move the default xsl file to the resources 2014-07-11 15:03:54 +02:00