|
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.bar.BarGraphTypeObject
|
+--com.elegantj.graphx.bar.HorizontalBarGraphTypeObject
|
+--com.elegantj.graphx.bar.HBarGraph
HBarGraph is used to render Horizontal Bar Graph
| Field Summary |
| Fields inherited from class com.elegantj.graphx.bar.HorizontalBarGraphTypeObject |
m_XMaxLabelWidth, m_YLabelVSteps, m_YMaxLabelWidth |
| Fields inherited from class com.elegantj.graphx.GraphTypeObject |
m_GraphicsEx |
| Constructor Summary | |
HBarGraph(BarGraph inGraphMain)
Creates the HBarGraph with specified BarGraph object |
|
| Method Summary | |
void |
draw2DGraph()
Draws the 2D Graph |
void |
draw3DGraph()
Draw 3D Bar Graph |
boolean |
drawMouseOverEffect(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
boolean isMOEDraw,
com.elegantj.editors.AWTBorder inBorder,
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 |
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(BarGraph inBarGraph,
GraphicsEx inGraphicsEx,
int inWidth,
int inHeight,
int inBarWidth)
Return preferred width of Graph for given bar width. |
int |
getSeriesIndex(int click_y)
Return Series Index near to given Vertical distance |
protected void |
initFields()
|
| Methods inherited from class com.elegantj.graphx.bar.HorizontalBarGraphTypeObject |
drawGraphAreaBackground, drawMouseOverText, drawPolygon, drawXAxisGridAndTick, drawXAxisLabels, drawXAxisLine, drawYAxisGridAndTick, drawYAxisLabels, drawYAxisLine, getClickedXAxisLabel, getClickedYAxisLabel |
| Methods inherited from class com.elegantj.graphx.bar.BarGraphTypeObject |
drawExplanNotes, drawGraph, drawTitle, getDrillDownDetail, getDrillDownDetail, getGraphAreaPolygon, 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 HBarGraph(BarGraph inGraphMain)
throws GraphException
| Method Detail |
protected void initFields()
throws GraphException
initFields in class HorizontalBarGraphTypeObjectGraphExceptionpublic void draw2DGraph()
draw2DGraph in class BarGraphTypeObjectpublic void draw3DGraph()
draw3DGraph in class BarGraphTypeObjectpublic java.awt.Rectangle drawStaticMouseOverText(GraphicsEx inGraphicsEx)
drawStaticMouseOverText in class HorizontalBarGraphTypeObjectinGraphicsEx - GraphicsEx Object
public DrillDownDetail getDrillDetail(int click_x,
int click_y)
getDrillDetail in class HorizontalBarGraphTypeObjectclick_x - x coordinate of mouse over pointclick_y - y coordinate of mouse over point
public int getSeriesIndex(int click_y)
getSeriesIndex in class BarGraphTypeObjectclick_y - Vertical Distance
public boolean drawMouseOverEffect(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
boolean isMOEDraw,
com.elegantj.editors.AWTBorder inBorder,
boolean isMOTDraw,
boolean isRestore)
drawMouseOverEffect in class HorizontalBarGraphTypeObjectinGraphicsEx - GraphicsEx ObjectinDDD - DrillDownDetail ObjectisMOEDraw - true - to draw mouse over effectinBorder - AWTBorder ObjectisMOTDraw - 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 static int getPreferredWidth(BarGraph inBarGraph,
GraphicsEx inGraphicsEx,
int inWidth,
int inHeight,
int inBarWidth)
throws GraphException
BarGraphTypeObject
GraphException
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||