|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.styles.Series
com.steema.teechart.styles.CustomPoint
com.steema.teechart.styles.Points
com.steema.teechart.styles.Gantt
public class Gantt
Title: Gantt class
Description: Gantt Series.
Example:
ganttSeries = new com.steema.teechart.styles.Gantt(myChart.getChart()); ganttSeries.fillSampleValues();
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
---|
Series.MarkTextResolver |
Field Summary | |
---|---|
protected ChartPen |
linePen
|
protected TreatNullsStyle |
treatnulls
|
Fields inherited from class com.steema.teechart.styles.CustomPoint |
---|
iStacked, point |
Fields inherited from class com.steema.teechart.styles.Series |
---|
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, InternalUse, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
Gantt()
Creates a new Gantt series. |
|
Gantt(IBaseChart c)
|
Method Summary | |
---|---|
int |
add(DateTime start,
DateTime endDate,
double y,
Color color)
Adds a new Gantt point to the series, at the start and endDate positions. |
int |
add(DateTime start,
DateTime endDate,
double y,
java.lang.String text)
|
int |
add(DateTime start,
DateTime endDate,
double y,
java.lang.String text,
Color color)
|
int |
add(double start,
double endDate,
double y)
Adds a new Gantt bar with start and end coordinates to the Series. |
int |
add(double start,
double endDate,
double y,
Color color)
Adds a new Gantt bar with start and end coordinates and color. |
int |
add(double start,
double endDate,
double y,
java.lang.String text)
Adds a new Gantt bar with start and end coordinates and label. |
int |
add(double start,
double endDate,
double y,
java.lang.String text,
Color color)
Adds a new Gantt bar with start and end coordinates, label and color. |
protected void |
addSampleValues(int numValues)
Adds random values to series. |
protected double |
calcMinMaxValue(boolean isMin)
|
boolean |
clickedPointer(int valueIndex,
int tmpX,
int tmpY,
int x,
int y)
For internal use. |
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition aPosition)
|
void |
drawValue(int valueIndex)
Called internally. |
ChartPen |
getConnectingPen()
Determines the pen to draw the optional lines that connect Gantt Bars. |
java.lang.String |
getDescription()
Gets descriptive text. |
ValueList |
getEndValues()
Defines the ending Gantt bar date value. The starting Gantt bar point is stored at TGanttSeries.StartValues StartValues and EndValues can be specified both as DateTime or double values. |
double |
getMaxXValue()
Returns the Maximum Value of the Series X Values List. |
ValueList |
getNextTasks()
Holds the Gantt bar index each Gantt bar is connected to. |
ValueList |
getStartValues()
Defines the starting Gantt bar date values. The ending Gantt bar point date is stored at TGanttSeries.EndValues. StartValues and EndValues can be specified both as DateTime or double values. |
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
boolean |
isValidSourceOf(Series value)
True if Series source is Gantt. It returns false if the Value parameter is the same as Self. |
void |
prepareForGallery(boolean isEnabled)
|
void |
setTreatNulls(TreatNullsStyle value)
|
Methods inherited from class com.steema.teechart.styles.Points |
---|
canDoExtra, createSubGallery, getColor, getLinePen, setColor, setColorEach, setSubGallery |
Methods inherited from class com.steema.teechart.styles.CustomPoint |
---|
addSeriesMouseListener, assign, calcHorizMargins, calcVerticalMargins, calcXPos, calcYPos, calcZOrder, clicked, drawLegendShape, drawPointer, getMaxYValue, getMinXValue, getMinYValue, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setChart, setPointerStyleResolver, setStacked |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.steema.teechart.styles.ISeries |
---|
getChart, invalidate |
Field Detail |
---|
protected ChartPen linePen
protected TreatNullsStyle treatnulls
Constructor Detail |
---|
public Gantt()
public Gantt(IBaseChart c)
Method Detail |
---|
public ValueList getStartValues()
public ValueList getEndValues()
public ValueList getNextTasks()
protected void addSampleValues(int numValues)
addSampleValues
in class Series
numValues
- intpublic ChartPen getConnectingPen()
public void drawValue(int valueIndex)
drawValue
in interface ISeries
drawValue
in class CustomPoint
valueIndex
- intpublic boolean clickedPointer(int valueIndex, int tmpX, int tmpY, int x, int y)
clickedPointer
in class CustomPoint
valueIndex
- inttmpX
- inttmpY
- intx
- inty
- int
protected void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition aPosition)
drawMark
in class CustomPoint
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Series
public int add(DateTime start, DateTime endDate, double y, java.lang.String text)
public int add(DateTime start, DateTime endDate, double y, java.lang.String text, Color color)
public int add(DateTime start, DateTime endDate, double y, Color color)
start
- DateTimeendDate
- DateTimey
- doublecolor
- Color
public int add(double start, double endDate, double y, Color color)
start
- doubleendDate
- doubley
- doublecolor
- Color
public int add(double start, double endDate, double y)
start
- doubleendDate
- doubley
- double
public int add(double start, double endDate, double y, java.lang.String text)
start
- doubleendDate
- doubley
- doubletext
- String
public int add(double start, double endDate, double y, java.lang.String text, Color color)
start
- doubleendDate
- doubley
- doubletext
- Stringcolor
- Color
public boolean isValidSourceOf(Series value)
isValidSourceOf
in class Series
value
- Series
public double getMaxXValue()
getMaxXValue
in class CustomPoint
public java.lang.String getDescription()
getDescription
in class Points
protected double calcMinMaxValue(boolean isMin)
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |