|
||||||||||
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.Custom
com.steema.teechart.styles.Area
public class Area
Title: Area class
Description: Area Series
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
TChart
,
Serialized FormNested 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.Custom |
---|
bAreaBrush, bClickableLine, bDark3D, drawArea, drawLine, pAreaLines |
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 | |
---|---|
Area()
|
|
Area(IBaseChart c)
|
Method Summary | |
---|---|
protected double |
calcMinMaxValue(boolean isMin)
|
void |
calcZOrder()
|
void |
createSubGallery(Gallery addSubChart)
|
ChartBrush |
getAreaBrush()
Determines the Brush used to fill the background Area region. You can control the Area background color by using the Series.Color method. |
ChartPen |
getAreaLines()
Determines Pen to draw AreaLines. By default AreaLines .Visible is false, so you need first to set it to true. |
ChartPen |
getAreaLinesPen()
Obsolete. Please use AreaLines instead. |
java.lang.String |
getDescription()
Gets descriptive text. |
Gradient |
getGradient()
Determines Gradient to fill the background Area region. |
ChartPen |
getLinePen()
Determines pen to draw the line connecting all points. |
double |
getMaxXValue()
The Maximum Value of the Series X Values List. |
double |
getMaxYValue()
Returns the highest of all the current Series Y point values. |
double |
getMinXValue()
The Minimum Value of the Series X Values List. |
double |
getMinYValue()
Returns the Minimum Value of the Series Y Values List. As some Series have more than one Y Values List, this Minimum Value is the "Minimum of Minimums" of all Series Y Values lists. |
MultiAreas |
getMultiArea()
Determines how Multi-AreaSeries are displayed. Determines the kind of displayed Area when there's more than one Area Series with the same ParentChart. |
double |
getOrigin()
The axis value as a common bottom for all AreaSeries points. Default value: O |
protected int |
getOriginPos(int valueIndex)
|
int |
getStackGroup()
|
Gradient |
getTopGradient()
Determines how to fill the top 3D Area region. |
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
boolean |
getUseOrigin()
Aligns bottom of AreaSeries to the Origin property value. Default value: false |
protected void |
prepareLegendCanvas(IGraphics3D g,
int valueIndex,
Color backColor,
ChartBrush aBrush)
|
protected boolean |
sameClassOrigin(Series s)
|
void |
setMultiArea(MultiAreas value)
Sets how multiple areas are displayed. |
void |
setOrigin(double value)
Sets axis value as a common bottom for all AreaSeries points. Default value: O |
void |
setStackGroup(int value)
|
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery dialog. |
void |
setTreatNulls(TreatNullsStyle value)
|
void |
setUseOrigin(boolean value)
Enables/disables the setting of the Y value (via the Origin property) that defines the bottom position for area points. |
Methods inherited from class com.steema.teechart.styles.Custom |
---|
calcHorizMargins, calcVerticalMargins, clicked, draw, drawLegendShape, drawValue, getAreaBrushColor, getBrush, getClickableLine, getColorEachLine, getDark3D, getInvertedStairs, getLineHeight, getOpacity, getOutLine, getStairs, getTransparency, readResolve, setChart, setClickableLine, setColor, setColorEachLine, setDark3D, setInvertedStairs, setLineHeight, setOpacity, setStairs, setTransparency |
Methods inherited from class com.steema.teechart.styles.CustomPoint |
---|
addSeriesMouseListener, assign, calcXPos, calcYPos, clickedPointer, drawMark, drawPointer, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, 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 Area(IBaseChart c)
public Area()
Method Detail |
---|
public MultiAreas getMultiArea()
setMultiArea(com.steema.teechart.styles.MultiAreas)
public void setMultiArea(MultiAreas value)
value
- MultiAreasgetMultiArea()
public ChartBrush getAreaBrush()
public Gradient getTopGradient()
public Gradient getGradient()
Example:
areaSeries = new Area(myChart.getChart()); areaSeries.getMarks().setVisible(false); areaSeries.setColor(Color.RED); areaSeries.fillSampleValues(10); areaSeries.setTransparency(0); areaSeries.setStacked(CustomStack.NONE); com.steema.teechart.drawing.Gradient tmpGradient = areaSeries.getGradient(); tmpGradient.setVisible(true); tmpGradient.setUseMiddle(true); tmpGradient.setDirection(GradientDirection.HORIZONTAL); tmpGradient.setStartColor(Color.RED); tmpGradient.setMiddleColor(Color.BLUE); tmpGradient.setEndColor(Color.GREEN); tmpGradient.setTransparency(0);
public ChartPen getAreaLinesPen()
public ChartPen getAreaLines()
public boolean getUseOrigin()
public void setUseOrigin(boolean value)
Example:
areaSeries = new Area(myChart.getChart()); areaSeries.getMarks().setVisible(false); areaSeries.fillSampleValues(20); areaSeries.setStacked(CustomStack.NONE); areaSeries.setUseOrigin(false); areaSeries.setOrigin(200);
value
- booleangetOrigin()
public double getOrigin()
public void setOrigin(double value)
Example:
areaSeries = new Area(myChart.getChart()); areaSeries.getMarks().setVisible(false); areaSeries.fillSampleValues(20); areaSeries.setStacked(CustomStack.NONE); areaSeries.setUseOrigin(false); areaSeries.setOrigin(200);
value
- doublepublic int getStackGroup()
public void setStackGroup(int value)
public void calcZOrder()
calcZOrder
in class CustomPoint
protected boolean sameClassOrigin(Series s)
sameClassOrigin
in class CustomPoint
public double getMaxYValue()
getMaxYValue
in class CustomPoint
public double getMinYValue()
getMinYValue
in class CustomPoint
public double getMaxXValue()
getMaxXValue
in class CustomPoint
public double getMinXValue()
getMinXValue
in class CustomPoint
public java.lang.String getDescription()
getDescription
in class Series
protected int getOriginPos(int valueIndex)
getOriginPos
in class CustomPoint
protected void prepareLegendCanvas(IGraphics3D g, int valueIndex, Color backColor, ChartBrush aBrush)
prepareLegendCanvas
in class Series
public void createSubGallery(Gallery addSubChart)
createSubGallery
in class Series
public void setSubGallery(int index)
Series
setSubGallery
in interface ISeries
setSubGallery
in class Series
index
- intprotected double calcMinMaxValue(boolean isMin)
public ChartPen getLinePen()
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |