|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.elegantj.graphx.GraphTypeObject
|
+--com.elegantj.graphx.surface.AreaGraphTypeObject
|
+--com.elegantj.graphx.surface.AreaDepthGraph
AreaDepthGraph is used to render Area Graph
| Field Summary |
| Fields inherited from class com.elegantj.graphx.GraphTypeObject |
m_GraphicsEx |
| Constructor Summary | |
AreaDepthGraph(AreaGraph inGraphMain)
Creates the StackedAreaGraph with specified AreaGraph object |
|
| Method Summary | |
void |
draw3DGraph()
draw Area graph |
void |
draw3DViewOfSurface(java.util.Vector hc,
java.util.Vector vc,
java.util.Vector clipIndex,
java.awt.Color theColor,
java.awt.Color theGradientColor,
java.awt.Color bordercolor,
int theDepthX,
int theDepthY)
draw the Shadow of surface and store area and shadow polygon |
boolean |
drawMouseOverEffect(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
boolean isMOEDraw,
boolean isMOTDraw,
boolean isRestore)
This method returns true If any shape is drawn on given graphics Object otherwize false |
java.awt.Rectangle |
drawStaticMouseOverText(GraphicsEx inGraphicsEx)
This method draws Static mouse over Text |
void |
fillColorGradientAndDrawBorder(java.awt.Polygon pol,
java.awt.Color theColor,
java.awt.Color theGradientColor,
java.awt.Color bordercolor)
This function fill polygon by color or gradient and draw border |
int |
getClipXPoint(int theV,
int preV,
int theJ,
int tempShadowX)
get clip x point |
DrillDownDetail |
getDrillDetail(int click_x,
int click_y)
If Given Point on Graph then it will Return Drilldowndetail Object Otherwise Return null (Common function for 2D and 3D Graph) |
static int |
getPreferredWidth(AreaGraph inAreaGraph,
GraphicsEx inGraphicsEx,
int inWidth,
int inHeight,
int inAreaWidth,
int prefWidth,
int prefHeight)
Return preferred Dimenssion of Graph for given width and height of graph area. |
int |
getSeriesIndex(int click_x)
Return Series Index near to given horizontal distance |
protected void |
initFields()
Initialization of the fields |
| Methods inherited from class com.elegantj.graphx.surface.AreaGraphTypeObject |
drawDataPointCircle, drawExplanNotes, drawGraph, drawGraphAreaBackground, drawMouseOverText, drawPolygon, drawTitle, drawXAxisGridAndTick, drawXAxisLabels, drawXAxisLine, drawYAxisGridAndTick, drawYAxisLabels, drawYAxisLine, getClickedXAxisLabel, getClickedYAxisLabel, getDrillDownDetail, getDrillDownDetail, getGraphAreaPolygon, getNegValRepString, getPolygon, getTickHeight, init, initTitle, reDrawing, setMouseOverPoint |
| Methods inherited from class com.elegantj.graphx.GraphTypeObject |
initDrawing |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AreaDepthGraph(AreaGraph inGraphMain)
throws GraphException
| Method Detail |
protected void initFields()
throws GraphException
initFields in class AreaGraphTypeObjectGraphExceptionpublic void draw3DGraph()
draw3DGraph in class AreaGraphTypeObject
public int getClipXPoint(int theV,
int preV,
int theJ,
int tempShadowX)
preV - previous vertical pointtempShadowX - shadow space
return x
public void draw3DViewOfSurface(java.util.Vector hc,
java.util.Vector vc,
java.util.Vector clipIndex,
java.awt.Color theColor,
java.awt.Color theGradientColor,
java.awt.Color bordercolor,
int theDepthX,
int theDepthY)
hc - vector conatin x cordinates of surfacevc - vector conatin y cordinates of surfacetheColor - fill color
public void fillColorGradientAndDrawBorder(java.awt.Polygon pol,
java.awt.Color theColor,
java.awt.Color theGradientColor,
java.awt.Color bordercolor)
pol - area polygontheGradientColor - area gradient colorpublic int getSeriesIndex(int click_x)
click_x - Horizontal Distance
public DrillDownDetail getDrillDetail(int click_x,
int click_y)
getDrillDetail in class AreaGraphTypeObjectclick_x - x point on graphclick_y - y point on graph
public boolean drawMouseOverEffect(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
boolean isMOEDraw,
boolean isMOTDraw,
boolean isRestore)
drawMouseOverEffect in class AreaGraphTypeObjectinGraphicsEx - GraphicsEx ObjectinDDD - DrillDownDetail ObjectisMOEDraw - true - to draw mouse over effectisMOTDraw - true - to draw mouse over TextisRestore - true - to draw mouse over effect or mouse over text, false - to remove mouse over effect or mouse over text
public java.awt.Rectangle drawStaticMouseOverText(GraphicsEx inGraphicsEx)
drawStaticMouseOverText in class AreaGraphTypeObjectinGraphicsEx - GraphicsEx Object
public static int getPreferredWidth(AreaGraph inAreaGraph,
GraphicsEx inGraphicsEx,
int inWidth,
int inHeight,
int inAreaWidth,
int prefWidth,
int prefHeight)
throws GraphException
GraphException
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||