com.davisor.graphics.chart
Class ChartDataSummary

java.lang.Object
  extended bycom.davisor.graphics.chart.ChartDataSummary

public class ChartDataSummary
extends java.lang.Object

Summary represents summary data gathered over a set of number valued channels. A summary contains the following information:

Consequtive cumulative channels form channel sequences in which individual channel values are added. The first channel and each non-cumulative begin a new channel sequence. The sequences parameter measures the number of these sequences, while longestSequence measures the number of channels in the longest sequence.

The channel order is based on the order in which they appear in the index array that defines the channel set. The channel order may therefore be arranged at will, and a channel may even be used more than once.

Since:
JDK1.1
See Also:
ChartFactory.createSummary(com.davisor.graphics.chart.ChartData, com.davisor.graphics.chart.ChartAttributes, com.davisor.graphics.chart.ChartAxes, com.davisor.graphics.chart.PlotRenderAttributes, com.davisor.data.EnumType, int[], boolean, int[])

Field Summary
 ChartAttributes attr
          Chart attributes.
 ChartAxes axes
          The axes that control this particular chart.
 int[] channels
          Indexes of the value channels that this summary was gathered from.
 boolean[] cumulative
          Cumulativeness for each channel in the channel set.
 int elements
          Number of data elements in each channel.
 boolean[] hidden
          Visilibity for each channel in the channel set.
 EnumType labelType
          Label data access type (may be null).
 int longestSequence
          Number of channels in the longest sequence.
 DataValue maxPosValue
          Maximum value over the position channels in the set.
 DataValue maxValue
          Cumulative maximum value over the channels in the set.
 DataValue minPosValue
          Minimum value over the position channels in the set.
 DataValue minValue
          Cumulative minimum value over the channels in the set.
 int sequences
          Number of channel sequences.
 
Constructor Summary
ChartDataSummary(ChartAttributes attr, ChartAxes axes, int[] channels, boolean[] cumulative, boolean[] hidden, int elements, int sequences, int longestSequence, DataValue minValue, DataValue maxValue, DataValue minPosValue, DataValue maxPosValue, EnumType labelType)
           
 
Method Summary
 java.util.Map createAdditionalValues()
          Creates a map suitable for tuple data additional values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attr

public ChartAttributes attr
Chart attributes.


axes

public ChartAxes axes
The axes that control this particular chart.


channels

public int[] channels
Indexes of the value channels that this summary was gathered from.


cumulative

public boolean[] cumulative
Cumulativeness for each channel in the channel set.


hidden

public boolean[] hidden
Visilibity for each channel in the channel set.


elements

public int elements
Number of data elements in each channel.


sequences

public int sequences
Number of channel sequences.


longestSequence

public int longestSequence
Number of channels in the longest sequence.


minValue

public DataValue minValue
Cumulative minimum value over the channels in the set.


maxValue

public DataValue maxValue
Cumulative maximum value over the channels in the set.


minPosValue

public DataValue minPosValue
Minimum value over the position channels in the set.


maxPosValue

public DataValue maxPosValue
Maximum value over the position channels in the set.


labelType

public EnumType labelType
Label data access type (may be null).

Constructor Detail

ChartDataSummary

public ChartDataSummary(ChartAttributes attr,
                        ChartAxes axes,
                        int[] channels,
                        boolean[] cumulative,
                        boolean[] hidden,
                        int elements,
                        int sequences,
                        int longestSequence,
                        DataValue minValue,
                        DataValue maxValue,
                        DataValue minPosValue,
                        DataValue maxPosValue,
                        EnumType labelType)
Method Detail

createAdditionalValues

public java.util.Map createAdditionalValues()
Creates a map suitable for tuple data additional values. The additional values mechanism allows external values to be seamlessly bound to tuple data element access operations.

The returned map will be a new Map object with the following key-value pairs:

See Also:
TupleData.get(Object,Map)


Copyright © 2001-2004 Davisor Oy. All Rights Reserved.