Open ebeshero opened 7 years ago
Example of pie charts used in an Obdurodon project: view-source:http://presidential.obdurodon.org/analysis.xhtml and http://presidential.obdurodon.org/methodology.xhtml
Jacob Jenkov tutorial: read about Paths, and work them over a Circle element: http://tutorials.jenkov.com/svg/path-element.html
Looks like we need to get sin and cosine values for x and y coordinates plotted from an angle, to draw the lines. See http://www.mathsisfun.com/geometry/unit-circle.html and http://www.codestore.net/store.nsf/unid/EPSD-5DTT4L
The XPath functions we need for sin and cos are here, in the math: namespace: https://www.w3.org/TR/xpath-functions-30/#func-math-sin
Work out how to calculate angles, based on:
Example of pie charts used in an Obdurodon project: view-source:http://presidential.obdurodon.org/analysis.xhtml and http://presidential.obdurodon.org/methodology.xhtml
Jacob Jenkov tutorial: read about Paths, and work them over a Circle element: http://tutorials.jenkov.com/svg/path-element.html
Looks like we need to get sin and cosine values for x and y coordinates plotted from an angle, to draw the lines. See http://www.mathsisfun.com/geometry/unit-circle.html and http://www.codestore.net/store.nsf/unid/EPSD-5DTT4L
The XPath functions we need for sin and cos are here, in the math: namespace: https://www.w3.org/TR/xpath-functions-30/#func-math-sin
Work out how to calculate angles, based on: