|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--quadbase.ChartAPI.swing.ColInfo
ColInfo
This class provides an implementation for the quadbase.util.IColumnMap
interface.
It contains information about how the charting program utilizes
different columns in the input data to plot chart. They are:
value - column index which contain numerical value to plot chart
category - column index which contain category data
series - column index which contain series data
sumBy - for stack bar, stack column and stack area only, it contains the
column index which is used to group and sum the data in stack chart.
For xy chart and xyz chart, the numerical value columns are set via
variables, xvalue, yvalue and zvalue;
For high-low chart, the variables high, low, open, and close are used.
Date : 5-20-97
IColumnMap,
IMapConstants| Field Summary | |
int |
category
|
int |
close
|
int |
high
|
int |
low
|
int |
open
|
int |
series
|
int |
subseries
|
int |
subvalue
|
int |
sumBy
|
int |
value
|
int |
xvalue
|
int |
yvalue
|
int |
zvalue
|
| Fields inherited from interface quadbase.util.IMapConstants |
CATEGORY, CLOSE, END_DATE, HIGH, LOW, OPEN, SCATTER_X, SCATTER_Y, SCATTER_Z, SECONDARY_SERIES, SECONDARY_VALUE, SERIES, START_DATE, SUB_TASK, SUMBY, TASK, VALUE |
| Constructor Summary | |
ColInfo()
Create new ColInfo object |
|
ColInfo(int series,
int[] values)
Create new ColInfo object for Scatter chart |
|
ColInfo(int series,
int category,
int sumBy,
int value)
Create new ColInfo object for Bar, Column, Stack Bar, Stack Column, 100% Column, Line, Pie, Area, Stack Area |
|
ColInfo(int series,
int category,
int sumBy,
int value,
int subvalue)
Create new ColInfo object for Bar, Column, Stack Bar, Stack Column, 100% Column, Line, Area, Stack Area |
|
ColInfo(int series,
int category,
int high,
int low,
int open,
int close)
Create new ColInfo object for High Low, HLCO, and GANTT charts |
|
ColInfo(int series,
int category,
int high,
int low,
int open,
int close,
int subvalue)
Create new ColInfo object for High Low, HLCO, and GANTT charts |
|
ColInfo(int series,
int category,
int value,
int sumBy,
int high,
int low,
int open,
int close,
int subvalue,
int subseries)
Create new ColInfo object for secondary overlay chart |
|
| Method Summary | |
int |
getColumn(int map)
Get the column index for the given chart dimension(field). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int value
public int subvalue
public int category
public int series
public int subseries
public int sumBy
public int xvalue
public int yvalue
public int zvalue
public int high
public int low
public int open
public int close
| Constructor Detail |
public ColInfo()
public ColInfo(int series,
int category,
int sumBy,
int value)
series - column index in input data used for data series, -1 if no seriescategory - column index for category datasumBy - column index used to sum the data for stack chart, -1 for non-stack chartvalue - column index for numerical column to plot chart
public ColInfo(int series,
int category,
int sumBy,
int value,
int subvalue)
series - column index in input data use for data series, -1 if no seriescategory - column index for category datasumBy - column index used to sum the data for stack chart, -1 for non-stack chartvalue - column index for numerical column to plot chartsubvalue - column index for secondary value axis, -1 if not used
public ColInfo(int series,
int[] values)
series - column index for data series, -1 if no seriesvalues - array of two elements contain x, y numerical columns
for x-axis, y-axis ploting. Or array of three elements
contain x, y, z numerical columns.
For Polar Chart: array of two elements contain angle, radial.
public ColInfo(int series,
int category,
int high,
int low,
int open,
int close)
series - column index for data series, -1 if no seriescategory - column index for category datahigh - column index for high datalow - column index for low dataopen - column index for open data, -1 if not useclose - column index for close data, -1 if not use
public ColInfo(int series,
int category,
int high,
int low,
int open,
int close,
int subvalue)
series - column index for data series, -1 if no seriescategory - column index for category datahigh - column index for high datalow - column index for low dataopen - column index for open data, -1 if not useclose - column index for close data, -1 if not usesubvalue - column index for secondary value axis, -1 if not used
public ColInfo(int series,
int category,
int value,
int sumBy,
int high,
int low,
int open,
int close,
int subvalue,
int subseries)
series - column index for data series, -1 if no seriescategory - column index for category datavalue - column index for primary value axis, -1 if not usedsumBy - column index used to sum the data for stack chart, -1 for non-stack charthigh - column index for high datalow - column index for low dataopen - column index for open data, -1 if not useclose - column index for close data, -1 if not usesubvalue - column index for secondary value axis, -1 if not usedsubseries - column index for secondary data series, -1 if not used| Method Detail |
public final int getColumn(int map)
IColumnMapgetColumn in interface IColumnMapquadbase.util.IColumnMapmap - the chart dimension(field) as enumerated in the interface
quadbase.ChartAPI.IMapConstants.
|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||