|
||||||||||
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.FastLine
public class FastLine
Title: FastLine class
Description: The FastLine Series is an extremely simple Series component that draws its points as fast as possible.
Example:
myChart.getAxes().setVisible(true); myChart.setClipPoints(true); // hide things for better speed myChart.getAspect().setView3D(false); myChart.getLegend().setVisible(false); myChart.getFooter().setVisible(false); myChart.getHeader().setVisible(false);
Copyright (c) 2005-2013 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 boolean |
treatNans
|
protected TreatNullsStyle |
treatnulls
|
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 | |
---|---|
FastLine()
|
|
FastLine(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. |
void |
assign(Series source)
Copies all properties from one Series component to another. |
protected double |
calcMinMaxValue(boolean isMin)
|
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series. |
void |
createSubGallery(Gallery addSubChart)
|
protected boolean |
doNotPaintNull()
|
protected void |
draw()
|
protected void |
drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle rect)
|
protected void |
drawMark(int valueIndex,
java.lang.String st,
SeriesMarksPosition aPosition)
|
void |
drawValue(int index)
Called internally. |
boolean |
getAutoRepaint()
Repaints Chart after any changes are made. |
java.lang.String |
getDescription()
Gets descriptive text. |
boolean |
getDrawAllPoints()
When false, it only draws the first point at any X pixel location. |
DrawAllPointsStyle |
getDrawAllPointsStyle()
The DrawAllPoints style. |
boolean |
getIgnoreNulls()
Displays null points when false For speed reasons, FastLine series supports null (empty) values only when IgnoreNulls is false. |
boolean |
getInvertedStairs()
Controls the FastLine series drawing. |
ChartPen |
getLinePen()
Determines pen to draw the line connecting all points. |
double |
getMaxYValue()
The Maximum Value of the Series Y Values List. |
double |
getMinYValue()
The Minimum Value of the Series Y Values List. |
boolean |
getStairs()
Controls the drawing of FastLine series. |
int |
getTransparency()
The Transparency of the FastLine series as a percentage. |
boolean |
getTreatNaNAsNull()
|
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
protected boolean |
IgnoreNull()
|
void |
setAutoRepaint(boolean value)
Repaints Chart after any changes are made. |
void |
setChart(IBaseChart value)
Chart associated with this object. |
void |
setColor(Color value)
Default color for all points. |
void |
setDrawAllPoints(boolean value)
When false, it only draws the first point at any X pixel location. |
void |
setDrawAllPointsStyle(DrawAllPointsStyle value)
Sets the DrawAllPoints style. |
void |
setIgnoreNulls(boolean value)
Displays null points when false Default value: true Example: lineSeries1.setNull( 123 ); // -- make null (empty) point index 123 lineSeries1.setIgnoreNulls( false ); // -- allow null points lineSeries1.setStairs( true ); // -- set "stairs" mode |
void |
setInvertedStairs(boolean value)
Controls the FastLine series drawing. |
void |
setStairs(boolean value)
Controls the drawing of FastLine series. |
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery dialog. |
void |
setTransparency(int value)
Sets the Transparency of the FastLine series as a percentage. |
void |
setTreatNaNAsNull(boolean value)
|
void |
setTreatNulls(TreatNullsStyle value)
|
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 FastLine(IBaseChart c)
public FastLine()
Method Detail |
---|
public void setChart(IBaseChart value)
TeeBase
setChart
in interface ISeries
value
- IBaseChartpublic double getMaxYValue()
Series
getMaxYValue
in class Series
public double getMinYValue()
Series
getMinYValue
in class Series
public boolean getAutoRepaint()
public void setAutoRepaint(boolean value)
value
- booleanpublic int getTransparency()
public void setTransparency(int value)
value
- intpublic boolean getDrawAllPoints()
public void setDrawAllPoints(boolean value)
Example:
lineSeries.setDrawAllPoints( false );
value
- booleanpublic DrawAllPointsStyle getDrawAllPointsStyle()
public void setDrawAllPointsStyle(DrawAllPointsStyle value)
value
- DrawAllPointsStylepublic void setColor(Color value)
Series
setColor
in class Series
value
- ColorSeries.getColorEach()
public int clicked(int x, int y)
clicked
in interface ISeries
clicked
in class Series
x
- inty
- int
protected void draw()
draw
in class Series
public void drawValue(int index)
drawValue
in interface ISeries
drawValue
in class Series
index
- intprotected void drawMark(int valueIndex, java.lang.String st, SeriesMarksPosition aPosition)
drawMark
in class Series
protected void drawLegendShape(IGraphics3D g, int valueIndex, Rectangle rect)
drawLegendShape
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
- intpublic boolean getStairs()
public void setStairs(boolean value)
Example:
lineSeries1.setStairs( true );
value
- booleanpublic boolean getInvertedStairs()
public void setInvertedStairs(boolean value)
value
- booleanpublic boolean getIgnoreNulls()
public void setIgnoreNulls(boolean value)
Example:
lineSeries1.setNull( 123 ); // -- make null (empty) point index 123 lineSeries1.setIgnoreNulls( false ); // -- allow null points lineSeries1.setStairs( true ); // -- set "stairs" mode
value
- booleanprotected boolean doNotPaintNull()
public java.lang.String getDescription()
getDescription
in class Series
public void assign(Series source)
Series
assign
in class Series
source
- Seriesprotected 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()
public boolean getTreatNaNAsNull()
public void setTreatNaNAsNull(boolean value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |