|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.imsl.chart.AbstractChartNode
com.imsl.chart.ChartNode
com.imsl.chart.BarSet
public class BarSet
A set of bars in a bar chart.
A BarSet
is created by
Bar
and contains a
collection of BarItems
.
Bar
creates a
BarSet
for each stack-group combination. Each
BarSet
contains the BarItems
for that combination.
Normally all of the BarItems
in a BarSet
have the
same color, title, etc.
- See Also:
Bar
,
BarItem
,
Chart Programmer's Guide: Bar
Chart,
Serialized Form
Field Summary
Fields inherited from class com.imsl.chart.AbstractChartNode
AUTOSCALE_DATA, AUTOSCALE_DENSITY, AUTOSCALE_NUMBER, AUTOSCALE_OFF, AUTOSCALE_WINDOW, AXIS_X, AXIS_Y, AXIS_Z, LABEL_TYPE_NONE, LABEL_TYPE_TITLE, LABEL_TYPE_X, LABEL_TYPE_Y, LABEL_TYPE_Z, TRANSFORM_CUSTOM, TRANSFORM_LINEAR, TRANSFORM_LOG
Method Summary
void
dataRange(double[] range)
Update the data range,
range = {xmin,xmax,ymin,ymax}
.
BarItem[]
getBarItem()
Returns an array of BarItem
s.
BarItem
getBarItem(int index)
Returns the BarItem
given the index.
void
paint(Draw draw)
Paints this node and all of its children.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Method Detail
dataRange
public void dataRange(double[] range)
- Update the data range,
range = {xmin,xmax,ymin,ymax}
.
The entries in range are updated to reflect the extent of
the data in this node.
The argument range
is an input/output variable. Its value should be
updated only if the data in this node is outside the range
already in the array.
- Parameters:
range
- a double
array which contains the updated
range, {xmin,xmax,ymin,ymax}
getBarItem
public BarItem[] getBarItem()
- Returns an array of
BarItem
s. This is the collection of all
BarItems
contained in this bar group.
- Returns:
- a
BarItem
array
getBarItem
public BarItem getBarItem(int index)
- Returns the
BarItem
given the index.
- Parameters:
index
- an int
which specifies the index
- Returns:
- a
BarItem
associated with the specified index
paint
public void paint(Draw draw)
- Description copied from class:
ChartNode
- Paints this node and all of its children.
- Specified by:
paint
in class ChartNode
- Parameters:
draw
- the Draw
object to be painted
Overview
Package
Class
Tree
Index
Help
JMSLTM Numerical Library 5.0.1
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 1970-2008 Visual Numerics, Inc.
Built July 8 2008.