|
||||||||||
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-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
TChart
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
---|
Series.MarkTextResolver |
Field Summary | |
---|---|
protected ChartPen |
linePen
|
protected boolean |
treatNans
|
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, 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, InternalUse |
Constructor Summary | |
---|---|
Area()
|
|
Area(IBaseChart c)
|
Method Summary | |
---|---|
void |
add(double[] xValues,
double[] yValues,
boolean append)
|
int |
add(double x,
double y)
Adds a new point with specified x and y values. |
protected double |
calcMinMaxValue(boolean isMin)
|
void |
calcZOrder()
|
void |
createSubGallery(Gallery addSubChart)
|
protected boolean |
doNotPaintNull()
|
ChartBrush |
getAreaBrush()
Determines the Brush used to fill the background Area region. |
ChartPen |
getAreaLines()
Determines Pen to draw AreaLines. |
ChartPen |
getAreaLinesPen()
Obsolete. |
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. |
MultiAreas |
getMultiArea()
Determines how Multi-AreaSeries are displayed. |
double |
getOrigin()
The axis value as a common bottom for all AreaSeries points. |
protected int |
getOriginPos(int valueIndex)
|
int |
getStackGroup()
|
Gradient |
getTopGradient()
Determines how to fill the top 3D Area region. |
boolean |
getTreatNaNAsNull()
|
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
boolean |
getUseOrigin()
Aligns bottom of AreaSeries to the Origin property value. |
protected boolean |
IgnoreNull()
|
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. |
void |
setStackGroup(int value)
|
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery dialog. |
void |
setTreatNaNAsNull(boolean value)
|
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 |
---|
assign, calcHorizMargins, calcVerticalMargins, clicked, draw, drawHiddenValue, drawLegendShape, drawValue, getAreaBrushColor, getBrush, getClickableLine, getColorEachLine, getDark3D, getInvertedStairs, getLineHeight, getOpacity, getOutLine, getSmoothed, getStairs, getTransparency, readResolve, setChart, setClickableLine, setColor, setColorEachLine, setDark3D, setInvertedStairs, setLineHeight, setOpacity, setSmoothed, setStairs, setTransparency |
Methods inherited from class com.steema.teechart.styles.CustomPoint |
---|
addSeriesMouseListener, calcXPos, calcYPos, clickedPointer, drawMark, drawPointer, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, setPointerStyleResolver, setStacked |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, 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
protected boolean treatNans
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)
public void add(double[] xValues, double[] yValues, boolean append)
add
in class Series
public int add(double x, double y)
Series
add
in interface ISeries
add
in class Series
x
- doubley
- double
protected boolean IgnoreNull()
protected boolean doNotPaintNull()
public boolean getTreatNaNAsNull()
public void setTreatNaNAsNull(boolean value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |