forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r157785 [1/2] - in forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart: ./ lib/ license/ resources/ resources/stylesheets/ src/ src/documentation/ src/documentation/classes/ src/documentation/content/ src/documentation/content/xdocs/ src/documentation/content/xdocs/documentation/ src/documentation/content/xdocs/images/ src/documentation/content/xdocs/samples/
Date Wed, 16 Mar 2005 18:24:51 GMT
Author: rgardler
Date: Wed Mar 16 10:24:45 2005
New Revision: 157785

URL: http://svn.apache.org/viewcvs?view=rev&rev=157785
Log:
A plugin that will draw charts using jCharts. This has been donated to the jCharts proejct, and has been accepted, but is not currently available in their CVS so I've put it here in case anyone wants it. See README.txt for URL of the patch at jCharts.

Added:
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/README.txt   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/build.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/forrest.properties   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-awt-util.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-dom.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-svggen.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-util.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-xml.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/jaxen-core.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/jaxen-dom.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/junit.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/krysalis-jCharts-1.0.0-alpha-1.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/log4j-1.2.8.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/logkit-1.2.2.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/saxpath.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/servlet_2_2.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/license/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/output.xmap   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/resources/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/resources/stylesheets/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/classes/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/classes/CatalogManager.properties   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/.html   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/documentation/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/documentation/index.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group-logo.gif   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group.svg   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/icon.png   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project-logo.gif   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project.svg   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/usemap.gif   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/index.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/areachart1.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/barchart1.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data1.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data2.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data3.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph1.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph2.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph3.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph4.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph5.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph6.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/index.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/linechart1.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/piechart1.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/radarchart1.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/site.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/tabs.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/skinconf.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/status.xml   (with props)

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/README.txt
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/README.txt?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/README.txt (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/README.txt Wed Mar 16 10:24:45 2005
@@ -0,0 +1,8 @@
+This plugin has been offered to the jCharts community, 
+and has been accepted there. However, since it is not 
+currently available in their CVS and the license is 
+compatible I've placed it here in our whiteboard.
+
+If you intend to use it I recomend you check the 
+jCharts patch status first, 
+http://sourceforge.net/tracker/index.php?func=detail&aid=1094265&group_id=16161&atid=316161
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/build.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/build.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/build.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project default="docs" basedir="." name="Forrest plugin build file">
+
+  <property name="plugin-name" value="org.apache.forrest.plugin.Chart"/>
+
+  <import file="../build.xml"/>
+  
+  <!-- Add any additional installation work here in the build target, for example:
+  <target name="build"
+          description="Extract the tools">
+     <unzip dest="${plugins.localDeploy-dir}/${plugin-name}/resources">
+       <fileset dir="tools">
+          <include name="pluginBionaryTools.zip"/>
+        </fileset>
+     </unzip>   
+  </target>
+  -->
+</project>
+  
+  

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/forrest.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/forrest.properties?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/forrest.properties (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/forrest.properties Wed Mar 16 10:24:45 2005
@@ -0,0 +1,108 @@
+# Copyright 2002-2004 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+##############
+# Properties used by forrest.build.xml for building the website
+# These are the defaults, un-comment them if you need to change them.
+##############
+
+# Prints out a summary of Forrest settings for this project
+#forrest.echo=true
+
+# Project name (used to name .war file)
+#project.name=my-project
+
+# Specifies name of Forrest skin to use
+#project.skin=tigris
+#project.skin=pelt
+
+# comma separated list, file:// is supported
+#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml
+
+##############
+# behavioural properties
+#project.menu-scheme=tab_attributes
+#project.menu-scheme=directories
+
+##############
+# layout properties
+
+# Properties that can be set to override the default locations
+#
+# Parent properties must be set. This usually means uncommenting
+# project.content-dir if any other property using it is uncommented
+
+#project.status=status.xml
+#project.content-dir=src/documentation
+#project.raw-content-dir=${project.content-dir}/content
+#project.conf-dir=${project.content-dir}/conf
+#project.sitemap-dir=${project.content-dir}
+#project.xdocs-dir=${project.content-dir}/content/xdocs
+#project.resources-dir=${project.content-dir}/resources
+#project.stylesheets-dir=${project.resources-dir}/stylesheets
+#project.images-dir=${project.resources-dir}/images
+#project.schema-dir=${project.resources-dir}/schema
+#project.skins-dir=${project.content-dir}/skins
+#project.skinconf=${project.content-dir}/skinconf.xml
+#project.lib-dir=${project.content-dir}/lib
+#project.classes-dir=${project.content-dir}/classes
+#project.translations-dir=${project.content-dir}/translations
+
+##############
+# validation properties
+
+# This set of properties determine if validation is performed
+# Values are inherited unless overridden.
+# e.g. if forrest.validate=false then all others are false unless set to true.
+#forrest.validate=true
+#forrest.validate.xdocs=${forrest.validate}
+#forrest.validate.skinconf=${forrest.validate}
+#forrest.validate.sitemap=${forrest.validate}
+#forrest.validate.stylesheets=${forrest.validate}
+#forrest.validate.skins=${forrest.validate}
+#forrest.validate.skins.stylesheets=${forrest.validate.skins}
+
+# *.failonerror=(true|false) - stop when an XML file is invalid
+#forrest.validate.failonerror=true
+
+# *.excludes=(pattern) - comma-separated list of path patterns to not validate
+# e.g.
+#forrest.validate.xdocs.excludes=samples/subdir/**, samples/faq.xml
+#forrest.validate.xdocs.excludes=
+
+
+##############
+# General Forrest properties
+
+# The URL to start crawling from
+#project.start-uri=linkmap.html
+# Set logging level for messages printed to the console
+# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
+#project.debuglevel=ERROR
+# Max memory to allocate to Java
+#forrest.maxmemory=64m
+# Any other arguments to pass to the JVM. For example, to run on an X-less
+# server, set to -Djava.awt.headless=true
+#forrest.jvmargs=
+# The bugtracking URL - the issue number will be appended
+#project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=
+#project.bugtracking-url=http://issues.apache.org/jira/browse/
+# The issues list as rss
+#project.issues-rss-url=
+#I18n Property only works for the "forrest run" target.
+#project.i18n=true
+# The names of plugins that are required to build the project
+# comma separated list (no spaces)
+# Run "forrest available-plugins" for a list of plug-ins currently available
+project.required.plugins=org.apache.forrest.plugin.Chart,org.apache.forrest.plugin.pdf-output

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/forrest.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-awt-util.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-awt-util.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-awt-util.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-dom.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-dom.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-dom.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-svggen.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-svggen.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-svggen.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-util.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-util.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-util.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-xml.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-xml.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/batik-xml.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/jaxen-core.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/jaxen-core.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/jaxen-core.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/jaxen-dom.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/jaxen-dom.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/jaxen-dom.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/junit.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/junit.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/junit.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/krysalis-jCharts-1.0.0-alpha-1.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/krysalis-jCharts-1.0.0-alpha-1.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/krysalis-jCharts-1.0.0-alpha-1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/log4j-1.2.8.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/log4j-1.2.8.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/log4j-1.2.8.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/logkit-1.2.2.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/logkit-1.2.2.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/logkit-1.2.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/saxpath.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/saxpath.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/saxpath.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/servlet_2_2.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/servlet_2_2.jar?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/lib/servlet_2_2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/output.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/output.xmap?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/output.xmap (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/output.xmap Wed Mar 16 10:24:45 2005
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:components>
+	<map:transformers>
+	  <map:transformer name="chart" src="org.krysalis.jcharts.xml.JChartTransformer"/>
+	</map:transformers>             
+    <map:serializers default="svg2png">
+       <map:serializer name="svg2jpeg" mime-type="image/jpeg" src="org.apache.cocoon.serialization.SVGSerializer">
+          <parameter name="quality" type="float" value="1.0" />
+       </map:serializer>
+       <map:serializer mime-type="image/png" 
+                       name="svg2png" 
+                       src="org.apache.cocoon.serialization.SVGSerializer" >
+          <!--<parameter name="background_color" type="color" value="#ff00ff"/>-->
+          <!-- <parameter name="gamma" type="float" value="0.48"/> -->
+       </map:serializer>   
+     </map:serializers>
+  </map:components>
+
+	<map:pipelines>
+	  <map:pipeline>
+	    <map:match pattern="do/draw_chart/**.svg">
+		  <map:generate src="cocoon://{1}.xml"/>
+          <map:transform type="xinclude"/>
+		  <map:transform type="chart"/>
+		  <map:serialize type="xml"/>
+		</map:match>
+		
+	    <map:match pattern="do/draw_chart/**.png">
+	      <map:generate src="cocoon:/do/draw_chart/{1}.svg"/>
+	      <map:serialize type="svg2png"/>
+	    </map:match>
+		
+	    <map:match pattern="do/draw_chart/**.jpg">
+	      <map:generate src="cocoon:/do/draw_chart/{1}.svg"/>
+	      <map:serialize type="svg2jpeg"/>
+	    </map:match>
+	  </map:pipeline>
+	</map:pipelines>
+
+</map:sitemap>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/output.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/classes/CatalogManager.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/classes/CatalogManager.properties?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/classes/CatalogManager.properties (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/classes/CatalogManager.properties Wed Mar 16 10:24:45 2005
@@ -0,0 +1,51 @@
+# Copyright 2002-2004 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#=======================================================================
+# CatalogManager.properties for Catalog Entity Resolver.
+#
+# This is the default properties file for your project.
+# This facilitates local configuration of application-specific catalogs.
+# If you have defined any local catalogs, then they will be loaded
+# before Forrest's core catalogs.
+#
+# See the Apache Forrest documentation:
+# http://forrest.apache.org/docs/your-project.html
+# http://forrest.apache.org/docs/validation.html
+
+# verbosity:
+# The level of messages for status/debug (messages go to standard output).
+# The setting here is for your own local catalogs.
+# The verbosity of Forrest's core catalogs is controlled via
+#  forrestcore/src/core/context/WEB-INF/cocoon.xconf
+#
+# The following messages are provided ...
+#  0 = none
+#  1 = ? (... not sure yet)
+#  2 = 1+, Loading catalog, Resolved public, Resolved system
+#  3 = 2+, Catalog does not exist, resolvePublic, resolveSystem
+#  10 = 3+, List all catalog entries when loading a catalog
+#    (Cocoon also logs the "Resolved public" messages.)
+verbosity=1
+
+# catalogs ... list of additional catalogs to load
+#  (Note that Apache Forrest will automatically load its own default catalog
+#  from src/core/context/resources/schema/catalog.xcat)
+# use full pathnames
+# pathname separator is always semi-colon (;) regardless of operating system
+# directory separator is always slash (/) regardless of operating system
+#
+#catalogs=/home/me/forrest/my-site/src/documentation/resources/schema/catalog.xcat
+catalogs=
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/classes/CatalogManager.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/.html
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/.html?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/.html (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/.html Wed Mar 16 10:24:45 2005
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="ISO-8859-1"?><html><head><title/></head><body><body>&lt;!-- Copyright 2002-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --&gt; &lt;h1&gt;WYSIWYG Editing In Apache Forrest&lt;/h1&gt; &lt;p&gt;This plugin provides WYSIWYG editing for the Apache Forrest appliction. It currently only works with HTML input files, but we hope to extend its range of supported file formats.&lt;/p&gt; &lt;h2&gt;Try it out&lt;/h2&gt; &lt;p&gt;The easiest way to try it out is to &lt;a shape="rect" href="edit_htmlArea/index.html"&gt;edit this page&lt;/a&gt;.&lt;/p&gt; &lt;h1&gt;How do I allow users to edit my Pages?&lt;/h1&gt; &lt;p&gt;If a request is recieved with an URL that contains &amp;quot;edit_htmlArea/&amp;quot; then an edit page is generated for the indicated page. For example:&lt;/p&gt; &lt;p class="source"&gt; &lt;a href="edit_htmlArea/index.html"&gt;edit index&lt;/a&gt; &lt;/p&gt; &lt;p&gt;will create an editor for the &lt;code&gt;index.html&lt;/code&gt; page.&lt;/p&gt;</body></body></html>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/documentation/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/documentation/index.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/documentation/index.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/documentation/index.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Documentation for the org.apache.forrest.plugin.Chart Plugin</title> 
+  </header> 
+  <body> 
+    <section id="chartDescriptor">
+      <title>Chart Descriptor</title>
+      <p>The chart descriptor file describes how the chart is to be composed
+      and displayed. For example the chart displayed below is described by
+      <a href="/samples/graph1.xml">this chart descriptor</a>.</p>
+      
+      <figure src="/do/draw_chart/samples/graph1.png"/>
+      
+    </section>
+  </body>
+</document>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/documentation/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group-logo.gif?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group.svg?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group.svg (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group.svg Wed Mar 16 10:24:45 2005
@@ -0,0 +1,81 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:group-name">
+ <!ELEMENT for:group-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="40%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: middle">
+    <for:group-name />
+    </text>
+  </g>
+</svg>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/group.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/icon.png
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/icon.png?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/icon.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project-logo.gif?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project.svg?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project.svg (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project.svg Wed Mar 16 10:24:45 2005
@@ -0,0 +1,81 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:project-name">
+ <!ELEMENT for:project-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="51%" y="75%" style="font-size:32pt; font-family:Verdana ; text-anchor: middle" >
+    <for:project-name />
+    </text>
+  </g>
+</svg>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/project.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/usemap.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/usemap.gif?view=auto&rev=157785
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/images/usemap.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/index.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/index.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/index.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Welcome to the org.apache.forrest.plugin.Chart Plugin</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Apache Forrest - org.apache.forrest.plugin.Chart Plugin</title>
+      <p>This plugin provides charting for Apache Forrest by 
+      integrating <a href="http://jcharts.sourceforge.net/">JChart</a>
+      into Forrest.</p>
+      
+      <p><a href="samples/index.html">View a set of sample graphs</a>.</p>
+    </section>
+    
+    <section>
+      <title>Generating a Chart</title>
+      <p>To generate a chart simply use a URI in the following form:</p>
+      
+      <source>/do/draw_chart/PATH_TO_CHART/CHART_NAME.CHART_TYPE</source>
+      
+      <p>Where <code>PATH_TO_CHART</code> is the normal path to the
+      <a href="documentation/index.html#chartDescriptor">chart descriptor</a>,
+      <code>CHART_NAME</code> is the name of the
+      <a href="documentation/index.html#chartDescriptor">chart descriptor file</a>
+      (without the <code>.xml</code> extension, and
+      <code>CHART_TYPE</code> is how you want the format in which the 
+      chart is to be returned (for example, <code>.png</code>, 
+      <code>.jpg</code> or <code>.svg</code>).</p>
+    </section>
+    
+  </body>
+</document>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/areachart1.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/areachart1.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/areachart1.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/areachart1.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,108 @@
+<?xml version="1.0" ?>
+<!-- add the type to the root element, so the program can decide which interpreter to call to interpret the rest of the sheet
+	It will of course also influence the renderer that is called. --> 
+<chartstyle type="areachart">
+	<lines>
+		<!-- The first line is for the first dataset in the graph
+			The second line for the second one
+			etc. (you get the picture ;) ) -->
+		<line>
+			<!-- The style chapter - These elements are like the SVG style attributes. -->
+			<style>
+				<!-- The color (in RGB) -->
+				<stroke>
+					CC6666
+				</stroke>
+				<stroke-width>
+					1
+				</stroke-width>
+				<!-- etc ... all stroke-* of the SVG spec can be used here -->
+				
+			</style>
+			
+			<!-- attributes for a datapoint -->
+			<point>
+				<normal>
+					<!-- shape of the datapoint -->
+					<shape name="rectangle">
+						<width>10</width>
+						<height>5</height>
+					</shape>
+				</normal>
+				<!-- Which attributes to use for emphasized points --> 
+				<emphasized>
+					<!-- shape of the datapoint: An svg shape definition
+						The (0,0) point of this coordinate system will be translated to the datapoint of the
+						 chart. -->
+					<shape>
+						<circle style="fill:red;stroke:red;" cx="0" cy="0" r="1"/>
+					</shape>
+				</emphasized>
+			</point>
+			<region>
+				<!-- Define the fill of the region - see also the "style" element for line -->
+				<style>
+					<fill>
+						white
+					</fill>
+					<fillrule>
+						nonzero
+					</fillrule>
+					<!-- etc -->
+					
+				</style>
+			</region>
+		</line>
+		
+		<line>
+			<!-- The style chapter - These elements are like the SVG style attributes. -->
+			<style>
+				<!-- The color (in RGB) -->
+				<stroke>
+					CCCC66
+				</stroke>
+				<stroke-width>
+					0.5
+				</stroke-width>
+				<!-- etc ... all stroke-* of the SVG spec can be used here -->
+				
+			</style>
+			
+			<!-- attributes for a datapoint -->
+			<point>
+				<normal>
+					<!-- shape of the datapoint: An svg shape definition
+						The (0,0) point of this coordinate system will be translated to the actual datapoint on the
+						 chart. -->
+					<shape name="ellipse">
+						<width>5</width>
+						<height>10</height>
+					</shape>
+				</normal>
+				<!-- Which attributes to use for emphasized points --> 
+				<emphasized>
+					<!-- shape of the datapoint: An svg shape definition
+						The (0,0) point of this coordinate system will be translated to the datapoint of the
+						 chart. -->
+					<shape>
+						<circle style="fill:red;stroke:red;" cx="0" cy="0" r="1"/>
+					</shape>
+				</emphasized>
+			</point>
+			<region>
+				<!-- Define the fill of the region - see also the "style" element for line -->
+				<style>
+					<fill>
+						white
+					</fill>
+					<fillrule>
+						nonzero
+					</fillrule>
+					<!-- etc -->
+					
+				</style>
+			</region>
+		</line>		
+	</lines>
+</chartstyle>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/areachart1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/barchart1.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/barchart1.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/barchart1.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/barchart1.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,66 @@
+<?xml version="1.0" ?>
+<!-- add the type to the root element, so the program can decide which interpreter to call to interpret the rest of the sheet
+	It will of course also influence the renderer that is called. --> 
+<chartstyle type="barchart">
+	<bars>
+		<!-- The first bar is for the first dataset in the graph
+			The second bar for the second one
+			etc. (you get the picture ;) ) -->
+		<bar>
+			<!-- The style chapter - These elements are like the SVG style attributes. -->
+			<style>
+				<!-- The color (in RGB - FIXME: is it possible to define colors in RGB format in SVG? -->
+				<stroke>
+					FF9966
+				</stroke>
+				<stroke-width>
+					2
+				</stroke-width>
+				<!-- etc ... all stroke-* of the SVG spec can be used here -->
+				
+			</style>
+			<region>
+				<!-- Define the fill of the region - see also the "style" element for line -->
+				<style>
+					<fill>
+						white
+					</fill>
+					<fillrule>
+						nonzero
+					</fillrule>
+					<!-- etc -->
+					
+				</style>
+			</region>
+		</bar>
+		
+		<bar>
+			<!-- The style chapter - These elements are like the SVG style attributes. -->
+			<style>
+				<!-- The color (in RGB - FIXME: is it possible to define colors in RGB format in SVG? -->
+				<stroke>
+					FFCC66
+				</stroke>
+				<stroke-width>
+					2
+				</stroke-width>
+				<!-- etc ... all stroke-* of the SVG spec can be used here -->
+				
+			</style>
+			<region>
+				<!-- Define the fill of the region - see also the "style" element for line -->
+				<style>
+					<fill>
+						white
+					</fill>
+					<fillrule>
+						nonzero
+					</fillrule>
+					<!-- etc -->
+					
+				</style>
+			</region>
+		</bar>		
+	</bars>
+</chartstyle>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/barchart1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data1.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data1.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data1.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data1.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,45 @@
+
+<!-- The data --> 
+<data>
+	<!-- v is value (datapoint) -->
+	<v>
+		<!-- y is y-value
+			 x is x-value. 
+			 If one of these is not specified, some default value can be calculated.
+			 If, for example, not one x value is specified for the whole dataset, 
+			 they will be placed on regular intervals.
+			 x-values are necessary for defining scatterplots, for example.
+			 z-values might also be possible -->
+		<y>80</y>
+		<!-- c stands for "content". This can be used for defining tooltips, for example -->
+		<c>(1990,North) = 80</c>
+		<!-- l stands for "link". Format of the link should be investigated further (I suspect
+			this format is too much html-oriented) -->
+		<l>/1990/North</l>
+	</v>
+	<v>
+		<y>77.6</y>
+		<!-- Emphasize:
+			if it's a pie chart, let this piece jump out.
+			Other charts could provide other emphasizing mechanisms,
+			maybe even dependent on the "style" sheet
+		-->
+		<emphasize />
+	</v>
+	<v><y>75.7</y></v>
+	<v><y>76.6</y></v>
+	<v><y>76.6</y></v>
+	<v><y>75.6</y></v>
+	<v><y>75.6</y></v>
+	<v><y>75.6</y></v>
+	<v><y>74.6</y></v>
+	<v><y>490.6</y></v>
+	<v><y>74.6</y></v>
+	<v><y>73.6</y></v>
+	<v><y>73.6</y></v>
+	<v><y>73.6</y></v>
+	<v><y>73.6</y></v>
+	<v><y>72.6</y></v>
+	<v><y>72.6</y></v>
+</data>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data2.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data2.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data2.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data2.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,45 @@
+
+<!-- The data --> 
+<data>
+	<!-- v is value (datapoint) -->
+	<v>
+		<!-- y is y-value
+			 x is x-value. 
+			 If one of these is not specified, some default value can be calculated.
+			 If, for example, not one x value is specified for the whole dataset, 
+			 they will be placed on regular intervals.
+			 x-values are necessary for defining scatterplots, for example.
+			 z-values might also be possible -->
+		<y>40</y>
+		<!-- c stands for "content". This can be used for defining tooltips, for example -->
+		<c>(1990,North) = 80</c>
+		<!-- l stands for "link". Format of the link should be investigated further (I suspect
+			this format is too much html-oriented) -->
+		<l>/1990/North</l>
+	</v>
+	<v>
+		<y>38.3</y>
+		<!-- Emphasize:
+			if it's a pie chart, let this piece jump out.
+			Other charts could provide other emphasizing mechanisms,
+			maybe even dependent on the "style" sheet
+		-->
+		<emphasize />
+	</v>
+	<v><y>40.7</y></v>
+	<v><y>150.2</y></v>
+	<v><y>174.6</y></v>
+	<v><y>33.6</y></v>
+	<v><y>54.6</y></v>
+	<v><y>54.6</y></v>
+	<v><y>117.6</y></v>
+	<v><y>177.6</y></v>
+	<v><y>176.6</y></v>
+	<v><y>8.6</y></v>
+	<v><y>30.6</y></v>
+	<v><y>0.6</y></v>
+	<v><y>13.6</y></v>
+	<v><y>34.6</y></v>
+	<v><y>72.6</y></v>
+</data>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data3.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data3.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data3.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data3.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,33 @@
+
+<!-- The data --> 
+<data>
+	<!-- v is value (datapoint) -->
+	<v>
+		<!-- y is y-value
+			 x is x-value. 
+			 If one of these is not specified, some default value can be calculated.
+			 If, for example, not one x value is specified for the whole dataset, 
+			 they will be placed on regular intervals.
+			 x-values are necessary for defining scatterplots, for example.
+			 z-values might also be possible -->
+		<y>80</y>
+		<!-- c stands for "content". This can be used for defining tooltips, for example -->
+		<c>(1990,North) = 80</c>
+		<!-- l stands for "link". Format of the link should be investigated further (I suspect
+			this format is too much html-oriented) -->
+		<l>/1990/North</l>
+	</v>
+	<v>
+		<y>77.6</y>
+		<!-- Emphasize:
+			if it's a pie chart, let this piece jump out.
+			Other charts could provide other emphasizing mechanisms,
+			maybe even dependent on the "style" sheet
+		-->
+		<emphasize />
+	</v>
+
+	<v><y>490.6</y></v>
+	<v><y>7.6</y></v>
+</data>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/data3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph1.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph1.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph1.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph1.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,122 @@
+<jchart country="EN" lang="en" xmlns:xi="http://www.w3.org/2001/XInclude"
+  width="800" height="500">
+    <ggroup>
+		<gset width="800" height="500">
+			<title>
+				Wings graph1
+			</title>
+		
+			<axes>
+				<x-axis>
+					<name>
+						Year
+					</name>
+					<labels>
+						<explicit>
+							<n>1990</n>
+							<n>winter1</n>
+							<n>spring1</n>
+							<n>summer1</n>
+							<n>autumn1</n>
+							<n>1991</n>
+							<n>winter2</n>
+							<n>spring2</n>
+							<n>summer2</n>
+							<n>autumn2</n>
+							<n>1992</n>
+							<n>winter3</n>
+							<n>spring3</n>
+							<n>summer3</n>
+							<n>autumn3</n>
+							<n>1993</n>
+							<n>winter4</n>
+						</explicit>
+						<!-- Defaults: if no label is specified at a given point, use the default label.
+							 In fact, you can consider this as follows:
+								- draw the default labels
+								- draw the specified labels, overwriting the default one if necessary
+						-->
+						<default>
+							<min>
+								1990
+							</min>
+							<max>
+								1993
+							</max>
+							<interval>
+								<!-- provide a label every 5 datapoints -->
+								5
+							</interval>
+						</default>						
+					</labels>
+				</x-axis>
+				<y-axis>
+					<name>
+						Income
+					</name>
+					<labels>
+						<default>
+							<min>
+								70
+							</min>
+							<max>
+								120
+							</max>
+							<interval>
+								10
+							</interval>
+						</default>
+					</labels>
+					<position>
+						left
+					</position>
+				</y-axis>
+			</axes>
+		
+			<!-- combine is the way the datasets are placed together. I imagine "compare", "add" will be
+				possible among others -->
+			<graph combine="compare">
+				<style>
+					<!-- Use the specified "style" sheet.
+						Format of the url is yet to be specified. -->
+					<xi:include href="linechart1.xml"/>
+				</style>
+				<dataset>
+					<data>
+						<!-- the location of the data. -->
+						<xi:include href="data1.xml"/>
+					</data>
+					<!-- A name for the legend -->
+					<name>
+						North
+					</name>
+					<!-- We can remap the axes. Handy for those nifty 3d-graphs 
+						This example just gives the defaults. --> 
+					<axes>
+						<x-axis>x</x-axis>
+						<y-axis>y</y-axis>
+					</axes>
+				</dataset>
+				<dataset>
+					<data>
+						<xi:include href="data2.xml"/>
+					</data>
+					<name>
+						South
+					</name>
+				</dataset>
+			</graph>
+			
+			<!-- The legend. FIXME: work this out -->
+			<legend>
+				<position>
+					south
+				</position>
+			</legend>
+			
+		</gset>
+	</ggroup>
+
+
+</jchart>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph2.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph2.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph2.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph2.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,136 @@
+<jchart country="EN" lang="en" xmlns:xi="http://www.w3.org/2001/XInclude">
+	<ggroup>
+		<gset width="350" height="200">
+			<title>
+				Wings graph2
+			</title>
+		
+			<axes>
+				<x-axis>
+					<name>
+						Year
+					</name>
+					<labels>
+						<explicit>
+							<n>1990</n>
+							<n>winter1</n>
+							<n>spring1</n>
+							<n>summer1</n>
+							<n>autumn1</n>
+							<n>1991</n>
+							<n>winter2</n>
+							<n>spring2</n>
+							<n>summer2</n>
+							<n>autumn2</n>
+							<n>1992</n>
+							<n>winter3</n>
+							<n>spring3</n>
+							<n>summer3</n>
+							<n>autumn3</n>
+							<n>1993</n>
+							<n>winter4</n>
+						</explicit>
+						<!-- Defaults: if no label is specified at a given point, use the default label.
+							 In fact, you can consider this as follows:
+								- draw the default labels
+								- draw the specified labels, overwriting the default one if necessary
+						-->
+						<default>
+							<min>
+								1990
+							</min>
+							<max>
+								1993
+							</max>
+							<interval>
+								<!-- provide a label every 5 datapoints -->
+								5
+							</interval>
+						</default>						
+					</labels>
+				</x-axis>
+				<y-axis>
+					<name>
+						Income
+					</name>
+					<labels>
+						<default>
+							<min>
+								70
+							</min>
+							<max>
+								120
+							</max>
+							<interval>
+								10
+							</interval>
+						</default>
+					</labels>
+					<position>
+						left
+					</position>
+				</y-axis>
+			</axes>
+		
+			<!-- combine is the way the datasets are placed together. I imagine "compare", "add" will be
+				possible among others -->
+			<graph combine="compare">
+				<style>
+					<!-- Use the specified "style" sheet.
+						Format of the url is yet to be specified. -->
+					<!-- 
+					<config>
+						barchart1.xml
+					</config>
+					-->
+					<xi:include href="barchart1.xml"/>
+				</style>
+				<dataset>
+					<data>
+						<!-- the location of the data. -->
+						<!-- 
+						<location>
+							data1.xml
+						</location>
+						-->
+					  <xi:include href="data1.xml"/>
+					</data>
+					<!-- A name for the legend -->
+					<name>
+						North
+					</name>
+					<!-- We can remap the axes. Handy for those nifty 3d-graphs 
+						This example just gives the defaults. --> 
+					<axes>
+						<x-axis>x</x-axis>
+						<y-axis>y</y-axis>
+					</axes>
+				</dataset>
+				<dataset>
+					<data>
+					    <!-- 
+						<location>
+							data2.xml
+						</location>
+						-->
+					    <xi:include href="data2.xml"/>
+					</data>
+					<name>
+						South
+					</name>
+				</dataset>
+			</graph>
+			
+			<!-- The legend. FIXME: work this out -->
+			<legend>
+				<position>
+					south
+				</position>
+			</legend>
+			
+		</gset>
+	</ggroup>
+
+
+</jchart>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph3.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph3.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph3.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph3.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,179 @@
+<jchart country="EN" lang="en" xmlns:xi="http://www.w3.org/2001/XInclude">
+	<ggroup>
+		<gset width="700" height="400">
+			<title>
+				Wings graph3
+			</title>
+		
+			<axes>
+				<x-axis>
+					<name>
+						Year
+					</name>
+					<labels>
+						<explicit>
+							<n>1990</n>
+							<n>winter1</n>
+							<n>spring1</n>
+							<n>summer1</n>
+							<n>autumn1</n>
+							<n>1991</n>
+							<n>winter2</n>
+							<n>spring2</n>
+							<n>summer2</n>
+							<n>autumn2</n>
+							<n>1992</n>
+							<n>winter3</n>
+							<n>spring3</n>
+							<n>summer3</n>
+							<n>autumn3</n>
+							<n>1993</n>
+							<n>winter4</n>
+						</explicit>
+						<!-- Defaults: if no label is specified at a given point, use the default label.
+							 In fact, you can consider this as follows:
+								- draw the default labels
+								- draw the specified labels, overwriting the default one if necessary
+						-->
+						<default>
+							<min>
+								1990
+							</min>
+							<max>
+								1993
+							</max>
+							<interval>
+								<!-- provide a label every 5 datapoints -->
+								5
+							</interval>
+						</default>						
+					</labels>
+				</x-axis>
+				<y-axis>
+					<name>
+						Income
+					</name>
+					<labels>
+						<default>
+							<min>
+								70
+							</min>
+							<max>
+								120
+							</max>
+							<interval>
+								10
+							</interval>
+						</default>
+					</labels>
+					<position>
+						left
+					</position>
+				</y-axis>
+			</axes>
+		
+			<!-- combine is the way the datasets are placed together. I imagine "compare", "add" will be
+				possible among others -->
+			<graph combine="compare">
+				<style>
+					<!-- Use the specified "style" sheet. -->
+				    <xi:include href="barchart1.xml"/>	
+					<!-- DEPRECATED: it is also possible, in some environments,
+					     to include the style file by defining the config elements
+					     and a filename
+					 <config>
+						barchart1.xml
+					</config>-->
+				</style>
+				<dataset>
+					<data>
+						<!-- the location of the data. -->
+						<!--  DEPRECATED: it is also possible, in some environments,
+					     to include the data file by defining the location elements
+					     and a filename
+					     <location>
+							data1.xml
+						</location>-->
+					    <xi:include href="data1.xml"/>
+					</data>
+					<!-- A name for the legend -->
+					<name>
+						North
+					</name>
+					<!-- We can remap the axes. Handy for those nifty 3d-graphs 
+						This example just gives the defaults. --> 
+					<axes>
+						<x-axis>x</x-axis>
+						<y-axis>y</y-axis>
+					</axes>
+				</dataset>
+				<dataset>
+					<data>
+						<!--  DEPRECATED: it is also possible, in some environments,
+					     to include the data file by defining the location elements
+					     and a filename
+					     <location>
+							data2.xml
+						</location>-->
+					    <xi:include href="data2.xml"/>
+					</data>
+					<name>
+						South
+					</name>
+				</dataset>
+			</graph>
+
+			<graph combine="compare">
+				<style>
+					<!-- Use the specified "style" sheet.
+						Format of the url is yet to be specified. -->
+					<!-- <config>
+						linechart1.xml
+					</config>-->
+					<xi:include href="linechart1.xml"/>
+				</style>
+				<dataset>
+					<data>
+						<!-- the location of the data. -->
+						<!-- <location>
+							data1.xml
+						</location>-->
+					    <xi:include href="data1.xml"/>
+					</data>data>
+					<!-- A name for the legend -->
+					<name>
+						North
+					</name>
+					<!-- We can remap the axes. Handy for those nifty 3d-graphs 
+						This example just gives the defaults. --> 
+					<axes>
+						<x-axis>x</x-axis>
+						<y-axis>y</y-axis>
+					</axes>
+				</dataset>
+				<dataset>
+					<data>
+						<!-- <location>
+							data2.xml
+						</location>-->
+					    <xi:include href="data2.xml"/>
+					</data>
+					<name>
+						South
+					</name>
+				</dataset>
+			</graph>
+			
+			<!-- The legend. FIXME: work this out -->
+			<legend>
+				<position>
+					south
+				</position>
+			</legend>
+			
+		</gset>
+	</ggroup>
+
+
+</jchart>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph4.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph4.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph4.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph4.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,119 @@
+<jchart country="EN" lang="en" xmlns:xi="http://www.w3.org/2001/XInclude">
+	<ggroup>
+		<gset width="800" height="500">
+			<title>
+				Wings graph4
+			</title>
+		
+			<axes>
+				<x-axis>
+					<name>
+						Year
+					</name>
+					<labels>
+						<explicit>
+							<n>1990</n>
+							<n>winter1</n>
+							<n>spring1</n>
+							<n>summer1</n>
+							<n>autumn1</n>
+							<n>1991</n>
+							<n>winter2</n>
+							<n>spring2</n>
+							<n>summer2</n>
+							<n>autumn2</n>
+							<n>1992</n>
+							<n>winter3</n>
+							<n>spring3</n>
+							<n>summer3</n>
+							<n>autumn3</n>
+							<n>1993</n>
+							<n>winter4</n>
+						</explicit>
+						<!-- Defaults: if no label is specified at a given point, use the default label.
+							 In fact, you can consider this as follows:
+								- draw the default labels
+								- draw the specified labels, overwriting the default one if necessary
+						-->
+						<default>
+							<min>
+								1990
+							</min>
+							<max>
+								1993
+							</max>
+							<interval>
+								<!-- provide a label every 5 datapoints -->
+								5
+							</interval>
+						</default>						
+					</labels>
+				</x-axis>
+				<y-axis>
+					<name>
+						Income
+					</name>
+					<labels>
+						<default>
+							<min>
+								70
+							</min>
+							<max>
+								120
+							</max>
+							<interval>
+								10
+							</interval>
+						</default>
+					</labels>
+					<position>
+						left
+					</position>
+				</y-axis>
+			</axes>
+		
+			<!-- combine is the way the datasets are placed together. I imagine "compare", "add" will be
+				possible among others -->
+			<graph combine="compare">
+				<style>
+					<!-- Use the specified "style" sheet.
+						Format of the url is yet to be specified. -->
+					<!-- <config>
+						piechart1.xml
+					</config>-->
+					<xi:include href="piechart1.xml"/>
+				</style>
+				<dataset>
+					<data>
+						<!-- the location of the data. -->
+						<!-- <location>
+							data3.xml
+						</location>-->
+					    <xi:include href="data3.xml"/>
+					</data>
+					<!-- A name for the legend -->
+					<name>
+						North
+					</name>
+					<!-- We can remap the axes. Handy for those nifty 3d-graphs 
+						This example just gives the defaults. --> 
+					<axes>
+						<x-axis>x</x-axis>
+						<y-axis>y</y-axis>
+					</axes>
+				</dataset>
+			</graph>
+			
+			<!-- The legend. FIXME: work this out -->
+			<legend>
+				<position>
+					south
+				</position>
+			</legend>
+			
+		</gset>
+	</ggroup>
+
+
+</jchart>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph4.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph5.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph5.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph5.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph5.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,130 @@
+<jchart country="EN" lang="en" xmlns:xi="http://www.w3.org/2001/XInclude">
+	<ggroup>
+		<gset width="800" height="500">
+			<title>
+				Wings graph5
+			</title>
+		
+			<axes>
+				<x-axis>
+					<name>
+						Year
+					</name>
+					<labels>
+						<explicit>
+							<n>1990</n>
+							<n>winter1</n>
+							<n>spring1</n>
+							<n>summer1</n>
+							<n>autumn1</n>
+							<n>1991</n>
+							<n>winter2</n>
+							<n>spring2</n>
+							<n>summer2</n>
+							<n>autumn2</n>
+							<n>1992</n>
+							<n>winter3</n>
+							<n>spring3</n>
+							<n>summer3</n>
+							<n>autumn3</n>
+							<n>1993</n>
+							<n>winter4</n>
+						</explicit>
+						<!-- Defaults: if no label is specified at a given point, use the default label.
+							 In fact, you can consider this as follows:
+								- draw the default labels
+								- draw the specified labels, overwriting the default one if necessary
+						-->
+						<default>
+							<min>
+								1990
+							</min>
+							<max>
+								1993
+							</max>
+							<interval>
+								<!-- provide a label every 5 datapoints -->
+								5
+							</interval>
+						</default>						
+					</labels>
+				</x-axis>
+				<y-axis>
+					<name>
+						Income
+					</name>
+					<labels>
+						<default>
+							<min>
+								70
+							</min>
+							<max>
+								120
+							</max>
+							<interval>
+								10
+							</interval>
+						</default>
+					</labels>
+					<position>
+						left
+					</position>
+				</y-axis>
+			</axes>
+		
+			<!-- combine is the way the datasets are placed together. I imagine "compare", "add" will be
+				possible among others -->
+			<graph combine="compare">
+				<style>
+					<!-- Use the specified "style" sheet.
+						Format of the url is yet to be specified. -->
+					<!-- <config>
+						areachart1.xml
+					</config>-->
+					<xi:include href="areachart1.xml"/>
+				</style>
+				<dataset>
+					<data>
+						<!-- the location of the data. -->
+						<!-- <location>
+							data1.xml
+						</location>-->
+						<xi:include href="data1.xml"/>
+					</data>
+					<!-- A name for the legend -->
+					<name>
+						North
+					</name>
+					<!-- We can remap the axes. Handy for those nifty 3d-graphs 
+						This example just gives the defaults. --> 
+					<axes>
+						<x-axis>x</x-axis>
+						<y-axis>y</y-axis>
+					</axes>
+				</dataset>
+				<dataset>
+					<data>
+						<!-- <location>
+							data2.xml
+						</location>-->
+						<xi:include href="data2.xml"/>
+					</data>
+					<name>
+						South
+					</name>
+				</dataset>
+			</graph>
+			
+			<!-- The legend. FIXME: work this out -->
+			<legend>
+				<position>
+					south
+				</position>
+			</legend>
+			
+		</gset>
+	</ggroup>
+
+
+</jchart>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph5.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph6.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph6.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph6.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph6.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,130 @@
+<jchart country="EN" lang="en" xmlns:xi="http://www.w3.org/2001/XInclude">
+	<ggroup>
+		<gset width="800" height="500">
+			<title>
+				Wings graph6
+			</title>
+		
+			<axes>
+				<x-axis>
+					<name>
+						Year
+					</name>
+					<labels>
+						<explicit>
+							<n>1990</n>
+							<n>winter1</n>
+							<n>spring1</n>
+							<n>summer1</n>
+							<n>autumn1</n>
+							<n>1991</n>
+							<n>winter2</n>
+							<n>spring2</n>
+							<n>summer2</n>
+							<n>autumn2</n>
+							<n>1992</n>
+							<n>winter3</n>
+							<n>spring3</n>
+							<n>summer3</n>
+							<n>autumn3</n>
+							<n>1993</n>
+							<n>winter4</n>
+						</explicit>
+						<!-- Defaults: if no label is specified at a given point, use the default label.
+							 In fact, you can consider this as follows:
+								- draw the default labels
+								- draw the specified labels, overwriting the default one if necessary
+						-->
+						<default>
+							<min>
+								1990
+							</min>
+							<max>
+								1993
+							</max>
+							<interval>
+								<!-- provide a label every 5 datapoints -->
+								5
+							</interval>
+						</default>						
+					</labels>
+				</x-axis>
+				<y-axis>
+					<name>
+						Income
+					</name>
+					<labels>
+						<default>
+							<min>
+								70
+							</min>
+							<max>
+								120
+							</max>
+							<interval>
+								10
+							</interval>
+						</default>
+					</labels>
+					<position>
+						left
+					</position>
+				</y-axis>
+			</axes>
+		
+			<!-- combine is the way the datasets are placed together. I imagine "compare", "add" will be
+				possible among others -->
+			<graph combine="compare">
+				<style>
+					<!-- Use the specified "style" sheet.
+						Format of the url is yet to be specified. -->
+					<!-- <config>
+						radarchart1.xml
+					</config>-->
+					<xi:include href="radarchart1.xml"/>
+				</style>
+				<dataset>
+					<data>
+						<!-- the location of the data. -->
+						<!--  <location>
+							data1.xml
+						</location> -->
+						<xi:include href="data1.xml"/>
+					</data>
+					<!-- A name for the legend -->
+					<name>
+						North
+					</name>
+					<!-- We can remap the axes. Handy for those nifty 3d-graphs 
+						This example just gives the defaults. --> 
+					<axes>
+						<x-axis>x</x-axis>
+						<y-axis>y</y-axis>
+					</axes>
+				</dataset>
+				<dataset>
+					<data>
+						<!-- <location>
+							data2.xml
+						</location>-->
+						<xi:include href="data2.xml"/>
+					</data>
+					<name>
+						South
+					</name>
+				</dataset>
+			</graph>
+			
+			<!-- The legend. FIXME: work this out -->
+			<legend>
+				<position>
+					south
+				</position>
+			</legend>
+			
+		</gset>
+	</ggroup>
+
+
+</jchart>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/graph6.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/index.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/index.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/index.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>org.apache.forrest.plugin.Chart Examples</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Example Charts</title>
+      <section>
+        <title>Graph 1</title>
+        <figure src="/do/draw_chart/samples/graph1.png" alt="Example graph 1">Graph 1</figure>
+      </section>
+      <section>
+        <title>Graph 2</title>
+        <figure src="/do/draw_chart/samples/graph2.png" alt="Example graph 2">Graph 2</figure>
+      </section>
+      <section>
+        <title>Graph 3</title>
+        <figure src="/do/draw_chart/samples/graph3.png" alt="Example graph 3">Graph 3</figure>
+      </section>
+      <section>
+        <title>Graph 4</title>
+        <figure src="/do/draw_chart/samples/graph4.png" alt="Example graph 4">Graph 4</figure>
+      </section>
+      <section>
+        <title>Graph 5</title>
+        <figure src="/do/draw_chart/samples/graph5.png" alt="Example graph 5">Graph 5</figure>
+      </section>
+      <section>
+        <title>Graph 6</title>
+        <figure src="/do/draw_chart/samples/graph6.png" alt="Example graph 6">Graph 6</figure>
+      </section>
+    </section>
+  </body>
+</document>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/linechart1.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/linechart1.xml?view=auto&rev=157785
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/linechart1.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/linechart1.xml Wed Mar 16 10:24:45 2005
@@ -0,0 +1,108 @@
+<?xml version="1.0" ?>
+<!-- add the type to the root element, so the program can decide which interpreter to call to interpret the rest of the sheet
+	It will of course also influence the renderer that is called. --> 
+<chartstyle type="linechart">
+	<lines>
+		<!-- The first line is for the first dataset in the graph
+			The second line for the second one
+			etc. (you get the picture ;) ) -->
+		<line>
+			<!-- The style chapter - These elements are like the SVG style attributes. -->
+			<style>
+				<!-- The color (in RGB) -->
+				<stroke>
+					CC6666
+				</stroke>
+				<stroke-width>
+					1
+				</stroke-width>
+				<!-- etc ... all stroke-* of the SVG spec can be used here -->
+				
+			</style>
+			
+			<!-- attributes for a datapoint -->
+			<point>
+				<normal>
+					<!-- shape of the datapoint -->
+					<shape name="rectangle">
+						<width>10</width>
+						<height>5</height>
+					</shape>
+				</normal>
+				<!-- Which attributes to use for emphasized points --> 
+				<emphasized>
+					<!-- shape of the datapoint: An svg shape definition
+						The (0,0) point of this coordinate system will be translated to the datapoint of the
+						 chart. -->
+					<shape>
+						<circle style="fill:red;stroke:red;" cx="0" cy="0" r="1"/>
+					</shape>
+				</emphasized>
+			</point>
+			<region>
+				<!-- Define the fill of the region - see also the "style" element for line -->
+				<style>
+					<fill>
+						white
+					</fill>
+					<fillrule>
+						nonzero
+					</fillrule>
+					<!-- etc -->
+					
+				</style>
+			</region>
+		</line>
+		
+		<line>
+			<!-- The style chapter - These elements are like the SVG style attributes. -->
+			<style>
+				<!-- The color (in RGB) -->
+				<stroke>
+					CCCC66
+				</stroke>
+				<stroke-width>
+					0.5
+				</stroke-width>
+				<!-- etc ... all stroke-* of the SVG spec can be used here -->
+				
+			</style>
+			
+			<!-- attributes for a datapoint -->
+			<point>
+				<normal>
+					<!-- shape of the datapoint: An svg shape definition
+						The (0,0) point of this coordinate system will be translated to the actual datapoint on the
+						 chart. -->
+					<shape name="ellipse">
+						<width>5</width>
+						<height>10</height>
+					</shape>
+				</normal>
+				<!-- Which attributes to use for emphasized points --> 
+				<emphasized>
+					<!-- shape of the datapoint: An svg shape definition
+						The (0,0) point of this coordinate system will be translated to the datapoint of the
+						 chart. -->
+					<shape>
+						<circle style="fill:red;stroke:red;" cx="0" cy="0" r="1"/>
+					</shape>
+				</emphasized>
+			</point>
+			<region>
+				<!-- Define the fill of the region - see also the "style" element for line -->
+				<style>
+					<fill>
+						white
+					</fill>
+					<fillrule>
+						nonzero
+					</fillrule>
+					<!-- etc -->
+					
+				</style>
+			</region>
+		</line>		
+	</lines>
+</chartstyle>
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Chart/src/documentation/content/xdocs/samples/linechart1.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message