|
||||||||||
| 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.Funnel
public class Funnel
Title: Funnel class
Description: Funnel Series.
Copyright (c) 2005-2006 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 |
|---|
| 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 | |
|---|---|
Funnel()
|
|
Funnel(IBaseChart c)
|
|
| Method Summary | |
|---|---|
int |
add(double aQuote,
double aOpportunity,
java.lang.String aLabel,
Color aColor,
boolean aFunnel)
|
protected void |
addSampleValues(int numValues)
|
int |
addSegment(double aQuote,
double aOpportunity,
java.lang.String aLabel,
Color aColor)
Adds new Funnel segment to the Series. |
int |
clicked(int x,
int y)
The ValueIndex of the "clicked" point in the Series. |
void |
doBeforeDrawChart()
|
protected void |
draw()
|
protected void |
drawMark(int valueIndex,
java.lang.String st,
SeriesMarksPosition aPosition)
|
void |
drawValue(int valueIndex)
Called internally. |
Color |
getAboveColor()
Funnel segment color if Opportunity value is greater than Quote value. |
boolean |
getAutoUpdate()
Reconstructs FunnelSeries with every added point. |
Color |
getBelowColor()
Funnel segment color if Opportunity value is more than the DifferenceLimit % below the Quote value. |
ChartBrush |
getBrush()
Defines Brush to fill Funnel Series. |
int |
getCountLegendItems()
|
java.lang.String |
getDescription()
Gets descriptive text. |
double |
getDifferenceLimit()
The difference (expressed in Quote %) used to define the Funnel segment color. |
java.lang.String |
getLegendString(int legendIndex,
LegendTextStyle legendTextStyle)
Returns LegendString for LegendIndex'th item. |
ChartPen |
getLinesPen()
Defines Pen to draw FunnelSeries bounding polygon. |
java.lang.String |
getMarkText(int valueIndex)
Returns the String corresponding to the Series Mark text for a given ValueIndex point. |
double |
getMaxXValue()
Returns the Maximum Value of the Series X Values List. |
double |
getMinXValue()
Returns the Minimum Value of the Series X Values List. |
double |
getMinYValue()
Returns the Minimum Value of the Series Y Values List. |
ValueList |
getOpportunityValues()
|
ChartPen |
getPen()
Define Pen to draw the Funnel Chart. |
boolean |
getQuotesSorted()
Sorts added segments by QuoteValues in descending order. |
ValueList |
getQuoteValues()
Accesses the quote values of the FunnelSeries. |
Color |
getWithinColor()
Funnel segment color if Opportunity value is within DifferenceLimit % below the Quote value. |
Color |
legendItemColor(int legendIndex)
|
protected java.lang.Object |
readResolve()
|
void |
reCalc()
Uses all Quote and Opportunity values to restatic finalruct the Funnel chart. |
void |
setAboveColor(Color value)
Funnel segment color if Opportunity value is greater than Quote value. |
void |
setAutoUpdate(boolean value)
Reconstructs FunnelSeries with every added point. |
void |
setBelowColor(Color value)
Funnel segment color if Opportunity value is more than the DifferenceLimit % below the Quote value. |
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setDifferenceLimit(double value)
Sets the difference (expressed in Quote %) used to define the Funnel segment color. |
void |
setOpportunityValues(ValueList value)
|
void |
setQuotesSorted(boolean value)
Sorts added segments by QuoteValues in descending order. |
void |
setWithinColor(Color value)
Funnel segment color if Opportunity value is within DifferenceLimit % below the Quote value. |
| 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 |
| Constructor Detail |
|---|
public Funnel(IBaseChart c)
public Funnel()
| Method Detail |
|---|
public int clicked(int x,
int y)
clicked in interface ISeriesclicked in class Seriesx - inty - int
protected java.lang.Object readResolve()
readResolve in class Seriespublic Color getAboveColor()
public void setAboveColor(Color value)
value - Colorpublic Color getWithinColor()
public void setWithinColor(Color value)
value - Colorpublic Color getBelowColor()
public void setBelowColor(Color value)
value - Colorpublic ChartPen getPen()
public ChartPen getLinesPen()
public ChartBrush getBrush()
public void setChart(IBaseChart c)
TeeBase
setChart in interface ISeriessetChart in class Seriesc - IBaseChartpublic java.lang.String getMarkText(int valueIndex)
Series
getMarkText in interface ISeriesgetMarkText in class SeriesvalueIndex - int
public void doBeforeDrawChart()
doBeforeDrawChart in class Seriespublic int getCountLegendItems()
getCountLegendItems in interface ISeriesgetCountLegendItems in class Seriespublic Color legendItemColor(int legendIndex)
legendItemColor in interface ISerieslegendItemColor in class Series
public java.lang.String getLegendString(int legendIndex,
LegendTextStyle legendTextStyle)
getLegendString in interface ISeriesgetLegendString in class SerieslegendIndex - intlegendTextStyle - LegendTextStyle
public int add(double aQuote,
double aOpportunity,
java.lang.String aLabel,
Color aColor,
boolean aFunnel)
protected void addSampleValues(int numValues)
addSampleValues in class Series
protected void drawMark(int valueIndex,
java.lang.String st,
SeriesMarksPosition aPosition)
drawMark in class Seriespublic ValueList getQuoteValues()
public double getDifferenceLimit()
public void setDifferenceLimit(double value)
value - doublepublic double getMinYValue()
getMinYValue in class Seriespublic double getMaxXValue()
getMaxXValue in class Seriespublic double getMinXValue()
getMinXValue in class Seriespublic void drawValue(int valueIndex)
drawValue in interface ISeriesdrawValue in class SeriesvalueIndex - intpublic boolean getQuotesSorted()
public void setQuotesSorted(boolean value)
value - booleanpublic void setOpportunityValues(ValueList value)
public ValueList getOpportunityValues()
public boolean getAutoUpdate()
public void setAutoUpdate(boolean value)
value - booleanpublic void reCalc()
public int addSegment(double aQuote,
double aOpportunity,
java.lang.String aLabel,
Color aColor)
aQuote - doubleaOpportunity - doubleaLabel - StringaColor - Color
protected void draw()
draw in class Seriespublic java.lang.String getDescription()
getDescription in class Series
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||