All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.chart.JCBarChartFormat

java.lang.Object
   |
   +----jclass.chart.JCBarChartFormat

public class JCBarChartFormat
extends Object
implements JCSerializable, HTMLHandler
JCBarChartFormat is an Object that manages chart properties specific to bar charts.

Properties

Name Description
100Percent The 100Percent property determines whether stacking bar charts will be charted versus an axis representing a percentage between 0 and 100. Default value is false.
ClusterOverlap The ClusterOverlap property specifies the overlap between bars. Valid values are between -100 and 100. Default value is 0.
ClusterWidth The ClusterWidth property determines the percentage of available space which will be occupied by the bars. Valid values are between 0 and 100. Default value is 80.


Constructor Index

 o JCBarChartFormat()
 o JCBarChartFormat(Changeable)

Method Index

 o get100Percent()
Gets the value of the 100Percent property.
 o getClusterOverlap()
Gets the ClusterOverlap property, which specifies the overlap between bars.
 o getClusterWidth()
Gets the ClusterWidth property, which determines the percentage of available space to be occupied by the bars.
 o loadParams(String, JCChart)
Load JCChart parameters from HTML file
 o saveParams(String, JCChart)
Save JCChart parameters as HTML tags
 o set100Percent(boolean)
Sets the value of the 100Percent property.
 o setClusterOverlap(int)
Sets the ClusterOverlap property, which specifies the overlap between bars.
 o setClusterWidth(int)
Sets the ClusterWidth property, which determines the percentage of available space which will be occupied by the bars.

Constructors

 o JCBarChartFormat
 public JCBarChartFormat()
 o JCBarChartFormat
 public JCBarChartFormat(Changeable p)

Methods

 o getClusterWidth
 public int getClusterWidth()
Gets the ClusterWidth property, which determines the percentage of available space to be occupied by the bars.

Returns:
value between 0 and 100 representing the percentage of available space used by the bars
 o setClusterWidth
 public void setClusterWidth(int per)
Sets the ClusterWidth property, which determines the percentage of available space which will be occupied by the bars.

Parameters:
per - value between 0 and 100 representing the percentage of available space used by the bars
Throws: IllegalArgumentException
If ClusterWidth is not between 0 and 100.
 o getClusterOverlap
 public int getClusterOverlap()
Gets the ClusterOverlap property, which specifies the overlap between bars.

Returns:
percentage of overlap as a percentage of the bar's width. Valid values are between -100 and +100.
 o setClusterOverlap
 public void setClusterOverlap(int per)
Sets the ClusterOverlap property, which specifies the overlap between bars.

Parameters:
per - percentage of overlap as a percentage of the bar's width. Valid values are between -100 and +100.
Throws: IllegalArgumentException
If ClusterOverlap is not between -100 and 100.
 o get100Percent
 public boolean get100Percent()
Gets the value of the 100Percent property. The 100Percent property determines whether stacking bar charts will be charted versus an axis representing a percentage between 0 and 100.

Returns:
boolean indicating whether the y axis will range from 0 to 100.
 o set100Percent
 public void set100Percent(boolean b)
Sets the value of the 100Percent property. The 100Percent property determines whether stacking bar charts will be charted versus an axis representing a percentage between 0 and 100.

Parameters:
b - boolean indicating whether the y axis will range from 0 to 100.
 o saveParams
 public void saveParams(String name,
                        JCChart comp)
Save JCChart parameters as HTML tags

Parameters:
name - the PARAM NAME
chart - the JCChart component
 o loadParams
 public void loadParams(String name,
                        JCChart comp)
Load JCChart parameters from HTML file

Parameters:
name - the PARAM NAME
chart - the JCChart component

All Packages  Class Hierarchy  This Package  Previous  Next  Index