summaryrefslogtreecommitdiffstats
path: root/design
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2006-04-12 09:53:25 +0000
committerDerick Rethans <github@derickrethans.nl>2006-04-12 09:53:25 +0000
commit5c8114af9307502f05e076b3b04832e298f94665 (patch)
tree038d783acc7bddc7b4f4fb83d028f60f5f4d627c /design
parent74f9714fdd500872712b9caf389e622e9611b54b (diff)
downloadzetacomponents-graph-5c8114af9307502f05e076b3b04832e298f94665.zip
zetacomponents-graph-5c8114af9307502f05e076b3b04832e298f94665.tar.gz
- Added basic requirements specification and empty design document.
Diffstat (limited to 'design')
-rw-r--r--design/design.txt32
-rw-r--r--design/requirements.txt75
2 files changed, 107 insertions, 0 deletions
diff --git a/design/design.txt b/design/design.txt
new file mode 100644
index 0000000..dd9691d
--- /dev/null
+++ b/design/design.txt
@@ -0,0 +1,32 @@
+eZ component: Graph, Design
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+:Author: Derick Rethans
+:Revision: $Revision$
+:Date: $Date$
+
+Design Description
+==================
+
+
+There is ??? classeses in this component:
+
+ezc????
+-------
+
+Guidelines
+==========
+
+Algorithms
+==========
+
+Data Structures
+===============
+
+
+
+..
+ Local Variables:
+ mode: rst
+ fill-column: 79
+ End:
+ vim: et syn=rst tw=79
diff --git a/design/requirements.txt b/design/requirements.txt
new file mode 100644
index 0000000..224de41
--- /dev/null
+++ b/design/requirements.txt
@@ -0,0 +1,75 @@
+eZ component: Graph, Requirements
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+:Author: Derick Rethans
+:Revision: $Revision$
+:Date: $Date$
+
+Introduction
+============
+
+Description
+-----------
+
+The purpose of this component is to generate different kinds of diagrams from
+different kinds of data. The diagrams' appearance needs to be slick and
+customizable.
+
+Requirements
+============
+The first version of the component should cover the following types of
+charts:
+
+Piechart
+--------
+A diagram showing values as elements of a piechart. It should support:
+
+- highlighted parts (shown as a little bit outwards of the pie)
+- setting a tresh hold under which values are combined together in an "others"
+ part
+- automatic colours, but they should be able to set manually too
+- automatic legenda generation and label placement
+- 2D view, like:
+ http://www.eia.doe.gov/neic/brochure/gas04/images/pie%20chart.gif
+- 3D view, like: http://www.chambersfund.org/images/piechart.jpg
+- background image and/or colours
+
+Linechart
+---------
+A diagram with a variable y-axis showing values for a finite set of data
+points. The chart should be able to show different data sets, but all measured
+only in the same unit.
+
+Line charts should support:
+
+- automatic colours and styles, but each dataset should be able to be styled
+ manually
+- automatic scaling of the x and y-axis
+- automatic legenda generation
+- automatic label placement for both x and y-axis
+- options for setting when to draw vertical and horizontal lines, and in which
+ style they should be drawn
+- 2D view, like: http://www.swiftchart.com/line_ex5.jpg
+- 3D view, like: http://www.jspwiki.org/attach/LineChart/Line+Chart+3D.png
+- background image and/or colours
+
+Special Considerations
+======================
+
+The component should be flexible enough to allow averaging and other analysis
+methods to work on datasets and add rendered data to the resulting graph. This
+can for example be trend analysis or mean average etc.
+
+Formats
+=======
+
+Graphs should be rendered as PNGs in the first version, but it should be
+possible to have different renders to render to f.e. SVG or flash in later
+versions of the component.
+
+
+..
+ Local Variables:
+ mode: rst
+ fill-column: 79
+ End:
+ vim: et syn=rst tw=79
OpenPOWER on IntegriCloud