|
||||||||||
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-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 |
---|
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 | |
---|---|
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, 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 ISeries
clicked
in class Series
x
- inty
- int
protected java.lang.Object readResolve()
readResolve
in class Series
public 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()
getBrush
in class Series
public void setChart(IBaseChart c)
TeeBase
setChart
in interface ISeries
setChart
in class Series
c
- IBaseChartpublic java.lang.String getMarkText(int valueIndex)
Series
getMarkText
in interface ISeries
getMarkText
in class Series
valueIndex
- int
public void doBeforeDrawChart()
doBeforeDrawChart
in class Series
public int getCountLegendItems()
getCountLegendItems
in interface ISeries
getCountLegendItems
in class Series
public Color legendItemColor(int legendIndex)
legendItemColor
in interface ISeries
legendItemColor
in class Series
public java.lang.String getLegendString(int legendIndex, LegendTextStyle legendTextStyle)
getLegendString
in interface ISeries
getLegendString
in class Series
legendIndex
- 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 Series
public ValueList getQuoteValues()
public double getDifferenceLimit()
public void setDifferenceLimit(double value)
value
- doublepublic double getMinYValue()
getMinYValue
in class Series
public double getMaxXValue()
getMaxXValue
in class Series
public double getMinXValue()
getMinXValue
in class Series
public void drawValue(int valueIndex)
drawValue
in interface ISeries
drawValue
in class Series
valueIndex
- 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 Series
public java.lang.String getDescription()
getDescription
in class Series
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |