|
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.line.LineGraphTypeObject
|
+--com.elegantj.graphx.scatter.XYScatterGraphTypeObject
XYScatterGraphTypeObject class provides the basic functionality to render the Graphs line
| Field Summary | |
protected int |
m_MinusXClipLabels
Specifies the total number of x-axis minimum labels |
protected int |
m_PlusXClipLabels
Specifies the total number of x-axis maximum labels |
protected double |
m_XAbsGradLabel
Specifies the x-axis gradient absolute label size |
protected int |
m_XClipLabels
Specifies the total number of x-axis labels |
protected double |
m_XMaxLabelValue
Specifies the x-axis maximum value |
protected double |
m_XMinLabelValue
Specifies the x-axis minimum value |
protected XYScatterGraph |
m_XYScatterGraph
Specifies XYScatterGraph Object |
| Fields inherited from class com.elegantj.graphx.GraphTypeObject |
m_GraphicsEx |
| Constructor Summary | |
XYScatterGraphTypeObject(XYScatterGraph inGraphMain)
Creates the XYScatterGraphTypeObject with specified XYScatterGraph object |
|
| Method Summary | |
protected void |
drawGraph()
Draws the Graph |
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 |
protected void |
drawXAxisGridAndTick()
Draws The X-Axis Grid and Tick lines |
protected void |
drawXAxisLabels()
Draws The X-Axis Labels |
protected void |
drawXAxisLine()
Draws The X-Axis Line |
DrillDownDetail |
getClickedXAxisLabel(int click_x,
int click_y)
If Given Point on X axis Label then it will Return Drilldowndetail Object Otherwise Return null |
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) |
DrillDownDetail |
getDrillDownDetail(GraphicsEx inGraphicsEx,
int click_x,
int click_y)
If Given Point on Graph then it will Return Drilldowndetail Object and draw mouse over effect and mouse over text Otherwise Return null |
DrillDownDetail |
getDrillDownDetail(int click_x,
int click_y)
If Given Point on Graph then it will Return Drilldowndetail Object Otherwise Return null |
java.awt.Polygon |
getGraphAreaPolygon()
Get Polygon for Graph Area excluding title space, x-Axis space, y-Axis space and Legend space |
int |
getSeriesIndex(int click_x)
Return Series Index near to given horizontal distance |
protected void |
init(GraphPanel inGraphPanel)
Initialization of Graph |
void |
initFields()
Initialization of the fields |
DrillDownDetail |
setMouseOverPoint(GraphicsEx inGraphicsEx,
int click_x,
int click_y)
If Given Point on Graph then it will Return Drilldowndetail Object and draw mouse over effect and mouse over text Otherwise Return null |
| Methods inherited from class com.elegantj.graphx.line.LineGraphTypeObject |
calcLinePoints, computeSplineSlopePoints, DraeDataPointShape, drawExplanNotes, drawGraph, drawGraphAreaBackground, DrawLineGraph, DrawLineGraphShadow, drawMouseOverText, DrawPointGraph, DrawStripGraph, DrawStyledGraphLine, drawTitle, drawYAxisGridAndTick, drawYAxisLabels, drawYAxisLine, getClickedYAxisLabel, getPolygon, getPolygon, getPreferredSize, getTickAt, getTickHeight, initTitle, reDrawing, ZoomIn_DataPointShape |
| 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 |
| Field Detail |
protected int m_XClipLabels
protected int m_PlusXClipLabels
protected int m_MinusXClipLabels
protected double m_XAbsGradLabel
protected double m_XMaxLabelValue
protected double m_XMinLabelValue
protected XYScatterGraph m_XYScatterGraph
| Constructor Detail |
public XYScatterGraphTypeObject(XYScatterGraph inGraphMain)
throws GraphException
| Method Detail |
protected void init(GraphPanel inGraphPanel)
throws GraphException
init in class LineGraphTypeObjectGraphException
public void initFields()
throws GraphException
initFields in class LineGraphTypeObjectGraphExceptionprotected void drawXAxisLine()
drawXAxisLine in class LineGraphTypeObjectprotected void drawXAxisLabels()
drawXAxisLabels in class LineGraphTypeObjectprotected void drawXAxisGridAndTick()
drawXAxisGridAndTick in class LineGraphTypeObjectprotected void drawGraph()
drawGraph in class LineGraphTypeObjectpublic java.awt.Rectangle drawStaticMouseOverText(GraphicsEx inGraphicsEx)
drawStaticMouseOverText in class LineGraphTypeObjectinGraphicsEx - GraphicsEx Objectpublic int getSeriesIndex(int click_x)
getSeriesIndex in class LineGraphTypeObjectclick_x - Horizontal Distance
public DrillDownDetail setMouseOverPoint(GraphicsEx inGraphicsEx,
int click_x,
int click_y)
setMouseOverPoint in class LineGraphTypeObjectinGraphicsEx - GraphicsEx Objectclick_x - x point on graphclick_y - y point on graph
public DrillDownDetail getDrillDetail(int click_x,
int click_y)
getDrillDetail in class LineGraphTypeObjectclick_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 LineGraphTypeObjectinGraphicsEx - 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 DrillDownDetail getDrillDownDetail(int click_x,
int click_y)
getDrillDownDetail in class LineGraphTypeObject
public DrillDownDetail getDrillDownDetail(GraphicsEx inGraphicsEx,
int click_x,
int click_y)
getDrillDownDetail in class LineGraphTypeObjectinGraphicsEx - GraphicsEx Objectclick_x - x point on graphclick_y - y point on graph
public DrillDownDetail getClickedXAxisLabel(int click_x,
int click_y)
getClickedXAxisLabel in class LineGraphTypeObjectpublic java.awt.Polygon getGraphAreaPolygon()
getGraphAreaPolygon in class LineGraphTypeObject
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||