ElegantJCharts Java API Specification v2.0

com.elegantj.graphx
Class GraphTypeObject

java.lang.Object
  |
  +--com.elegantj.graphx.GraphTypeObject
Direct Known Subclasses:
AreaGraphTypeObject, BarGraphTypeObject, CandleGraphTypeObject, CombinedGraphTypeObject, DoughnutGraphTypeObject, LineGraphTypeObject, MPieGraph, PieGraphTypeObject, RadarGraphTypeObject

public abstract class GraphTypeObject
extends java.lang.Object

GraphTypeObject abstract class provides the basic structure to render the Graphs such as vertical bar, horizontal bar, line, strip, point


Field Summary
protected  GraphicsEx m_GraphicsEx
          Specifies the graphics
 
Constructor Summary
GraphTypeObject(GraphPanel inGraphPanel)
          Constructor
 
Method Summary
protected  void drawExplanNotes()
          Draws the explanation notes
protected  void drawGraph()
          Draws Graph this method should be overriden by the subclass
protected  void drawGraphAreaBackground(GraphicsEx inGraphicsEx)
          Draws Backgound of Actual graph Area
protected  void drawTitle()
          Draws the title
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
protected  void drawYAxisGridAndTick()
          Draws The Y-Axis Grid and Tick lines
protected  void drawYAxisLabels()
          Draws The Y-Axis Labels
protected  void drawYAxisLine()
          Draws The Y-Axis Line
protected  void init(GraphPanel inGraphPanel)
          Initialization of Graph
 void initDrawing(GraphPanel inGraphPanel)
          Draw Graph
 void reDrawing(GraphicsEx inGraphicsEx)
          Redraw Graph According to Graphics's clipping rectangle th
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_GraphicsEx

protected transient GraphicsEx m_GraphicsEx
Specifies the graphics

Constructor Detail

GraphTypeObject

public GraphTypeObject(GraphPanel inGraphPanel)
                throws GraphException
Constructor

Parameters:
inGraphPanel - Parent GraphPanel
Throws:
GraphException
Method Detail

initDrawing

public void initDrawing(GraphPanel inGraphPanel)
                 throws GraphException
Draw Graph

Parameters:
inGraphPanel - Parent GraphPanel
Throws:
GraphException

reDrawing

public void reDrawing(GraphicsEx inGraphicsEx)
               throws GraphException
Redraw Graph According to Graphics's clipping rectangle th

Throws:
GraphException

init

protected void init(GraphPanel inGraphPanel)
             throws GraphException
Initialization of Graph

GraphException

drawGraphAreaBackground

protected void drawGraphAreaBackground(GraphicsEx inGraphicsEx)
Draws Backgound of Actual graph Area


drawXAxisLine

protected void drawXAxisLine()
Draws The X-Axis Line


drawXAxisLabels

protected void drawXAxisLabels()
Draws The X-Axis Labels


drawXAxisGridAndTick

protected void drawXAxisGridAndTick()
Draws The X-Axis Grid and Tick lines


drawYAxisLine

protected void drawYAxisLine()
Draws The Y-Axis Line


drawYAxisLabels

protected void drawYAxisLabels()
Draws The Y-Axis Labels


drawYAxisGridAndTick

protected void drawYAxisGridAndTick()
Draws The Y-Axis Grid and Tick lines


drawGraph

protected void drawGraph()
Draws Graph this method should be overriden by the subclass


drawExplanNotes

protected void drawExplanNotes()
Draws the explanation notes


drawTitle

protected void drawTitle()
Draws the title


ElegantJCharts Java API Specification v2.0

For any feedback, suggestion, or query, please revert back to support@elegantcharts.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.