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
JCBarChartFormat is an Object that manages chart properties specific to bar charts.

Properties

Name Method
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.
ClusterOverlap The ClusterOverlap property specifies the overlap between bars. Valid values are between -100 and 100. Default value is 0.
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.


Constructor Index

 o JCBarChartFormat()

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 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()

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 synchronized 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 synchronized 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 synchronized 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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index