krysalis-jcharts/src/documentation/content/xdocs/userGuide/axisCharts/bar index.xml,1.2,1.3 book.xml,1.1,1.2
"Nathaniel G. Auvil" <[email protected]> Thu, 22 Jul 2004 01:27:11 +0000
| Newsgroups | gmane.comp.krysalis.jcharts.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jcharts/krysalis-jcharts/src/documentation/content/xdocs/userGuide/axisCharts/bar
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11778/src/documentation/content/xdocs/userGuide/axisCharts/bar
Modified Files:
index.xml book.xml
Log Message:
added Bar Chart section
Index: index.xml
===================================================================
RCS file: /cvsroot/jcharts/krysalis-jcharts/src/documentation/content/xdocs/userGuide/axisCharts/bar/index.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** index.xml 5 Jun 2004 16:17:39 -0000 1.2
--- index.xml 22 Jul 2004 01:27:08 -0000 1.3
***************
*** 3,15 ****
<document>
<header>
! <title>Point Charts</title>
</header>
<body>
<section>
! <title>Point Charts</title>
<p>
!
</p>
</section>
</body>
</document>
--- 3,77 ----
<document>
<header>
! <title>All Bar Charts</title>
</header>
<body>
<section>
! <title>All Bar Charts</title>
<p>
! This section shows common settings available to all Bar Charts. A Simple Bar
! Chart is used only for illustrative purposes.
! </p>
! </section>
!
! <section>
! <title>Bar Width</title>
! <p>
! jCharts allows you to specify the width of the bars in the chart relative to the amount of space allocated to each scale item.
! This is specifed by a percentage value, 1=100%, .5=50%, etc...
! </p>
! <source>
! barChartProperties.setWidthPercentage( 1f );
! </source>
! <figure src="images/userGuide/barCharts/barChartWidths.png" alt="Bar Chart Widths"/>
! </section>
! <section>
! <title>Bar Outline</title>
! <p>
! jCharts allows you to specify the 'outline' properties of the bars. The default values are to show a
! one pixel wide, black outline. This is set on the <code>BarChartProperties</code> Object, from
! which all Bar Chart Types extend.
! </p>
! <source>
! barChartProperties.setShowOutlinesFlag( true );
! ChartStroke outlineChartStroke= new ChartStroke( new BasicStroke( 2.0f ), Color.red );
! barChartProperties.setBarOutlineStroke( outlineChartStroke );
! </source>
! <figure src="images/userGuide/barCharts/barChartOutlines.png" alt="Bar Chart Outlines"/>
! </section>
!
! <section>
! <title>Horizontal Plots</title>
! <p>
! Each of the Bar Chart Types can be plotted Horizontally by simply passing a flag to the
! AxisProperties Constructor.
! </p>
! <source>
! AxisProperties axisProperties= new AxisProperties( true );
! </source>
! <fixme author="Nathaniel">Remove Horizontal Section from "Axis Charts" in CVS</fixme>
! <figure src="images/userGuide/barCharts/horizontalPlots.png" alt="Horizontal Stacked Bar Chart"/>
! </section>
!
! <section>
! <title>Bar Labels</title>
! <p>
! It is possible to display value labels on your Bar and Clustered Bar charts,
! but not Stacked Bar Charts. To do this, add a <code>ValueLabelRenderer</code>
! to the <code>BarChartProperties</code> Object by calling the
! <code>addPostRenderEventListener( PostAxisValueRenderListener )</code> method.
</p>
+ <p>
+ You can set the Font and Paint used for the Values on the ValueLabelRenderer Object.
+ </p>
+ <note>This feature is not available on Stacked Bar Charts.</note>
+ <source>
+ ValueLabelRenderer valueLabelRenderer = new ValueLabelRenderer( false, false, true, -1 );
+ valueLabelRenderer.setValueLabelPosition( ValueLabelPosition.AT_TOP );
+ valueLabelRenderer.useVerticalLabels( false );
+ barChartProperties.addPostRenderEventListener( valueLabelRenderer );
+ </source>
+ <figure src="images/userGuide/barCharts/barLabels.png" alt="Bar Chart Labels"/>
</section>
+
</body>
</document>
Index: book.xml
===================================================================
RCS file: /cvsroot/jcharts/krysalis-jcharts/src/documentation/content/xdocs/userGuide/axisCharts/bar/book.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** book.xml 5 Jun 2004 14:25:58 -0000 1.1
--- book.xml 22 Jul 2004 01:27:08 -0000 1.2
***************
*** 5,18 ****
<book software="jCharts"
! title="Axis Charts - Common"
copyright="@year@ The Krysalis Software Foundation"
xmlns:xlink="http://www.w3.org/1999/xlink">
!
! <menu label="Area Charts">
! <menu-item label="Simple" href="index.html"/>
<menu-item label="Back" href="../index.html"/>
</menu>
-
</book>
\ No newline at end of file
--- 5,18 ----
<book software="jCharts"
! title="Axis Charts - Bar Charts"
copyright="@year@ The Krysalis Software Foundation"
xmlns:xlink="http://www.w3.org/1999/xlink">
! <menu label="Bar Charts">
! <menu-item label="All Bar Charts" href="index.html"/>
! <menu-item label="Stacked" href="stacked.html"/>
! <menu-item label="Clustered" href="clustered.html"/>
<menu-item label="Back" href="../index.html"/>
</menu>
</book>
\ No newline at end of file
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click