ElegantJCharts Java API Specification v2.0

com.elegantj.graphx
Class GraphPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--com.elegantj.graphx.GraphPanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.io.Externalizable, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Direct Known Subclasses:
AreaGraph, BarGraph, CandleGraph, CombinedGraph, DoughnutGraph, LineGraph, PieGraph, RadarGraph

public class GraphPanel
extends javax.swing.JPanel
implements java.io.Externalizable

GraphPanel class extends Panel and provides some features like Background, Foreground, gradient, border, etc.

See Also:
Serialized Form

Field Summary
 com.elegantj.editors.C11 c11
           
protected  int click_x
          Specifies the Clicked x point
protected  int click_y
          Specifies the Clicked y point
protected static int COMPUTATION_TYPE
          Specifies the constant for refreshing graph
protected static int DRILL_DOWN_REFRESH
          Specifies the constant for refreshing graph
protected static int EXPLAIN_NOTES_STR_LEN
          Specifies the constant for refreshing graph
protected static int EXPLAN_NOTES_STR_LEN_DEFAULT
          Default length of explain notes
protected static int GRAPH_DATA_SORT
          Specifies the constant for refreshing graph
protected static int GRAPH_PROPERTY_CHANGE
          Specifies the constant for refreshing graph
protected static int GRAPH_TYPE
          Specifies the constant for refreshing graph
protected static int INITIALIZE
          Specifies the constant for refreshing graph
protected static int ITEM_AXIS_LABEL
          Specifies the constant for refreshing graph
protected  boolean m_3DEffectEnable
          Specifies Graph Drawing Effect (2D/3D)
protected  int m_3DHorizontalOffset
          Specifies 3D Horizontal Offset
protected  int m_3DVerticalOffset
          Specifies 3D Vertical Offset
protected  boolean m_bFitToSize
          Specifies that the Graph is Fit to visible area
protected  boolean m_bIsGraphDataPreserved
          Specifies wheather graph data stored or not
protected  int m_ComputationType
          Specifies the computation type
protected  DataProvider m_DataProvider
          Specifies the data provider
protected  java.lang.String m_DefaultTooltipText
          Specifies Default Tooltip Text
protected  boolean m_drillDownEnable
          Specifies Drill Down is Enable or not
protected  DrillDownListener m_DrillDownListener
          Specifies the Click listener
protected  java.lang.String m_Driver
          Specifies the driver, url, username, pass, query
 int m_ExplainNotesStrLen
          contains length of explain notes string
protected  java.awt.Color m_GraphAreaBackground
          Specifies Graph Area Background
protected  boolean m_GraphAreaBackgroundVisible
          Specifies Graph Area Background Visible
protected  int m_GraphAreaGradientAngle
          Specifies Graph Area Gradient Painter Angle
protected  java.awt.Color m_GraphAreaGradientColor
          Specifies Graph Area Gradient Painter object That will paint gradient
protected  int m_GraphAreaGradientExtent
          Specifies Graph Area Gradient Painter Extent
protected  int m_GraphAreaGradientMode
          Specifies Graph Area Gradient Painter mode
protected  boolean m_GraphAreaGradientVisible
          Specifies Graph Area Gradient Visible
protected  java.util.Vector m_GraphData
          Specifies the graph data
 java.awt.Graphics m_Graphics
          Specifies the graphics
 GraphicsEx m_GraphicsEx
          Specifies the graphics
protected  java.util.Vector m_GraphNotes
          Specifies the Vector for Graph Notes
protected  java.awt.Color m_GraphNotesBackground
          Specifies the GraphNotes Background Color
protected  java.awt.Color m_GraphNotesBorderColor
          Specifies the GraphNotes Border Color
protected  int m_GraphNotesBorderStyle
          Specifies the GraphNotes Border is Style
protected  int m_GraphNotesBorderWidth
          Specifies the GraphNotes Border Width
protected  boolean m_GraphNotesEnable
          Specifies GraphNotes Visible
protected  java.awt.Font m_GraphNotesFont
          Specifies the GraphNotes Font
protected  java.awt.Color m_GraphNotesForeground
          Specifies the GraphNotes Foreground Color
protected  java.awt.Color m_GraphNotesShadowColor
          Specifies the GraphNotes Shadow Color
protected  int m_GraphNotesShadowStyle
          Specifies the GraphNotes Shadow is Style
protected  int m_GraphNotesShadowWidth
          Specifies the GraphNotes Shadow Width
protected  long m_GraphNotesShowInterval
          Specifies the GraphNotes show after this interval
protected  long m_GraphNotesVisibleInterval
          Specifies the GraphNotes is visible for this interval
protected  java.lang.Object m_GraphObj
          Specifies the Graph Object which is drawn
protected  java.awt.Dimension m_GraphSize
          Specifies the graph Size
 GraphTitleDetail m_GraphTitleDetail
          Specifies Detail Description of Title
protected  ToolTip m_GraphTooltip
          Specifies the Tooltip of Graph
 GraphXAxisDetail m_GraphXAxisDetail
          Specifies the X-Axis Detail for Graph
 GraphYAxisDetail m_GraphYAxisDetail
          Specifies the Y-Axis Detail for Graph
 GraphZAxisDetail m_GraphZAxisDetail
          Specifies the Z-Axis (Legends) Detail for Graph
protected  int m_iBottomOffset
          Specifies the Bottom Offset of Graph Area(Actual Graph)
protected  int m_iLeftOffset
          Specifies the Left Offset of Graph Area(Actual Graph)
protected  int m_iRightOffset
          Specifies the Right Offset of Graph Area(Actual Graph)
protected  boolean m_IsHandCursor
          Specifies Hand Cursor is Set or not
protected  boolean m_IsMouseOver
          Specifies the Mouse Over effect is to be drawn then true
protected  java.lang.String m_ItemAxisLabel
          Specifies the z axis label
protected  int m_iTopOffset
          Specifies the Top Offset of Graph Area(Actual Graph)
 int m_kGraph
          Contains value of current graph type
protected  boolean m_MouseOverEffectEnable
          Specifies the Mouse Over effect is Enable/disable
protected  boolean m_MouseOverStaticTextEnable
          Specifies Mouse Over Text is Display static or on mouse over Enable/disable
protected  java.lang.String m_MouseOverText
          Specifies Mouse Over Text
protected  int m_MouseOverTextAlign
          Specifies Mouse Over Text Alignment (TOP/CENTER/BOTTOM)
protected  java.awt.Color m_MouseOverTextBackground
          Specifies Mouse Over Text Background Color
protected  boolean m_MouseOverTextBackgroundVisible
          Specifies Mouse Over Text Background is visible/hide
protected  java.awt.Color m_MouseOverTextBorderColor
          Specifies Mouse Over Text Border Color
protected  int m_MouseOverTextBorderStyle
          Specifies Mouse Over Text Border is Style
protected  int m_MouseOverTextBorderWidth
          Specifies Mouse Over Text Border Width
protected  boolean m_MouseOverTextEnable
          Specifies Mouse Over Text is Enable/disable
protected  java.awt.Font m_MouseOverTextFont
          Specifies Mouse Over Text Font
protected  java.awt.Color m_MouseOverTextForeground
          Specifies Mouse Over Text Foreground Color
protected  int m_MouseOverTextMaxLen
          Specifies Mouse Over Text Maximum Number of character
protected  java.awt.Color m_MouseOverTextShadowColor
          Specifies Mouse Over Text Shadow Color
protected  int m_MouseOverTextShadowStyle
          Specifies Mouse Over Text Shadow is Style
protected  int m_MouseOverTextShadowWidth
          Specifies Mouse Over Text Shadow Width
protected  java.lang.String m_NumericalAxisLabel
          Specifies the y axis label
protected  int m_oldPointItemIndex
          Specifies the Previous Mouse Over effect is drawn for this Item (Z-axis)Index
protected  int m_oldPointSeriesIndex
          Specifies the previous Mouse Over effect is drawn for this Series (X-axis)Index
 javax.swing.JScrollPane m_Parent
          Specifies the parent scrollpane
protected  java.lang.String m_Password
           
protected  GraphPopupMenu m_PopupMenu
          Specifies the Graph popup menu
protected  java.lang.String m_Query
           
protected  boolean m_reDraw
          For Redrawing Graph.
protected  java.sql.ResultSet m_ResultSet
          Specifies the data resultset
protected  java.lang.String m_SerialAxisLabel
          Specifies the x axis label
protected  boolean m_SortEnable
          Specifies Drill Down is Enable or not
protected  java.util.Vector m_sum
           
protected  java.awt.Color m_TooltipBackground
          Specifies the Tooltip Background Color
protected  java.awt.Color m_TooltipBorderColor
          Specifies the Tooltip Border Color
protected  int m_TooltipBorderStyle
          Specifies the Tooltip Border is Style
protected  int m_TooltipBorderWidth
          Specifies the Tooltip Border Width
protected  boolean m_TooltipEnable
          Specifies Tooltip Visible
protected  java.awt.Font m_TooltipFont
          Specifies the Tooltip Text Font
protected  java.awt.Color m_TooltipForeground
          Specifies the Tooltip Foreground Color
protected  long m_TooltipShowInterval
          Specifies the Tooltip show after this interval
protected  java.lang.String m_TooltipText
          Specifies the Current tooltip text
protected  long m_TooltipVisibleInterval
          Specifies the Tooltip is visible for this interval
protected  java.lang.String m_URL
           
protected  java.lang.String m_userName
           
protected  int m_YAxisDivisionValue
          Contains division value of y axis
protected  double m_YAxisMaxLabelValue
          Contains maximum label value of y axis
protected  double m_YAxisMinLabelValue
          Contains minimum label value of y axis
protected  java.lang.String m_YAxisUnitLabel
          contains unit label of y axis
protected  boolean m_ZoomEnable
          Specifies Zoom In/Out rectangle Visible/Hide
protected  ZoomListener m_ZoomListener
          Specifies the ZoomListener
protected  boolean m_ZoomSelectionEnabled
          Specifies zooming thru mouse selection is enabled or not
protected static int MOUSE_OVER_CHANGE
          Specifies the constant for refreshing graph
protected static int NUMERICAL_AXIS_LABEL
          Specifies the constant for refreshing graph
static java.util.ResourceBundle RESOURCE_BUNDLE
           
protected static int SERIAL_AXIS_LABEL
          Specifies the constant for refreshing graph
protected static int TOOL_TIP_CHANGE
          Specifies the constant for refreshing graph
protected static int Y_AXIS_COMMA_FORMAT
          Specifies the constant for refreshing graph
protected static int Y_AXIS_DIVISION_VALUE
          Specifies the constant for refreshing graph
protected static int Y_AXIS_MAX_LABEL_VALUE
          Specifies the constant for refreshing graph
protected static int Y_AXIS_MIN_LABEL_VALUE
          Specifies the constant for refreshing graph
protected static int Y_AXIS_UNIT_LABEL
          Specifies the constant for refreshing graph
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
GraphPanel()
          Constructor
 
Method Summary
 void addDrillDownListener(DrillDownListener listener)
          Add Drill Down Listener
 void addGraphNote(DrillDownDetail inDDDetail, java.lang.String inNote)
          add Graph note for given DrillDownDetail object
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          Adds the property change listener
protected  void addValues(java.util.Vector dataValues, java.util.Vector dataMatrix)
          Adds the data values to the graph's data matrix
 void addZoomListener(ZoomListener zl)
          Add Zoom Listener
 boolean checkZoomFactor(ZoomFactor in_ZoomFactor)
          Check given zoomFactor against maximum zoomFactor
 void clearZoomStepStack()
          Clear zoomStep stack
static double divide(double inValue1, double inValue2)
          Divides the value1 by value2 and returns the rounded result
 void doZoom()
           
 void drawBackgroundImage(java.awt.Graphics g)
          This method draw image in background
 void drawGradient(java.awt.Graphics g, java.awt.Rectangle rect)
          Draw Background of Graph(Gradient/simplecolor)
 void drawGraphBorder(java.awt.Graphics g, int x, int y, int width, int height)
          Draw Graph styled Border
protected  void firePropertyChange(java.lang.String property, java.lang.Object oldObject, java.lang.Object newObject)
          fires property is changed
 void fireZoomEvent(ZoomFactor in_zf, boolean in_bIsZoomIn)
          Notify ZoomIn/ZoomOut occured to its Listener
protected static java.lang.String generateColorString(java.awt.Color inColor)
          Generate html color string from given Java Color object
protected  org.xml.sax.helpers.AttributesImpl getAxisGridAttributes(AxisDetail axisDetail)
           
protected  org.xml.sax.helpers.AttributesImpl getAxisLabelAttributes(AxisDetail axisDetail)
           
protected  org.xml.sax.helpers.AttributesImpl getAxisLineAttributes(AxisDetail axisDetail)
           
protected  org.xml.sax.helpers.AttributesImpl getAxisNameAttributes(AxisDetail axisDetail)
           
protected  org.xml.sax.helpers.AttributesImpl getBackgroundAttributes()
           
 java.awt.Image getBackgroundImage()
          This method returns the background image
 int getBgImageDisplay()
          This method returns the background image Display type
 boolean getBgImageEmbedded()
          returns whether Background Image is to be embedded with graph while serialization or not
 int getBgImageFlipType()
          This method returns the background image Flip type: None,Horizontal,Vertical,Both [Horizontal andVertical]
 java.lang.String getBgImageFromPath()
          Return Background Image From Path
 java.lang.String getBgImageSourcePath()
          Return Background Image Source Path
 boolean getBgImageVisible()
          returns whether Background Image is visible or hide
protected  org.xml.sax.helpers.AttributesImpl getColomnLabelsAttributes()
           
protected  org.xml.sax.helpers.AttributesImpl getCommonAttributes()
           
 int getComputationType()
          Gets the Computation Type
 ZoomFactor getCurZoomFactor()
          Get current zoomFactor
 java.lang.String getDefaultTooltipText()
          get Graph Default Tooltip text
 DrillDownDetail getDrillDownDetail(GraphicsEx gEx, int clickX, int clickY)
           
 boolean getDrillDownEnable()
          Return boolean Drill Down is enable or not
 int getExplainNotesStrLen()
          To get maximum available length of explain notes.
protected static java.lang.String getExtension(java.io.File f)
          Return the extension portion of the file's name .
 java.awt.Insets getFixedArea()
          This method returns the fixed region that do not affect while zoom operation
 java.awt.Image getFlipedImage(java.awt.Image image)
          This method returns the Fliped image of the inputted image
 int getGradientAngle()
          get Gradient Painter angle
 java.awt.Color getGradientColor()
          get Gradient Painter Color
 int getGradientExtent()
          get Default Extent For drawing Gradient
 int getGradientMode()
          get Gradient Painter mode
 boolean getGradientVisible()
          get Gradient Visible
 boolean getGraph3DEffect()
          get Graph 3D Effect is Enable/Disable
 int getGraph3DHorizontalOffset()
          get Horizontal Offset of 3D Effect
 int getGraph3DVerticalOffset()
          get Vertical Offset of 3D Effect
protected  org.xml.sax.helpers.AttributesImpl getGraphAreaAttributes()
           
 java.awt.Color getGraphAreaBackground()
          Get Graph Area Background Color
 boolean getGraphAreaBackgroundVisible()
          get Graph area Background Visible
 boolean getGraphAreaDrillDownEnable()
          Return boolean Graph Area Drill Down is enable or not
 int getGraphAreaGradientAngle()
          get Graph area Gradient Painter angle
 java.awt.Color getGraphAreaGradientColor()
          get Graph Area Gradient Color
 int getGraphAreaGradientExtent()
          get Graph Area Gradient Painter Extent
 int getGraphAreaGradientMode()
          get Graph Area Gradient Painter mode
 boolean getGraphAreaGradientVisible()
          get Graph area Gradient Visible
 java.awt.Polygon getGraphAreaPolygon()
          Subclass have to override this method for ZoomIn/ZoomOut
 java.awt.Color getGraphBorderColor()
          get Graph Border Color
 int getGraphBorderStyle()
          get Graph Border style
 int getGraphBorderWidth()
          get Graph Border width
 GraphColor getGraphColors()
           
 java.util.Vector getGraphData()
          Gets the graph data
 DataProvider getGraphDataProvider()
          get the DataProvider
 java.sql.ResultSet getGraphDataResultSet()
           
 java.awt.Graphics getGraphics()
           
 java.lang.String getGraphNote(DrillDownDetail inDDDetail)
          Get Graph note for given DrillDownDetail object
 int getGraphNoteIndex(DrillDownDetail inDDDetail)
          This function returns Graph notes defined for given drill down detail
 java.util.Vector getGraphNotes()
          get Graph note vector
 java.awt.Color getGraphNotesBackground()
          Get GraphNotes Background color
 java.awt.Color getGraphNotesBorderColor()
          get GraphNotes Border Color
 int getGraphNotesBorderStyle()
          get GraphNotes Border style
 int getGraphNotesBorderWidth()
          get GraphNotes Border width
 java.awt.Font getGraphNotesFont()
          Get GraphNotes Font
 java.awt.Color getGraphNotesForeground()
          Get GraphNotes Foreground color
 java.awt.Color getGraphNotesShadowColor()
          get GraphNotes Shadow Color
 int getGraphNotesShadowStyle()
          get GraphNotes Shadow style
 int getGraphNotesShadowWidth()
          get GraphNotes Shadow width
 long getGraphNotesShowInterval()
          get GraphNotes show interval in millisecond
 boolean getGraphNotesVisible()
          get GraphNotes text Visible/hide
 long getGraphNotesVisibleInterval()
          get GraphNotes visible interval in millisecond
 java.awt.Dimension getGraphSize()
          get Graph preferred size
 java.lang.String getGraphTitle()
          Get Title Of Graph
 int getGraphTitleAlign()
          Get Title Of Graph Align
 java.awt.Color getGraphTitleBackground()
          Get Title Of Graph Background Color
 boolean getGraphTitleBackgroundVisible()
          Get Title Of Graph Background Visible
 java.awt.Color getGraphTitleBorderColor()
          get Graph Border Color
 int getGraphTitleBorderStyle()
          get Title Border style
 int getGraphTitleBorderWidth()
          get Graph Border width
 java.awt.Font getGraphTitleFont()
          Get Title Of Graph Font
 java.awt.Color getGraphTitleForeground()
          Get Title Of Graph Color
 int getGraphTitleMaxLine()
          get Graph Title Maximum number of lines
 java.awt.Color getGraphTitleShadowColor()
          get Graph Shadow Color
 int getGraphTitleShadowStyle()
          get Title Shadow style
 int getGraphTitleShadowWidth()
          get Graph Title Shadow width
 boolean getGraphTitleVisible()
          Get Title Of Graph Visible
 int getGraphType()
          returns graph type
protected  org.xml.sax.helpers.AttributesImpl getGraphTypeAttributes()
           
 java.lang.String getItemAxisLabel()
          Gets the Item Axis Label
 java.lang.String getLicenseKey()
          Returns the license key of the bean
 ZoomFactor getMaxZoomFactor()
          Get Maximum zoomFactor
protected  org.xml.sax.helpers.AttributesImpl getMouseOverAttributes()
           
 boolean getMouseOverEffectEnable()
          get Graph MouseOver Effect Enable/disable
 boolean getMouseOverStaticTextEnable()
          get Graph MouseOver text is Displayed static
 java.lang.String getMouseOverText()
          get Graph MouseOver text
 int getMouseOverTextAlignment()
          get Graph MouseOver text Alignment (TOP/CENTER/BOTTOM)
 java.awt.Color getMouseOverTextBackground()
          get Graph MouseOver text Background color
 boolean getMouseOverTextBackgroundVisible()
          get Graph MouseOver text Background is Visible/hide
 java.awt.Color getMouseOverTextBorderColor()
          get Mouse Over Text Border Color
 int getMouseOverTextBorderStyle()
          get Mouse Over Text Border style
 int getMouseOverTextBorderWidth()
          get Mouse Over Text Border width
 boolean getMouseOverTextEnable()
          get Graph MouseOver text Enable/disable
 java.awt.Font getMouseOverTextFont()
          get Graph MouseOver text Font
 java.awt.Color getMouseOverTextForeground()
          get Graph MouseOver text Foreground color
 int getMouseOverTextMaxLen()
          get Graph MouseOver text Maximum number of character
 java.awt.Color getMouseOverTextShadowColor()
          get Mouse Over Text Shadow Color
 int getMouseOverTextShadowStyle()
          get Mouse Over Text Shadow style
 int getMouseOverTextShadowWidth()
          get Mouse Over Text Shadow width
 java.lang.String getNumericalAxisLabel()
          Gets the Numerical Axis Label
 boolean getOverLapXAxisLabelEnable()
          X-Axis label Overlapping can be enabled or disabled with this method
 boolean getOverLapYAxisLabelEnable()
          Y-Axis label Overlapping can be enabled or disabled with this method
 javax.swing.JScrollPane getScrollPane()
          Return Paren scollpane.
 java.awt.Rectangle getSelectedRect()
          Return Zoom in Rectangle
 java.lang.String getSerialAxisLabel()
          Gets the Serial Axis Label
 boolean getSortDataEnable()
          Return boolean Data is sort or not before generating Graph
 java.lang.String getStringFromMacro(java.lang.String inMacroString, DrillDownDetail inDrillDownDetail)
          This function returns New string after replacing actual values in place of Macro string
 java.util.Vector getTestData()
           
protected  org.xml.sax.helpers.AttributesImpl getTitleAttributes(GraphTitleDetail titleDetail)
           
 GraphTitleDetail getTitleProperties()
          Get GraphTitleDetail Object
protected  org.xml.sax.helpers.AttributesImpl getToolTipAttributes()
           
 java.awt.Color getTooltipBackground()
          Get Tooltip Background color
 java.awt.Color getTooltipBorderColor()
          get tooltip Border Color
 int getTooltipBorderStyle()
          get tooltip Border style
 int getTooltipBorderWidth()
          get tooltip Border width
 java.awt.Font getTooltipFont()
          Get Tooltip Font
 java.awt.Color getTooltipForeground()
          Get Tooltip Foreground color
 long getTooltipShowInterval()
          get Tooltip show interval in millisecond
 java.lang.String getTooltipText()
           
 boolean getTooltipVisible()
          get Graph Tooltip text Visible/hide
 long getTooltipVisibleInterval()
          get Tooltip visible interval in millisecond
protected  java.awt.Rectangle getVisibleGraphRect()
          Returns the Visible rectangle of the component Subclass may override this method
 java.awt.Color getXAxisGridLineColor()
          This method allows you to select the X-Axis Grid Line Color
 int getXAxisGridLineStyle()
          This method allows you to select X-Axis Grid Line Style
 boolean getXAxisGridLineVisible()
          This method lets you choose if you want to have X-Axis Grid Line visible on Major Line
 int getXAxisGridLineWidth()
          You can adjust X-Axis Grid Line Width using this method
 java.awt.Color getXAxisGridStripColor()
          Color of the X-Axis Grid Strip can be selected using this method
 boolean getXAxisGridStripVisible()
          get X-Axis Grid Strip visible on Major Line
 int getXAxisLabelAlign()
          X-Axis Label alignment can be chosen using this method.
 int getXAxisLabelAlignAngle()
          X-Axis Label Alignment Angle can be set using this method
 java.awt.Color getXAxisLabelBackground()
          Background Color of the X-axis label can be selected using this method
 boolean getXAxisLabelBackgroundVisible()
          You can choose if you want to have X-Axis label Background visible by this method
 boolean getXAxisLabelDrillDownEnable()
          X-Axis label DrillDown can be enabled or disabled using this method
 java.awt.Font getXAxisLabelFont()
          Font of the X-Axis Label can be selected using this method
 java.awt.Color getXAxisLabelForeground()
          You can select the font color of the X-axis using this method
 java.lang.String getXAxisLabelFormat()
          X-Axis Label Formatting can be done using this method
 int getXAxisLabelGap()
          The label gap can be adjusted using the get X-Axis Label gap method
 java.lang.String getXAxisLabelTooltipText()
          Using this method you can choose to have tool tip text for an X-axis label
 boolean getXAxisLabelVisible()
          To display the X-Axis Label you can use this method
 java.awt.Color getXAxisLineColor()
          X-Axis Major Line Color can be selected using this method
 int getXAxisLineWidth()
          X-Axis Major Line Width can be selected using this method
 double getXAxisMaxLabelValue()
          get Axis max Label value
 double getXAxisMinLabelValue()
          get Axis min Label value
 java.lang.String getXAxisName()
          To assign a name to the X-Axis you can use this method
 int getXAxisNameAlign()
          X-Axis Name Alignment can be set using this method
 java.awt.Color getXAxisNameBackground()
          Background Color of the X-Axis Name can be selected using this method
 boolean getXAxisNameBackgroundVisible()
          To display the background of the X-axis name, you can use this method
 java.awt.Color getXAxisNameBorderColor()
          Use this method to select the X-Axis Name Border Color
 int getXAxisNameBorderStyle()
          X-Axis Name Border style can be selected with this method
 int getXAxisNameBorderWidth()
          The width of the border of the X-Axis Name can be adjusted with this method
 java.awt.Font getXAxisNameFont()
          Select the font for the X-Axis Name using this method
 java.awt.Color getXAxisNameForeground()
          X-Axis Font Color can be selected using this method
 int getXAxisNameMaxLine()
          Maximum number of lines in which the X-Axis Name must be displayed can be set with this method
 java.awt.Color getXAxisNameShadowColor()
          X-Axis Name Shadow Color can be selected with this method
 int getXAxisNameShadowStyle()
          Shadow style of the X-Axis Name can be selected with this method
 int getXAxisNameShadowWidth()
          Shadow width of the X-Axis Name can be adjusted with this method
 boolean getXAxisNameVisible()
          You can display the X-Axis Name using this method
 GraphXAxisDetail getXAxisProperties()
          Get GraphXAxisDetail Object
 java.awt.Color getXAxisTickLineColor()
          Color of the X-Axis Tick Line can be assigned using this method
 int getXAxisTickLineHeight()
          X-Axis Tick Line Height can be adjusted using this method
 int getXAxisTickLinePosition()
          the Position of the X-Axis Tick Line can be set using this method
 boolean getXAxisTickLineVisible()
          Use this method toget X-Axis Tick Line visible on Major Line
 int getXAxisTickLineWidth()
          X-Axis Tick Line Width can be adjusted using this method
 double getXDivisionValue()
          get Axis Division Label value
 int getXLabelType()
           
 java.awt.Color getXZeroGridLineColor()
          Color of the X-Axis Zero Grid can be selected using this method
 int getXZeroGridLineStyle()
          This method allows you to select X-Axis Zero Grid Line Style
 int getXZeroGridLineWidth()
          You can adjust X-Axis Zero Grid Line Width using this method
 int getYAxisDivisionValue()
          To get y division value
 java.awt.Color getYAxisGridLineColor()
          This method allows you to select the Y-Axis Grid Line Color
 int getYAxisGridLineStyle()
          This method allows you to select Y-Axis Grid Line Style
 boolean getYAxisGridLineVisible()
          This method lets you choose if you want to have Y-Axis Grid Line visible on Major Line
 int getYAxisGridLineWidth()
          You can adjust Y-Axis Grid Line Width using this method
 java.awt.Color getYAxisGridStripColor()
          Color of the Y-Axis Grid Strip can be selected using this method
 boolean getYAxisGridStripVisible()
          get Y-Axis Grid Strip visible on Major Line
 int getYAxisLabelAlign()
          Y-Axis Label alignment can be chosen using this method.
 int getYAxisLabelAlignAngle()
          Y-Axis Label Alignment Angle can be set using this method
 java.awt.Color getYAxisLabelBackground()
          Background Color of the Y-axis label can be selected using this method
 boolean getYAxisLabelBackgroundVisible()
          You can choose if you want to have Y-Axis label Background visible by this method
 boolean getYAxisLabelDrillDownEnable()
          Y-Axis label DrillDown can be enabled or disabled using this method
 java.awt.Font getYAxisLabelFont()
          Font of the Y-Axis Label can be selected using this method
 java.awt.Color getYAxisLabelForeground()
          You can select the font color of the Y-axis using this method
 java.lang.String getYAxisLabelFormat()
          Y-Axis Label Formatting can be done using this method
 java.lang.String getYAxisLabelTooltipText()
          Using this method you can choose to have tool tip text for an Y-axis label
 boolean getYAxisLabelVisible()
          To display the Y-Axis Label you can use this method
 java.awt.Color getYAxisLineColor()
          Y-Axis Major Line Color can be selected using this method
 int getYAxisLineWidth()
          Y-Axis Major Line Width can be selected using this method
 double getYAxisMaxLabelValue()
          To get y axis maximum label value
 double getYAxisMinLabelValue()
          To get y axis minimum label value
 java.lang.String getYAxisName()
          To assign a name to the Y-Axis you can use this method
 int getYAxisNameAlign()
          Y-Axis Name Alignment can be set using this method
 java.awt.Color getYAxisNameBackground()
          Background Color of the Y-Axis Name can be selected using this method
 boolean getYAxisNameBackgroundVisible()
          To display the background of the Y-axis name, you can use this method
 java.awt.Color getYAxisNameBorderColor()
          Use this method to select the Y-Axis Name Border Color
 int getYAxisNameBorderStyle()
          Y-Axis Name Border style can be selected with this method
 int getYAxisNameBorderWidth()
          The width of the border of the Y-Axis Name can be adjusted with this method
 java.awt.Font getYAxisNameFont()
          Select the font for the Y-Axis Name using this method
 java.awt.Color getYAxisNameForeground()
          Y-Axis Font Color can be selected using this method
 int getYAxisNameMaxLine()
          Maximum number of lines in which the Y-Axis Name must be displayed can be set with this method
 java.awt.Color getYAxisNameShadowColor()
          Y-Axis Name Shadow Color can be selected with this method
 int getYAxisNameShadowStyle()
          Shadow style of the Y-Axis Name can be selected with this method
 int getYAxisNameShadowWidth()
          Shadow width of the Y-Axis Name can be adjusted with this method
 boolean getYAxisNameVisible()
          You can display the Y-Axis Name using this method
 int getYAxisPosition()
          Get position of Y-Axis
 GraphYAxisDetail getYAxisProperties()
          Get GraphYAxisDetail Object
 java.awt.Color getYAxisTickLineColor()
          Color of the Y-Axis Tick Line can be assigned using this method
 int getYAxisTickLineHeight()
          Y-Axis Tick Line Height can be adjusted using this method
 int getYAxisTickLinePosition()
          the Position of the Y-Axis Tick Line can be set using this method
 boolean getYAxisTickLineVisible()
          Use this method toget Y-Axis Tick Line visible on Major Line
 int getYAxisTickLineWidth()
          Y-Axis Tick Line Width can be adjusted using this method
 java.lang.String getYAxisUnitLabel()
          To get y axis unit value
 double getYDivisionValue()
          Get Division Value For Y-Axis
 java.awt.Color getYZeroGridLineColor()
          Color of the Y-Axis Zero Grid can be selected using this method
 int getYZeroGridLineStyle()
          This method allows you to select Y-Axis Zero Grid Line Style
 int getYZeroGridLineWidth()
          You can adjust Y-Axis Zero Grid Line Width using this method
 int getZAxisAlignment()
          get Axis Position
 java.awt.Color getZAxisBackground()
          Background Color of the Z-Axis can be selected using this method
 boolean getZAxisBackgroundVisible()
          Get Z-Axis Background Visible
 java.awt.Color getZAxisBorderColor()
          get Z Axis Border Color
 int getZAxisBorderStyle()
          Z-Axis Border style can be selected with this method
 int getZAxisBorderWidth()
          get Z Axis Border width
 int getZAxisLabelAlign()
          Z-Axis Label alignment can be chosen using this method.
 java.awt.Color getZAxisLabelBackground()
          Background Color of the Z-axis label can be selected using this method
 boolean getZAxisLabelBackgroundVisible()
          You can choose if you want to have Z-Axis label Background visible by this method
 boolean getZAxisLabelDrillDownEnable()
          Z-Axis label DrillDown can be enabled or disabled using this method
 java.awt.Font getZAxisLabelFont()
          Font of the Z-Axis Label can be selected using this method
 java.awt.Color getZAxisLabelForeground()
          You can select the font color of the Z-axis using this method
 java.lang.String getZAxisLabelFormat()
          Z-Axis Label Formatting can be done using this method
 int getZAxisLabelShowOrder()
          get Z AxisLabel Show Order
 java.lang.String getZAxisLabelTooltipText()
          Using this method you can choose to have tool tip text for an Z-axis label
 boolean getZAxisLabelVisible()
          To display the Z-Axis Label you can use this method
 java.lang.String getZAxisName()
          To assign a name to the Z-Axis you can use this method
 int getZAxisNameAlign()
          Z-Axis Name Alignment can be set using this method
 java.awt.Color getZAxisNameBackground()
          Background Color of the Z-Axis Name can be selected using this method
 boolean getZAxisNameBackgroundVisible()
          To display the background of the Z-axis name, you can use this method
 java.awt.Color getZAxisNameBorderColor()
          Use this method to select the Z-Axis Name Border Color
 int getZAxisNameBorderStyle()
          Z-Axis Name Border style can be selected with this method
 int getZAxisNameBorderWidth()
          The width of the border of the Z-Axis Name can be adjusted with this method
 java.awt.Font getZAxisNameFont()
          Select the font for the Z-Axis Name using this method
 java.awt.Color getZAxisNameForeground()
          Z-Axis Font Color can be selected using this method
 int getZAxisNameMaxLine()
          Maximum number of lines in which the Z-Axis Name must be displayed can be set with this method
 java.awt.Color getZAxisNameShadowColor()
          Z-Axis Name Shadow Color can be selected with this method
 int getZAxisNameShadowStyle()
          Shadow style of the Z-Axis Name can be selected with this method
 int getZAxisNameShadowWidth()
          Shadow width of the Z-Axis Name can be adjusted with this method
 boolean getZAxisNameVisible()
          You can display the Z-Axis Name using this method
 int getZAxisPosition()
          get Axis Position
 GraphZAxisDetail getZAxisProperties()
          Get GraphZAxisDetail Object
 java.awt.Color getZAxisShadowColor()
          get Z Axis Shadow Color
 int getZAxisShadowStyle()
          get Z Axis Shadow style
 int getZAxisShadowWidth()
          get Z Axis Shadow width
 boolean getZAxisVisible()
          Get Z-Axis Visible/Hide
protected  java.awt.Dimension getZoomAffectedSize(java.awt.Dimension inSize)
          This method returns the given dimension after performing zoom operation
 boolean getZoomEnable()
          Return boolean zoom rectangle is display or hide
 int getZoomInCount()
          Return Number of zoomIn steps
 void initGraphTest()
           
 boolean isGraphDataEmbeded()
           
 boolean isGraphFitToSize()
           
 boolean isLicenseKeyValid()
          Return boolean
 boolean isLightweight()
          Returns whether this component has a lightweight peer, native peer or no peer.
 boolean isPopulateFlag()
          get populate flag
 boolean isPrinting()
          get Printing flag
 boolean isZoomSelectionEnabled()
           
 GraphPanel loadFromXML(java.io.File xmlFile)
          Read Xml sheet to graph properties
 GraphPanel loadFromXML(java.lang.String xmlFile)
          Read Xml sheet to graph properties
 void paint(java.awt.Graphics g)
          paints graph according to properties and data of graph.
 void paintComponent(java.awt.Graphics g)
           
protected  java.lang.String parseValue(java.lang.String value)
          Write To XML ********************
 boolean populateGraph()
          Populates the Graph
 void processComponentEvent(java.awt.event.ComponentEvent cevt)
          Process Component Event
protected  void processMouseEvent(java.awt.event.MouseEvent mevt)
          Process Mouse Event
protected  void processMouseMotionEvent(java.awt.event.MouseEvent mevt)
          Process Mouse Motion Events
 void readExternal(java.io.ObjectInput in)
          This method retrieves the state of the bean
 void reDraw()
           
protected  void refreshProperties(int nFor)
          Refreshes the Graph followed by the given changed property
 void removeDrillDownListener(DrillDownListener listener)
          Remove Drill Down Listener
 void removeGraphNote(DrillDownDetail inDDDetail)
          remove Graph note for given DrillDownDetail object
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          Removes the property change listener
 void removeZoomListener()
          Remove Zoom Listener
 void repaintChildren()
          call repaint() method of child components
 void resetSelectedZoomRect()
           
 void saveAsImageBMP(java.io.OutputStream out)
          This method save Graph as image (*.bmp)
 void saveAsImageJPEG(java.io.OutputStream out)
          This method save Graph as image (*.JPEG)
 void setBackground(java.awt.Color bgcolor)
          set Graph Background Color
 void setBackgroundImage(java.awt.Image bgImage)
          This method sets the background image
 void setBgImageDisplay(int inBgImageDisplay)
          This method set the background image Display type: Center,Tile,Stretch
 void setBgImageEmbedded(boolean inValue)
          Set whether Background Image is to be embedded with graph while serialization or not
 void setBgImageFlipType(int inBgImageFlipType)
          This method sets the background image Flip type: None,Horizontal,Vertical,Both [Horizontal andVertical]
 void setBgImageFromPath(java.lang.String newImagePath)
          This method sets the background image from specified path.
 void setBgImageSourcePath(java.lang.String inPath)
          Set Background Image Source Path
 void setBgImageVisible(boolean inValue)
          Set whether Background Image is visible or not
 void setComputationType(int type)
          Sets the Computation Type
 void setDefaultProperties()
           
 void setDefaultTooltipText(java.lang.String tooltip)
          set Graph DefaultTooltip text
 void setDrillDownEnable(boolean drillDownEnable)
          set Drill Down
 void setExplainNotesStrLen(int explainNotesStrLen)
          To set comma format at y axis
 void setFont(java.awt.Font gFont)
          set Graph Font
 void setForeground(java.awt.Color fgcolor)
          set Graph Foreground Color
 void setGradientAngle(int angle)
          set Gradient Painter angle
 void setGradientColor(java.awt.Color inGradientColor)
          set Gradient Painter Color
 void setGradientExtent(int inExtent)
          set Default Extent for drawing Gradient
 void setGradientMode(int mode)
          set Gradient Painter mode
 void setGradientVisible(boolean gVisible)
          set Gradient Visible
 void setGraph3DEffect(boolean enable)
          set Graph 3D Effect is Enable/Disable
 void setGraph3DHorizontalOffset(int offset)
          set Horizontal Offset of 3D Effect
 void setGraph3DVerticalOffset(int offset)
          set Vertical Offset of 3D Effect
 void setGraphAreaBackground(java.awt.Color inColor)
          Set Graph Area Backgound Color
 void setGraphAreaBackgroundVisible(boolean visible)
          set Graph Area Background Visible
 void setGraphAreaDrillDownEnable(boolean drillDownEnable)
          Set Graph Area Drill Down
 void setGraphAreaGradientAngle(int angle)
          set Graph Area Gradient Painter angle
 void setGraphAreaGradientColor(java.awt.Color inGradientColor)
          set Graph Area Gradient Color
 void setGraphAreaGradientExtent(int inExtent)
          set Graph Area Gradient Painter Extents
 void setGraphAreaGradientMode(int mode)
          set Graph Area Gradient Painter mode
 void setGraphAreaGradientVisible(boolean gVisible)
          set Graph Area Gradient Visible
 void setGraphBorderColor(java.awt.Color inColor)
          set Graph Border Color
 void setGraphBorderStyle(int style)
          set Graph Border style
 void setGraphBorderWidth(int width)
          set Graph Border Width
 void setGraphColors(GraphColor graphColors)
           
 void setGraphData(java.util.List graphData)
          Sets the graph data
 void setGraphData(java.util.Vector graphData)
          Sets the graph data
 void setGraphDataEmbeded(boolean flag)
          Specifies that wheather graph data serialize or not
 void setGraphDataProvider(DataProvider dataProvider)
          Set the Graph Data from dataProvider
 void setGraphDataResultSet(java.sql.ResultSet resultSet)
          Set Resultset of the Graph data
 void setGraphDataURL(java.lang.String driver, java.lang.String url, java.lang.String userName, java.lang.String password, java.lang.String query)
          Set Graph dat form url
 void setGraphFitToSize(boolean visible)
           
 void setGraphics(java.awt.Graphics g)
          set Graphics object for this component
 void setGraphNotes(java.util.Vector notes)
          set Graph note Vector
 void setGraphNotesBackground(java.awt.Color bgcolor)
          set GraphNotes Background Color
 void setGraphNotesBorderColor(java.awt.Color inColor)
          set GraphNotes Border Color
 void setGraphNotesBorderStyle(int style)
          set GraphNotes Border style
 void setGraphNotesBorderWidth(int width)
          set GraphNotes Border Width
 void setGraphNotesFont(java.awt.Font gFont)
          set GraphNotes Font
 void setGraphNotesForeground(java.awt.Color fgcolor)
          set GraphNotes Foreground Color
 void setGraphNotesShadowColor(java.awt.Color inColor)
          set GraphNotes Shadow Color
 void setGraphNotesShadowStyle(int style)
          set GraphNotes Shadow style
 void setGraphNotesShadowWidth(int width)
          set GraphNotes Shadow Width
 void setGraphNotesShowInterval(long interval)
          set GraphNotes show interval
 void setGraphNotesVisible(boolean visible)
          set GraphNotes text is Visible/Hide
 void setGraphNotesVisibleInterval(long interval)
          set GraphNotes visible interval in millisecond
 void setGraphSize(java.awt.Dimension size)
          set Graph preferred size
 void setGraphTitle(java.lang.String label)
          Set Title Of Graph
 void setGraphTitleAlign(int align)
          Set Title Of Graph Align
 void setGraphTitleBackground(java.awt.Color labelcolor)
          Set Title Of Graph Background Color
 void setGraphTitleBackgroundVisible(boolean visible)
          Set Title Of Graph Background Visible
 void setGraphTitleBorderColor(java.awt.Color inColor)
          set Graph Border Color
 void setGraphTitleBorderStyle(int style)
          set Title Border style
 void setGraphTitleBorderWidth(int width)
          set Graph Border Width
 void setGraphTitleFont(java.awt.Font labelfont)
          Set Title Of Graph Font
 void setGraphTitleForeground(java.awt.Color labelcolor)
          Set Title Of Graph Color
 void setGraphTitleMaxLine(int max)
          set Graph Title Maximum number of lines
 void setGraphTitleShadowColor(java.awt.Color inColor)
          set Graph Title Shadow Color
 void setGraphTitleShadowStyle(int style)
          set Title Shadow style
 void setGraphTitleShadowWidth(int width)
          set Graph Title Shadow Width
 void setGraphTitleVisible(boolean visible)
          Set Title Of Graph Visible
 void setGraphType(int kGraph)
          To set graph type
 void setInternalLicenseKey(java.lang.String licenseKey)
          Methods which sets the license key
 void setItemAxisLabel(java.lang.String label)
          Sets the Item Axis Label
 void setLicenseKey(java.lang.String licenseKey)
          Methods which sets the license key
 void setLightweight(boolean b)
          Sets whether this component has a lightweight peer, native peer or no peer.
 void setMaxZoomFactor(ZoomFactor in_MaxZoom)
          Set maximum zoomFactor
 void setMouseOverEffectEnable(boolean visible)
          set Graph Mouse Over Effect is Enable/Disable
 void setMouseOverStaticTextEnable(boolean visible)
          set Graph Mouse Over text is Displayed static
 void setMouseOverText(java.lang.String text)
          set Graph MouseOver text
 void setMouseOverTextAlignment(int align)
          set Graph Mouse Over text Alignment (TOP/CENTER/BOTTOM)
 void setMouseOverTextBackground(java.awt.Color newColor)
          set Graph Mouse Over text Background color
 void setMouseOverTextBackgroundVisible(boolean visible)
          set Graph Mouse Over text Background is Visible/Hide
 void setMouseOverTextBorderColor(java.awt.Color inColor)
          set Mouse Over Text Border Color
 void setMouseOverTextBorderStyle(int style)
          set Mouse Over Text Border style
 void setMouseOverTextBorderWidth(int width)
          set Mouse Over Text Border Width
 void setMouseOverTextEnable(boolean visible)
          set Graph Mouse Over text is Enable/Disable
 void setMouseOverTextFont(java.awt.Font newFont)
          set Graph Mouse Over text Font
 void setMouseOverTextForeground(java.awt.Color newColor)
          set Graph Mouse Over text Foreground color
 void setMouseOverTextMaxLen(int max)
          set Graph MouseOver text Maximum number of character
 void setMouseOverTextShadowColor(java.awt.Color inColor)
          set Mouse Over Text Shadow Color
 void setMouseOverTextShadowStyle(int style)
          set Mouse Over Text Shadow style
 void setMouseOverTextShadowWidth(int width)
          set Mouse Over Text Shadow Width
 void setNumericalAxisLabel(java.lang.String label)
          Sets the Numerical Axis Label
 void setOverLapXAxisLabelEnable(boolean visible)
          set X-Axis label OverLap enable
 void setOverLapYAxisLabelEnable(boolean visible)
          set Y-Axis label OverLap enable
 void setPopulateFlag(boolean flag)
          set populate flag
 void setPrinting(boolean isPrinting)
          Set Printing flag
 void setSerialAxisLabel(java.lang.String label)
          Sets the Serial Axis Label
 void setSortDataEnable(boolean sortEnable)
          set Sorting of data Enable/Disable
 void setTitleProperties(GraphTitleDetail inGraphTitleDetail)
          Set GraphTitleDetail Object
 void setTooltipBackground(java.awt.Color bgcolor)
          set Tooltip Background Color
 void setTooltipBorderColor(java.awt.Color inColor)
          set tooltip Border Color
 void setTooltipBorderStyle(int style)
          set tooltip Border style
 void setTooltipBorderWidth(int width)
          set tooltip Border Width
 void setTooltipFont(java.awt.Font gFont)
          set Tooltip Font
 void setTooltipForeground(java.awt.Color fgcolor)
          set Tooltip Foreground Color
 void setTooltipShowInterval(long interval)
          set Tooltip show interval
 void setTooltipVisible(boolean visible)
          set Graph Tooltip text is Visible/Hide
 void setTooltipVisibleInterval(long interval)
          set Tooltip visible interval in millisecond
 void setXAxisGridLineColor(java.awt.Color linecolor)
          set X-Axis Grid Line Color
 void setXAxisGridLineStyle(int style)
          set X-Axis Grid Line Style
 void setXAxisGridLineVisible(boolean visible)
          set X-Axis Grid Line visible on Major Line
 void setXAxisGridLineWidth(int width)
          set X-Axis Grid Line Width
 void setXAxisGridStripColor(java.awt.Color linecolor)
          set X-Axis Grid Strip Color
 void setXAxisGridStripVisible(boolean visible)
          set X-Axis Grid Strip visible on Major Line
 void setXAxisLabelAlign(int align)
          set X-Axis Label alignment
 void setXAxisLabelAlignAngle(int angle)
          set X-Axis Name Alignment Angle
 void setXAxisLabelBackground(java.awt.Color Backgroundcolor)
          set X-Axis label Background Color
 void setXAxisLabelBackgroundVisible(boolean visible)
          set X-Axis label Background visible
 void setXAxisLabelDrillDownEnable(boolean enable)
          set X-Axis label DrillDown Enable
 void setXAxisLabelFont(java.awt.Font labelfont)
          set X-Axis Label Font
 void setXAxisLabelForeground(java.awt.Color foreground)
          set X-Axis Label Font Color
 void setXAxisLabelFormat(java.lang.String formatStr)
          set X-Axis Label Format string
 void setXAxisLabelGap(int gap)
          set X-Axis Label gap
 void setXAxisLabelTooltipText(java.lang.String tooltip)
          set X-Axis Label Tooltip text
 void setXAxisLabelVisible(boolean visible)
          set X-Axis Label visible
 void setXAxisLineColor(java.awt.Color linecolor)
          set X-Axis Major Line Color
 void setXAxisLineWidth(int width)
          set X-Axis Major Line Width
 void setXAxisMaxLabelValue(double max)
          set XAxis Maximum Label value
 void setXAxisMinLabelValue(double min)
          set XAxis Minimum Label value
 void setXAxisName(java.lang.String name)
          set X-Axis Name
 void setXAxisNameAlign(int align)
          set X-Axis Name Alignment
 void setXAxisNameBackground(java.awt.Color bgColor)
          set X-Axis Name Background Color
 void setXAxisNameBackgroundVisible(boolean visible)
          set X-Axis Name Background visible
 void setXAxisNameBorderColor(java.awt.Color inColor)
          set X-Axis Name Border Color
 void setXAxisNameBorderStyle(int style)
          set X-Axis Name Border style
 void setXAxisNameBorderWidth(int width)
          set X-Axis Name Border Width
 void setXAxisNameFont(java.awt.Font namefont)
          set X-Axis Name Font
 void setXAxisNameForeground(java.awt.Color foreground)
          set X-Axis Name Font Color
 void setXAxisNameMaxLine(int max)
          set X-Axis Name Maximum number of lines
 void setXAxisNameShadowColor(java.awt.Color inColor)
          set X-Axis Name Shadow Color
 void setXAxisNameShadowStyle(int style)
          set X-Axis Name Shadow style
 void setXAxisNameShadowWidth(int width)
          set X-Axis Name Shadow Width
 void setXAxisNameVisible(boolean visible)
          set X-Axis Name visible
 void setXAxisProperties(GraphXAxisDetail inGraphXAxisDetail)
          Set GraphXAxisDetail Object
 void setXAxisTickLineColor(java.awt.Color linecolor)
          set X-Axis Tick Line Color
 void setXAxisTickLineHeight(int height)
          set X-Axis Tick Line Height
 void setXAxisTickLinePosition(int position)
          set X-Axis Tick Line Position
 void setXAxisTickLineVisible(boolean visible)
          set X-Axis Tick Line visible on Major Line
 void setXAxisTickLineWidth(int width)
          set X-Axis Tick Line Width
 void setXDivisionValue(double div)
          set XAxis Division value
 void setXZeroGridLineColor(java.awt.Color linecolor)
          set X-Axis Zero Grid Line Color
 void setXZeroGridLineStyle(int style)
          set X-Axis Zero Grid Line Style
 void setXZeroGridLineWidth(int width)
          set X-Axis Zero Grid Line Width
 void setYAxisDivisionValue(int yAxisDivisionValue)
          To set y division value
 void setYAxisGridLineColor(java.awt.Color linecolor)
          set Y-Axis Grid Line Color
 void setYAxisGridLineStyle(int style)
          set Y-Axis Grid Line Style
 void setYAxisGridLineVisible(boolean visible)
          set Y-Axis Grid Line visible on Major Line
 void setYAxisGridLineWidth(int width)
          set Y-Axis Grid Line Width
 void setYAxisGridStripColor(java.awt.Color linecolor)
          set Y-Axis Grid Strip Color
 void setYAxisGridStripVisible(boolean visible)
          set Y-Axis Grid Strip visible on Major Line
 void setYAxisLabelAlign(int align)
          set Y-Axis Label alignment
 void setYAxisLabelAlignAngle(int angle)
          set Y-Axis Name Alignment Angle
 void setYAxisLabelBackground(java.awt.Color Backgroundcolor)
          set Y-Axis label Background Color
 void setYAxisLabelBackgroundVisible(boolean visible)
          set Y-Axis label Background visible
 void setYAxisLabelDrillDownEnable(boolean enable)
          set Y-Axis label DrillDown Enable
 void setYAxisLabelFont(java.awt.Font labelfont)
          set Y-Axis Label Font
 void setYAxisLabelForeground(java.awt.Color foreground)
          set Y-Axis Label Font Color
 void setYAxisLabelFormat(java.lang.String formatStr)
          set Y-Axis Label Format string
 void setYAxisLabelTooltipText(java.lang.String tooltip)
          set Y-Axis Label Tooltip text
 void setYAxisLabelVisible(boolean visible)
          set Y-Axis Label visible
 void setYAxisLineColor(java.awt.Color linecolor)
          set Y-Axis Major Line Color
 void setYAxisLineWidth(int width)
          set Y-Axis Major Line Width
 void setYAxisMaxLabelValue(double yAxisMaxLabelValue)
          To set y axis maximum label value
 void setYAxisMinLabelValue(double yAxisMinLabelValue)
          To set y axis minimum label value
 void setYAxisName(java.lang.String name)
          set Y-Axis Name
 void setYAxisNameAlign(int align)
          set Y-Axis Name Alignment
 void setYAxisNameBackground(java.awt.Color bgColor)
          set Y-Axis Name Background Color
 void setYAxisNameBackgroundVisible(boolean visible)
          set Y-Axis Name Background visible
 void setYAxisNameBorderColor(java.awt.Color inColor)
          set Y-Axis Name Border Color
 void setYAxisNameBorderStyle(int style)
          set Y-Axis Name Border style
 void setYAxisNameBorderWidth(int width)
          set Y-Axis Name Border Width
 void setYAxisNameFont(java.awt.Font namefont)
          set Y-Axis Name Font
 void setYAxisNameForeground(java.awt.Color foreground)
          set Y-Axis Name Font Color
 void setYAxisNameMaxLine(int max)
          set Y-Axis Name Maximum number of lines
 void setYAxisNameShadowColor(java.awt.Color inColor)
          set Y-Axis Name Shadow Color
 void setYAxisNameShadowStyle(int style)
          set Axis Name Shadow style
 void setYAxisNameShadowWidth(int width)
          set Y-Axis Name Shadow Width
 void setYAxisNameVisible(boolean visible)
          set Y-Axis Name visible
 void setYAxisPosition(int position)
          Set position of Y-Axis
 void setYAxisProperties(GraphYAxisDetail inGraphYAxisDetail)
          Set GraphYAxisDetail Object
 void setYAxisTickLineColor(java.awt.Color linecolor)
          set Y-Axis Tick Line Color
 void setYAxisTickLineHeight(int height)
          set Y-Axis Tick Line Height
 void setYAxisTickLinePosition(int position)
          set Y-Axis Tick Line Position
 void setYAxisTickLineVisible(boolean visible)
          set Y-Axis Tick Line visible on Major Line
 void setYAxisTickLineWidth(int width)
          set Y-Axis Tick Line Width
 void setYAxisUnitLabel(java.lang.String yAxisUnitLabel)
          To set y axis Unit label
 void setYDivisionValue(double value)
          Set Division Value For Y-Axis
 void setYZeroGridLineColor(java.awt.Color linecolor)
          set Y-Axis Zero Grid Line Color
 void setYZeroGridLineStyle(int style)
          set Y-Axis Zero Grid Line Style
 void setYZeroGridLineWidth(int width)
          set Y-Axis Zero Grid Line Width
 void setZAxisAlignment(int align)
          set Axis Position
 void setZAxisBackground(java.awt.Color bgColor)
          To display the background of the Z-axis , you can use this method
 void setZAxisBackgroundVisible(boolean visible)
          Set Z-Axis Background Visible
 void setZAxisBorderColor(java.awt.Color inColor)
          set Z Axis Border Color
 void setZAxisBorderStyle(int style)
          set Z-Axis Border style
 void setZAxisBorderWidth(int width)
          set Z Axis Border Width
 void setZAxisLabelAlign(int align)
          set Z-Axis Label alignment
 void setZAxisLabelBackground(java.awt.Color Backgroundcolor)
          set Z-Axis label Background Color
 void setZAxisLabelBackgroundVisible(boolean visible)
          set Z-Axis label Background visible
 void setZAxisLabelDrillDownEnable(boolean enable)
          set Z-Axis label DrillDown Enable
 void setZAxisLabelFont(java.awt.Font labelfont)
          set Z-Axis Label Font
 void setZAxisLabelForeground(java.awt.Color foreground)
          set Z-Axis Label Font Color
 void setZAxisLabelFormat(java.lang.String formatStr)
          set Z-Axis Label Format string
 void setZAxisLabelShowOrder(int align)
          set Z AxisLabel Show Order 0 : Left to Right (for H alignment) Top to Bottom (for V alignment) 1 : Right to Left (for H alignment) Bottom to Top (for V alignment)
 void setZAxisLabelTooltipText(java.lang.String tooltip)
          set Z-Axis Label Tooltip text
 void setZAxisLabelVisible(boolean visible)
          set Z-Axis Label visible
 void setZAxisName(java.lang.String name)
          set Z-Axis Name
 void setZAxisNameAlign(int align)
          set Z-Axis Name Alignment
 void setZAxisNameBackground(java.awt.Color bgColor)
          set Z-Axis Name Background Color
 void setZAxisNameBackgroundVisible(boolean visible)
          set Z-Axis Name Background visible
 void setZAxisNameBorderColor(java.awt.Color inColor)
          set Z-Axis Name Border Color
 void setZAxisNameBorderStyle(int style)
          set Z-Axis Name Border style
 void setZAxisNameBorderWidth(int width)
          set Z-Axis Name Border Width
 void setZAxisNameFont(java.awt.Font namefont)
          set Z-Axis Name Font
 void setZAxisNameForeground(java.awt.Color foreground)
          set Z-Axis Name Font Color
 void setZAxisNameMaxLine(int max)
          set Z-Axis Name Maximum number of lines
 void setZAxisNameShadowColor(java.awt.Color inColor)
          set Z-Axis Name Shadow Color
 void setZAxisNameShadowStyle(int style)
          set Axis Name Shadow style
 void setZAxisNameShadowWidth(int width)
          set Z-Axis Name Shadow Width
 void setZAxisNameVisible(boolean visible)
          set Z-Axis Name visible
 void setZAxisPosition(int pos)
          set Axis Position
 void setZAxisProperties(GraphZAxisDetail inGraphZAxisDetail)
          Set GraphZAxisDetail Object
 void setZAxisShadowColor(java.awt.Color inColor)
          set Z Axis Shadow Color
 void setZAxisShadowStyle(int style)
          set Z Axis Shadow style
 void setZAxisShadowWidth(int width)
          set Z Axis Shadow Width
 void setZAxisVisible(boolean visible)
          Set Z-Axis Visible/Hide
 void setZoom(ZoomFactor in_ZoomFactor, java.awt.Rectangle in_ZoomInRect, boolean in_bIsZoomIn)
          Set Zoom as per given ZoomFactor and zoom flag
 void setZoomEnable(boolean zoomEnable)
          set zoom rectangle is display or hide
 void setZoomSelectionEnabled(boolean inValue)
           
 void showPopupMenu(DrillDownDetail inDDDetail, int inX, int inY)
          Show popup menu
 ZoomFactor updateZoomStepStack(ZoomFactor in_OldZoom, ZoomFactor in_NewZoom, boolean in_bIsZoomIn)
          Update ZoomStep Stack
 void validateGraph()
          Validate graph and its parent scrollpane to resize graph
protected  void writeAttributes(XMLWriter xmlWriter)
           
protected  void writeElement(java.lang.String name, XMLWriter writer, org.xml.sax.helpers.AttributesImpl attributes)
          Write Element and its attributes into xml file by xmlwriter
 void writeExternal(java.io.ObjectOutput out)
          This method saves the state of the bean
protected  void writeGraphAttributes(XMLWriter xmlWriter)
           
protected  void writeGraphData(XMLWriter xmlwriter)
           
protected  void writeGraphDataAttributes(XMLWriter xmlwriter, java.lang.String name, GraphPanel object)
           
 void writeToXML(java.io.File xmlfile)
           
 void writeToXML(java.lang.String xmlFilePath)
           
protected  void writeXAxisAttributes(XMLWriter xmlWriter, GraphXAxisDetail axisDetail, java.lang.String name)
           
protected  void writeYAxisAttributes(XMLWriter xmlWriter, GraphYAxisDetail axisDetail, java.lang.String name)
           
protected  void writeZAxisAttributes(XMLWriter xmlWriter, GraphZAxisDetail axisDetail, java.lang.String name)
           
 void zoomRect()
          ZoomIn such that selected Rectangle becomes view Rectangle
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

c11

public transient com.elegantj.editors.C11 c11

RESOURCE_BUNDLE

public static final transient java.util.ResourceBundle RESOURCE_BUNDLE

INITIALIZE

protected static final int INITIALIZE
Specifies the constant for refreshing graph

See Also:
Constant Field Values

GRAPH_TYPE

protected static final int GRAPH_TYPE
Specifies the constant for refreshing graph

See Also:
Constant Field Values

Y_AXIS_DIVISION_VALUE

protected static final int Y_AXIS_DIVISION_VALUE
Specifies the constant for refreshing graph

See Also:
Constant Field Values

Y_AXIS_MAX_LABEL_VALUE

protected static final int Y_AXIS_MAX_LABEL_VALUE
Specifies the constant for refreshing graph

See Also:
Constant Field Values

Y_AXIS_MIN_LABEL_VALUE

protected static final int Y_AXIS_MIN_LABEL_VALUE
Specifies the constant for refreshing graph

See Also:
Constant Field Values

Y_AXIS_UNIT_LABEL

protected static final int Y_AXIS_UNIT_LABEL
Specifies the constant for refreshing graph

See Also:
Constant Field Values

Y_AXIS_COMMA_FORMAT

protected static final int Y_AXIS_COMMA_FORMAT
Specifies the constant for refreshing graph

See Also:
Constant Field Values

EXPLAIN_NOTES_STR_LEN

protected static final int EXPLAIN_NOTES_STR_LEN
Specifies the constant for refreshing graph

See Also:
Constant Field Values

SERIAL_AXIS_LABEL

protected static final int SERIAL_AXIS_LABEL
Specifies the constant for refreshing graph

See Also:
Constant Field Values

NUMERICAL_AXIS_LABEL

protected static final int NUMERICAL_AXIS_LABEL
Specifies the constant for refreshing graph

See Also:
Constant Field Values

ITEM_AXIS_LABEL

protected static final int ITEM_AXIS_LABEL
Specifies the constant for refreshing graph

See Also:
Constant Field Values

COMPUTATION_TYPE

protected static final int COMPUTATION_TYPE
Specifies the constant for refreshing graph

See Also:
Constant Field Values

DRILL_DOWN_REFRESH

protected static final int DRILL_DOWN_REFRESH
Specifies the constant for refreshing graph

See Also:
Constant Field Values

TOOL_TIP_CHANGE

protected static final int TOOL_TIP_CHANGE
Specifies the constant for refreshing graph

See Also:
Constant Field Values

GRAPH_PROPERTY_CHANGE

protected static final int GRAPH_PROPERTY_CHANGE
Specifies the constant for refreshing graph

See Also:
Constant Field Values

GRAPH_DATA_SORT

protected static final int GRAPH_DATA_SORT
Specifies the constant for refreshing graph

See Also:
Constant Field Values

MOUSE_OVER_CHANGE

protected static final int MOUSE_OVER_CHANGE
Specifies the constant for refreshing graph

See Also:
Constant Field Values

EXPLAN_NOTES_STR_LEN_DEFAULT

protected static final int EXPLAN_NOTES_STR_LEN_DEFAULT
Default length of explain notes

See Also:
Constant Field Values

m_GraphSize

protected java.awt.Dimension m_GraphSize
Specifies the graph Size


m_kGraph

public int m_kGraph
Contains value of current graph type


m_SerialAxisLabel

protected java.lang.String m_SerialAxisLabel
Specifies the x axis label


m_NumericalAxisLabel

protected java.lang.String m_NumericalAxisLabel
Specifies the y axis label


m_ItemAxisLabel

protected java.lang.String m_ItemAxisLabel
Specifies the z axis label


m_GraphData

protected java.util.Vector m_GraphData
Specifies the graph data


m_bIsGraphDataPreserved

protected boolean m_bIsGraphDataPreserved
Specifies wheather graph data stored or not


m_DataProvider

protected DataProvider m_DataProvider
Specifies the data provider


m_ResultSet

protected java.sql.ResultSet m_ResultSet
Specifies the data resultset


m_Driver

protected java.lang.String m_Driver
Specifies the driver, url, username, pass, query


m_URL

protected java.lang.String m_URL

m_userName

protected java.lang.String m_userName

m_Password

protected java.lang.String m_Password

m_Query

protected java.lang.String m_Query

m_ComputationType

protected int m_ComputationType
Specifies the computation type


m_YAxisDivisionValue

protected int m_YAxisDivisionValue
Contains division value of y axis


m_YAxisMaxLabelValue

protected double m_YAxisMaxLabelValue
Contains maximum label value of y axis


m_YAxisMinLabelValue

protected double m_YAxisMinLabelValue
Contains minimum label value of y axis


m_YAxisUnitLabel

protected java.lang.String m_YAxisUnitLabel
contains unit label of y axis


m_ExplainNotesStrLen

public int m_ExplainNotesStrLen
contains length of explain notes string


m_GraphTitleDetail

public GraphTitleDetail m_GraphTitleDetail
Specifies Detail Description of Title


m_GraphXAxisDetail

public GraphXAxisDetail m_GraphXAxisDetail
Specifies the X-Axis Detail for Graph


m_GraphYAxisDetail

public GraphYAxisDetail m_GraphYAxisDetail
Specifies the Y-Axis Detail for Graph


m_GraphZAxisDetail

public GraphZAxisDetail m_GraphZAxisDetail
Specifies the Z-Axis (Legends) Detail for Graph


m_GraphTooltip

protected ToolTip m_GraphTooltip
Specifies the Tooltip of Graph


m_PopupMenu

protected GraphPopupMenu m_PopupMenu
Specifies the Graph popup menu


m_SortEnable

protected boolean m_SortEnable
Specifies Drill Down is Enable or not


m_drillDownEnable

protected boolean m_drillDownEnable
Specifies Drill Down is Enable or not


m_ZoomEnable

protected boolean m_ZoomEnable
Specifies Zoom In/Out rectangle Visible/Hide


m_3DEffectEnable

protected boolean m_3DEffectEnable
Specifies Graph Drawing Effect (2D/3D)


m_3DHorizontalOffset

protected int m_3DHorizontalOffset
Specifies 3D Horizontal Offset


m_3DVerticalOffset

protected int m_3DVerticalOffset
Specifies 3D Vertical Offset


m_GraphAreaBackgroundVisible

protected boolean m_GraphAreaBackgroundVisible
Specifies Graph Area Background Visible


m_GraphAreaBackground

protected java.awt.Color m_GraphAreaBackground
Specifies Graph Area Background


m_GraphAreaGradientVisible

protected boolean m_GraphAreaGradientVisible
Specifies Graph Area Gradient Visible


m_GraphAreaGradientColor

protected java.awt.Color m_GraphAreaGradientColor
Specifies Graph Area Gradient Painter object That will paint gradient


m_GraphAreaGradientMode

protected int m_GraphAreaGradientMode
Specifies Graph Area Gradient Painter mode


m_GraphAreaGradientAngle

protected int m_GraphAreaGradientAngle
Specifies Graph Area Gradient Painter Angle


m_GraphAreaGradientExtent

protected int m_GraphAreaGradientExtent
Specifies Graph Area Gradient Painter Extent


m_TooltipEnable

protected boolean m_TooltipEnable
Specifies Tooltip Visible


m_DefaultTooltipText

protected java.lang.String m_DefaultTooltipText
Specifies Default Tooltip Text


m_TooltipShowInterval

protected long m_TooltipShowInterval
Specifies the Tooltip show after this interval


m_TooltipVisibleInterval

protected long m_TooltipVisibleInterval
Specifies the Tooltip is visible for this interval


m_TooltipFont

protected java.awt.Font m_TooltipFont
Specifies the Tooltip Text Font


m_TooltipBackground

protected java.awt.Color m_TooltipBackground
Specifies the Tooltip Background Color


m_TooltipForeground

protected java.awt.Color m_TooltipForeground
Specifies the Tooltip Foreground Color


m_TooltipBorderStyle

protected int m_TooltipBorderStyle
Specifies the Tooltip Border is Style


m_TooltipBorderWidth

protected int m_TooltipBorderWidth
Specifies the Tooltip Border Width


m_TooltipBorderColor

protected java.awt.Color m_TooltipBorderColor
Specifies the Tooltip Border Color


m_MouseOverEffectEnable

protected boolean m_MouseOverEffectEnable
Specifies the Mouse Over effect is Enable/disable


m_MouseOverTextEnable

protected boolean m_MouseOverTextEnable
Specifies Mouse Over Text is Enable/disable


m_MouseOverStaticTextEnable

protected boolean m_MouseOverStaticTextEnable
Specifies Mouse Over Text is Display static or on mouse over Enable/disable


m_MouseOverText

protected java.lang.String m_MouseOverText
Specifies Mouse Over Text


m_MouseOverTextMaxLen

protected int m_MouseOverTextMaxLen
Specifies Mouse Over Text Maximum Number of character


m_MouseOverTextFont

protected java.awt.Font m_MouseOverTextFont
Specifies Mouse Over Text Font


m_MouseOverTextBackgroundVisible

protected boolean m_MouseOverTextBackgroundVisible
Specifies Mouse Over Text Background is visible/hide


m_MouseOverTextBackground

protected java.awt.Color m_MouseOverTextBackground
Specifies Mouse Over Text Background Color


m_MouseOverTextForeground

protected java.awt.Color m_MouseOverTextForeground
Specifies Mouse Over Text Foreground Color


m_MouseOverTextBorderStyle

protected int m_MouseOverTextBorderStyle
Specifies Mouse Over Text Border is Style


m_MouseOverTextBorderWidth

protected int m_MouseOverTextBorderWidth
Specifies Mouse Over Text Border Width


m_MouseOverTextBorderColor

protected java.awt.Color m_MouseOverTextBorderColor
Specifies Mouse Over Text Border Color


m_MouseOverTextShadowStyle

protected int m_MouseOverTextShadowStyle
Specifies Mouse Over Text Shadow is Style


m_MouseOverTextShadowWidth

protected int m_MouseOverTextShadowWidth
Specifies Mouse Over Text Shadow Width


m_MouseOverTextShadowColor

protected java.awt.Color m_MouseOverTextShadowColor
Specifies Mouse Over Text Shadow Color


m_MouseOverTextAlign

protected int m_MouseOverTextAlign
Specifies Mouse Over Text Alignment (TOP/CENTER/BOTTOM)


m_GraphNotesEnable

protected boolean m_GraphNotesEnable
Specifies GraphNotes Visible


m_GraphNotes

protected java.util.Vector m_GraphNotes
Specifies the Vector for Graph Notes


m_GraphNotesShowInterval

protected long m_GraphNotesShowInterval
Specifies the GraphNotes show after this interval


m_GraphNotesVisibleInterval

protected long m_GraphNotesVisibleInterval
Specifies the GraphNotes is visible for this interval


m_GraphNotesFont

protected java.awt.Font m_GraphNotesFont
Specifies the GraphNotes Font


m_GraphNotesBackground

protected java.awt.Color m_GraphNotesBackground
Specifies the GraphNotes Background Color


m_GraphNotesForeground

protected java.awt.Color m_GraphNotesForeground
Specifies the GraphNotes Foreground Color


m_GraphNotesBorderStyle

protected int m_GraphNotesBorderStyle
Specifies the GraphNotes Border is Style


m_GraphNotesBorderWidth

protected int m_GraphNotesBorderWidth
Specifies the GraphNotes Border Width


m_GraphNotesBorderColor

protected java.awt.Color m_GraphNotesBorderColor
Specifies the GraphNotes Border Color


m_GraphNotesShadowStyle

protected int m_GraphNotesShadowStyle
Specifies the GraphNotes Shadow is Style


m_GraphNotesShadowWidth

protected int m_GraphNotesShadowWidth
Specifies the GraphNotes Shadow Width


m_GraphNotesShadowColor

protected java.awt.Color m_GraphNotesShadowColor
Specifies the GraphNotes Shadow Color


m_ZoomListener

protected transient ZoomListener m_ZoomListener
Specifies the ZoomListener


m_Parent

public transient javax.swing.JScrollPane m_Parent
Specifies the parent scrollpane


m_iTopOffset

protected transient int m_iTopOffset
Specifies the Top Offset of Graph Area(Actual Graph)


m_iLeftOffset

protected transient int m_iLeftOffset
Specifies the Left Offset of Graph Area(Actual Graph)


m_iBottomOffset

protected transient int m_iBottomOffset
Specifies the Bottom Offset of Graph Area(Actual Graph)


m_iRightOffset

protected transient int m_iRightOffset
Specifies the Right Offset of Graph Area(Actual Graph)


m_reDraw

protected transient boolean m_reDraw
For Redrawing Graph.


m_GraphicsEx

public transient GraphicsEx m_GraphicsEx
Specifies the graphics


m_Graphics

public transient java.awt.Graphics m_Graphics
Specifies the graphics


m_bFitToSize

protected boolean m_bFitToSize
Specifies that the Graph is Fit to visible area


m_ZoomSelectionEnabled

protected transient boolean m_ZoomSelectionEnabled
Specifies zooming thru mouse selection is enabled or not


m_DrillDownListener

protected DrillDownListener m_DrillDownListener
Specifies the Click listener


m_IsHandCursor

protected boolean m_IsHandCursor
Specifies Hand Cursor is Set or not


m_IsMouseOver

protected boolean m_IsMouseOver
Specifies the Mouse Over effect is to be drawn then true


m_oldPointSeriesIndex

protected int m_oldPointSeriesIndex
Specifies the previous Mouse Over effect is drawn for this Series (X-axis)Index


m_oldPointItemIndex

protected int m_oldPointItemIndex
Specifies the Previous Mouse Over effect is drawn for this Item (Z-axis)Index


m_GraphObj

protected java.lang.Object m_GraphObj
Specifies the Graph Object which is drawn


m_TooltipText

protected java.lang.String m_TooltipText
Specifies the Current tooltip text


click_x

protected int click_x
Specifies the Clicked x point


click_y

protected int click_y
Specifies the Clicked y point


m_sum

protected java.util.Vector m_sum
Constructor Detail

GraphPanel

public GraphPanel()
Constructor

Method Detail

setLicenseKey

public final void setLicenseKey(java.lang.String licenseKey)
Methods which sets the license key


getLicenseKey

public final java.lang.String getLicenseKey()
Returns the license key of the bean

Returns:
The license key of the bean

setInternalLicenseKey

public final void setInternalLicenseKey(java.lang.String licenseKey)
Methods which sets the license key


isLicenseKeyValid

public boolean isLicenseKeyValid()
Return boolean

Returns:
boolean Wheater license key is valid or not

setZoomSelectionEnabled

public void setZoomSelectionEnabled(boolean inValue)

isZoomSelectionEnabled

public boolean isZoomSelectionEnabled()

setLightweight

public void setLightweight(boolean b)
Sets whether this component has a lightweight peer, native peer or no peer.

Parameters:
b - true if this component has a lightweight peer; false if it has a native peer or no peer.

isLightweight

public boolean isLightweight()
Returns whether this component has a lightweight peer, native peer or no peer.

Overrides:
isLightweight in class java.awt.Component
Returns:
true if this component has a lightweight peer; false if it has a native peer or no peer.

setFont

public void setFont(java.awt.Font gFont)
set Graph Font

Overrides:
setFont in class javax.swing.JComponent
Parameters:
gFont - Graph Font

setBackground

public void setBackground(java.awt.Color bgcolor)
set Graph Background Color

Overrides:
setBackground in class javax.swing.JComponent
Parameters:
bgcolor - Graph Background Color

setForeground

public void setForeground(java.awt.Color fgcolor)
set Graph Foreground Color

Overrides:
setForeground in class javax.swing.JComponent
Parameters:
fgcolor - Graph Foreground Color

setGradientVisible

public void setGradientVisible(boolean gVisible)
set Gradient Visible

Parameters:
gVisible - true - Gradient is visible false - otherwize

getGradientVisible

public boolean getGradientVisible()
get Gradient Visible

Returns:
boolean Gradient is visible or hide

setGradientColor

public void setGradientColor(java.awt.Color inGradientColor)
set Gradient Painter Color

Parameters:
inGradientColor - Gradient Color

getGradientColor

public java.awt.Color getGradientColor()
get Gradient Painter Color

Returns:
Color Gradient Color

setGradientExtent

public void setGradientExtent(int inExtent)
set Default Extent for drawing Gradient

Parameters:
inExtent - Gradient Default Extent

getGradientExtent

public int getGradientExtent()
get Default Extent For drawing Gradient

Returns:
int Gradient Default Extent

setGradientAngle

public void setGradientAngle(int angle)
set Gradient Painter angle

Parameters:
angle - Gradient Painter angle

getGradientAngle

public int getGradientAngle()
get Gradient Painter angle

Returns:
int Gradient Painter angle

setGradientMode

public void setGradientMode(int mode)
set Gradient Painter mode

Parameters:
mode - Gradient Painter mode

getGradientMode

public int getGradientMode()
get Gradient Painter mode

Returns:
int Gradient Painter mode

setGraphBorderStyle

public void setGraphBorderStyle(int style)
set Graph Border style

Parameters:
style - Graph Border style

getGraphBorderStyle

public int getGraphBorderStyle()
get Graph Border style

Returns:
int Graph Border style

setGraphBorderWidth

public void setGraphBorderWidth(int width)
set Graph Border Width

Parameters:
width - Graph Border width

getGraphBorderWidth

public int getGraphBorderWidth()
get Graph Border width

Returns:
int Graph Border width

setGraphBorderColor

public void setGraphBorderColor(java.awt.Color inColor)
set Graph Border Color

Parameters:
inColor - Graph Border color

getGraphBorderColor

public java.awt.Color getGraphBorderColor()
get Graph Border Color

Returns:
Color Graph Border Color

setGraphSize

public void setGraphSize(java.awt.Dimension size)
set Graph preferred size

Parameters:
size - preferred size

getGraphSize

public java.awt.Dimension getGraphSize()
get Graph preferred size

Returns:
Dimension preferred size

setGraphType

public void setGraphType(int kGraph)
To set graph type

Parameters:
kGraph - one of the constants : VBAR_GRAPH, HBAR_GRAPH

getGraphType

public int getGraphType()
returns graph type

Returns:
type of graph

setSerialAxisLabel

public void setSerialAxisLabel(java.lang.String label)
Sets the Serial Axis Label

Parameters:
label - X-Axis Label

getSerialAxisLabel

public java.lang.String getSerialAxisLabel()
Gets the Serial Axis Label

Returns:
X-Axis Label

setNumericalAxisLabel

public void setNumericalAxisLabel(java.lang.String label)
Sets the Numerical Axis Label

Parameters:
label - Y-Axis Label

getNumericalAxisLabel

public java.lang.String getNumericalAxisLabel()
Gets the Numerical Axis Label

Returns:
Y-Axis Label

setItemAxisLabel

public void setItemAxisLabel(java.lang.String label)
Sets the Item Axis Label

Parameters:
label - Z-Axis Label

getItemAxisLabel

public java.lang.String getItemAxisLabel()
Gets the Item Axis Label

Returns:
Z-Axis Label

setGraphData

public void setGraphData(java.util.Vector graphData)
Sets the graph data

Parameters:
graphData - the double dimensional vector containing the graph data, first element of the vector should be column names

getGraphData

public java.util.Vector getGraphData()
Gets the graph data

Returns:
the double dimensional vector containing the graph data

setGraphData

public void setGraphData(java.util.List graphData)
Sets the graph data

Parameters:
graphData - the double dimensional List containing the graph data, first element of the List should be column names

setGraphDataEmbeded

public void setGraphDataEmbeded(boolean flag)
Specifies that wheather graph data serialize or not

Parameters:
flag - flag indicate wheather graph data serialize or not

isGraphDataEmbeded

public boolean isGraphDataEmbeded()

setGraphDataProvider

public void setGraphDataProvider(DataProvider dataProvider)
Set the Graph Data from dataProvider


getGraphDataProvider

public DataProvider getGraphDataProvider()
get the DataProvider

Returns:
instanceof DataProvider

setGraphDataResultSet

public void setGraphDataResultSet(java.sql.ResultSet resultSet)
Set Resultset of the Graph data


getGraphDataResultSet

public java.sql.ResultSet getGraphDataResultSet()

setGraphDataURL

public void setGraphDataURL(java.lang.String driver,
                            java.lang.String url,
                            java.lang.String userName,
                            java.lang.String password,
                            java.lang.String query)
Set Graph dat form url

Parameters:
driver - name of driver of database
url - specify the url of database
password - password
query - query which is fire to database

setComputationType

public void setComputationType(int type)
Sets the Computation Type

Parameters:
type - one of the constants : NONE_COMPUTATION, SUM_COMPUTATION, COUNT_COMPUTATION, VALID_COUNT_COMPUTATION, AVERAGE_COMPUTATION, VALID_AVERAGE_COMPUTATION, MAXIMUM_COMPUTATION, MINIMUM_COMPUTATION

getComputationType

public int getComputationType()
Gets the Computation Type

Returns:
the Computation Type

setYAxisDivisionValue

public void setYAxisDivisionValue(int yAxisDivisionValue)
To set y division value

Parameters:
yAxisDivisionValue - division value at y axis

getYAxisDivisionValue

public int getYAxisDivisionValue()
To get y division value

Returns:
division value at y axis

setYAxisMaxLabelValue

public void setYAxisMaxLabelValue(double yAxisMaxLabelValue)
To set y axis maximum label value

Parameters:
yAxisMaxLabelValue - maximum value at y axis

getYAxisMaxLabelValue

public double getYAxisMaxLabelValue()
To get y axis maximum label value

Returns:
double value of y axis maximum label value

setYAxisMinLabelValue

public void setYAxisMinLabelValue(double yAxisMinLabelValue)
To set y axis minimum label value


getYAxisMinLabelValue

public double getYAxisMinLabelValue()
To get y axis minimum label value

Returns:
double value of y axis minimum label value

setYAxisUnitLabel

public void setYAxisUnitLabel(java.lang.String yAxisUnitLabel)
To set y axis Unit label


getYAxisUnitLabel

public java.lang.String getYAxisUnitLabel()
To get y axis unit value

Returns:
int value of y axis unit value

setExplainNotesStrLen

public void setExplainNotesStrLen(int explainNotesStrLen)
To set comma format at y axis

Returns:
int value of y axis unit value / public boolean getYAxisCommaFormat() { return m_fYAxisCommaFormat; } /** To set maximum length of explaination notes

getExplainNotesStrLen

public int getExplainNotesStrLen()
To get maximum available length of explain notes.

Returns:
int value of max. length of explain notes

setDrillDownEnable

public void setDrillDownEnable(boolean drillDownEnable)
set Drill Down

Parameters:
drillDownEnable - Drill Down effect is Enable or Disable

getDrillDownEnable

public boolean getDrillDownEnable()
Return boolean Drill Down is enable or not

Returns:
boolean Drill Down effect is Enable or Disable

setZoomEnable

public void setZoomEnable(boolean zoomEnable)
set zoom rectangle is display or hide

Parameters:
zoomEnable - zoom rectangle is display or hide

getZoomEnable

public boolean getZoomEnable()
Return boolean zoom rectangle is display or hide

Returns:
boolean zoom rectangle is display or hide

setSortDataEnable

public void setSortDataEnable(boolean sortEnable)
set Sorting of data Enable/Disable

Parameters:
sortEnable - Data is sort or not before generating Graph

getSortDataEnable

public boolean getSortDataEnable()
Return boolean Data is sort or not before generating Graph

Returns:
boolean it Data to be sort before generating Graph - true Otherwise false

setGraph3DEffect

public void setGraph3DEffect(boolean enable)
set Graph 3D Effect is Enable/Disable

Parameters:
enable - if true then Graph 3D Effect is drawn otherwise not

getGraph3DEffect

public boolean getGraph3DEffect()
get Graph 3D Effect is Enable/Disable

Returns:
boolean if true then Graph 3D Effect is drawn otherwise not

setGraph3DHorizontalOffset

public void setGraph3DHorizontalOffset(int offset)
set Horizontal Offset of 3D Effect

Parameters:
offset - Horizontal Offset of 3D Effect

getGraph3DHorizontalOffset

public int getGraph3DHorizontalOffset()
get Horizontal Offset of 3D Effect

Returns:
int Horizontal Offset of 3D Effect

setGraph3DVerticalOffset

public void setGraph3DVerticalOffset(int offset)
set Vertical Offset of 3D Effect

Parameters:
offset - Vertical Offset of 3D Effect

getGraph3DVerticalOffset

public int getGraph3DVerticalOffset()
get Vertical Offset of 3D Effect

Returns:
int Vertical Offset of 3D Effect

setTitleProperties

public void setTitleProperties(GraphTitleDetail inGraphTitleDetail)
Set GraphTitleDetail Object

Parameters:
inGraphTitleDetail - Object specifying Title properties (text,color,font,boreder,etc...)

getTitleProperties

public GraphTitleDetail getTitleProperties()
Get GraphTitleDetail Object

Returns:
GraphTitleDetail Object specifying Title properties (text,color,font,boreder,etc...)

setXAxisProperties

public void setXAxisProperties(GraphXAxisDetail inGraphXAxisDetail)
Set GraphXAxisDetail Object

Parameters:
inGraphXAxisDetail - Object specifying X-Axis properties (text,color,font,boreder,etc...)

getXAxisProperties

public GraphXAxisDetail getXAxisProperties()
Get GraphXAxisDetail Object

Returns:
inGraphXAxisDetail Object specifying X-Axis properties (text,color,font,boreder,etc...)

setYAxisProperties

public void setYAxisProperties(GraphYAxisDetail inGraphYAxisDetail)
Set GraphYAxisDetail Object

Parameters:
inGraphYAxisDetail - Object specifying Y-Axis properties (text,color,font,boreder,etc...)

getYAxisProperties

public GraphYAxisDetail getYAxisProperties()
Get GraphYAxisDetail Object

Returns:
inGraphYAxisDetail Object specifying Y-Axis properties (text,color,font,boreder,etc...)

setZAxisProperties

public void setZAxisProperties(GraphZAxisDetail inGraphZAxisDetail)
Set GraphZAxisDetail Object

Parameters:
inGraphZAxisDetail - Object specifying Z-Axis properties (text,color,font,boreder,etc...)

getZAxisProperties

public GraphZAxisDetail getZAxisProperties()
Get GraphZAxisDetail Object

Returns:
inGraphZAxisDetail Object specifying Z-Axis properties (text,color,font,boreder,etc...)

setGraphAreaBackgroundVisible

public void setGraphAreaBackgroundVisible(boolean visible)
set Graph Area Background Visible

Parameters:
visible - true - Background is visible false - otherwize

getGraphAreaBackgroundVisible

public boolean getGraphAreaBackgroundVisible()
get Graph area Background Visible

Returns:
boolean Background is visible or hide

setGraphAreaBackground

public void setGraphAreaBackground(java.awt.Color inColor)
Set Graph Area Backgound Color

Parameters:
inColor - Color to be set

getGraphAreaBackground

public java.awt.Color getGraphAreaBackground()
Get Graph Area Background Color

Returns:
Color Color object specifying the color of Graph area background

setGraphAreaGradientVisible

public void setGraphAreaGradientVisible(boolean gVisible)
set Graph Area Gradient Visible

Parameters:
gVisible - true - Gradient is visible false - otherwize

getGraphAreaGradientVisible

public boolean getGraphAreaGradientVisible()
get Graph area Gradient Visible

Returns:
boolean Gradient is visible or hide

setGraphAreaGradientColor

public void setGraphAreaGradientColor(java.awt.Color inGradientColor)
set Graph Area Gradient Color

Parameters:
inGradientColor - Gradient Color

getGraphAreaGradientColor

public java.awt.Color getGraphAreaGradientColor()
get Graph Area Gradient Color

Returns:
Color Color Object

setGraphAreaGradientAngle

public void setGraphAreaGradientAngle(int angle)
set Graph Area Gradient Painter angle

Parameters:
angle - Graph Area Gradient Painter angle

getGraphAreaGradientAngle

public int getGraphAreaGradientAngle()
get Graph area Gradient Painter angle

Returns:
int Graph area Gradient Painter angle

setGraphAreaGradientExtent

public void setGraphAreaGradientExtent(int inExtent)
set Graph Area Gradient Painter Extents

Parameters:
inExtent - Gradient Painter Extents

getGraphAreaGradientExtent

public int getGraphAreaGradientExtent()
get Graph Area Gradient Painter Extent

Returns:
int Gradient Painter Extent

setGraphAreaGradientMode

public void setGraphAreaGradientMode(int mode)
set Graph Area Gradient Painter mode

Parameters:
mode - Gradient Painter mode

getGraphAreaGradientMode

public int getGraphAreaGradientMode()
get Graph Area Gradient Painter mode

Returns:
int Gradient Painter mode

setGraphNotesVisible

public void setGraphNotesVisible(boolean visible)
set GraphNotes text is Visible/Hide

Parameters:
visible - true - Graph GraphNotes text is Visible otherwise false

getGraphNotesVisible

public boolean getGraphNotesVisible()
get GraphNotes text Visible/hide

Returns:
boolean true - Graph Tooltip text is Visible otherwise false

setGraphNotes

public void setGraphNotes(java.util.Vector notes)
set Graph note Vector

Parameters:
notes - Vector of graph notes

getGraphNotes

public java.util.Vector getGraphNotes()
get Graph note vector

Returns:
Vector Vector of graph notes

setGraphNotesShowInterval

public void setGraphNotesShowInterval(long interval)
set GraphNotes show interval

Parameters:
interval - show interval in millisecond

getGraphNotesShowInterval

public long getGraphNotesShowInterval()
get GraphNotes show interval in millisecond

Returns:
long show interval in millisecond

setGraphNotesVisibleInterval

public void setGraphNotesVisibleInterval(long interval)
set GraphNotes visible interval in millisecond

Parameters:
interval - GraphNotes visible interval in millisecond

getGraphNotesVisibleInterval

public long getGraphNotesVisibleInterval()
get GraphNotes visible interval in millisecond

Returns:
long GraphNotes visible interval in millisecond

setGraphNotesFont

public void setGraphNotesFont(java.awt.Font gFont)
set GraphNotes Font

Parameters:
gFont - GraphNotes Font

getGraphNotesFont

public java.awt.Font getGraphNotesFont()
Get GraphNotes Font

Returns:
Font GraphNotes Font

setGraphNotesBackground

public void setGraphNotesBackground(java.awt.Color bgcolor)
set GraphNotes Background Color

Parameters:
bgcolor - GraphNotes Background Color

getGraphNotesBackground

public java.awt.Color getGraphNotesBackground()
Get GraphNotes Background color

Returns:
Color GraphNotes Background color

setGraphNotesForeground

public void setGraphNotesForeground(java.awt.Color fgcolor)
set GraphNotes Foreground Color

Parameters:
fgcolor - GraphNotes Foreground Color

getGraphNotesForeground

public java.awt.Color getGraphNotesForeground()
Get GraphNotes Foreground color

Returns:
Color GraphNotes Foreground color

setGraphNotesBorderStyle

public void setGraphNotesBorderStyle(int style)
set GraphNotes Border style

Parameters:
style - GraphNotes Border style

getGraphNotesBorderStyle

public int getGraphNotesBorderStyle()
get GraphNotes Border style

Returns:
int GraphNotes Border style

setGraphNotesBorderWidth

public void setGraphNotesBorderWidth(int width)
set GraphNotes Border Width

Parameters:
width - GraphNotes Border width

getGraphNotesBorderWidth

public int getGraphNotesBorderWidth()
get GraphNotes Border width

Returns:
int GraphNotes Border width

setGraphNotesBorderColor

public void setGraphNotesBorderColor(java.awt.Color inColor)
set GraphNotes Border Color

Parameters:
inColor - GraphNotes Border color

getGraphNotesBorderColor

public java.awt.Color getGraphNotesBorderColor()
get GraphNotes Border Color

Returns:
Color GraphNotes Border Color

setGraphNotesShadowStyle

public void setGraphNotesShadowStyle(int style)
set GraphNotes Shadow style

Parameters:
style - GraphNotes Shadow style

getGraphNotesShadowStyle

public int getGraphNotesShadowStyle()
get GraphNotes Shadow style

Returns:
int GraphNotes Shadow style

setGraphNotesShadowWidth

public void setGraphNotesShadowWidth(int width)
set GraphNotes Shadow Width

Parameters:
width - GraphNotes Shadow width

getGraphNotesShadowWidth

public int getGraphNotesShadowWidth()
get GraphNotes Shadow width

Returns:
int GraphNotes Shadow width

setGraphNotesShadowColor

public void setGraphNotesShadowColor(java.awt.Color inColor)
set GraphNotes Shadow Color

Parameters:
inColor - GraphNotes Shadow color

getGraphNotesShadowColor

public java.awt.Color getGraphNotesShadowColor()
get GraphNotes Shadow Color

Returns:
Color GraphNotes Shadow Color

setMouseOverEffectEnable

public void setMouseOverEffectEnable(boolean visible)
set Graph Mouse Over Effect is Enable/Disable

Parameters:
visible - true - Graph Mouse Over Effect is Visible otherwise false

getMouseOverEffectEnable

public boolean getMouseOverEffectEnable()
get Graph MouseOver Effect Enable/disable

Returns:
boolean true - Graph MouseOver Effect is Visible otherwise false

setMouseOverTextEnable

public void setMouseOverTextEnable(boolean visible)
set Graph Mouse Over text is Enable/Disable

Parameters:
visible - true - Graph Mouse Over text is Visible otherwise false

getMouseOverTextEnable

public boolean getMouseOverTextEnable()
get Graph MouseOver text Enable/disable

Returns:
boolean true - Graph MouseOver text is Visible otherwise false

setMouseOverTextFont

public void setMouseOverTextFont(java.awt.Font newFont)
set Graph Mouse Over text Font

Parameters:
newFont - Graph Mouse Over text Font

getMouseOverTextFont

public java.awt.Font getMouseOverTextFont()
get Graph MouseOver text Font

Returns:
Font MouseOver text Font

setMouseOverTextBackgroundVisible

public void setMouseOverTextBackgroundVisible(boolean visible)
set Graph Mouse Over text Background is Visible/Hide

Parameters:
visible - true - Graph Mouse Over text Background is Visible otherwise false

getMouseOverTextBackgroundVisible

public boolean getMouseOverTextBackgroundVisible()
get Graph MouseOver text Background is Visible/hide

Returns:
boolean true - Graph MouseOver text Background is Visible otherwise false

setMouseOverTextBackground

public void setMouseOverTextBackground(java.awt.Color newColor)
set Graph Mouse Over text Background color

Parameters:
newColor - Graph Mouse Over text Background color

getMouseOverTextBackground

public java.awt.Color getMouseOverTextBackground()
get Graph MouseOver text Background color

Returns:
Color Graph MouseOver text Background color

setMouseOverTextForeground

public void setMouseOverTextForeground(java.awt.Color newColor)
set Graph Mouse Over text Foreground color

Parameters:
newColor - Graph Mouse Over text Foreground color

getMouseOverTextForeground

public java.awt.Color getMouseOverTextForeground()
get Graph MouseOver text Foreground color

Returns:
Color Graph MouseOver text Foreground color

setMouseOverTextBorderStyle

public void setMouseOverTextBorderStyle(int style)
set Mouse Over Text Border style

Parameters:
style - Mouse Over Text Border style

getMouseOverTextBorderStyle

public int getMouseOverTextBorderStyle()
get Mouse Over Text Border style

Returns:
int Mouse Over Text Border style

setMouseOverTextBorderWidth

public void setMouseOverTextBorderWidth(int width)
set Mouse Over Text Border Width

Parameters:
width - Mouse Over Text Border width

getMouseOverTextBorderWidth

public int getMouseOverTextBorderWidth()
get Mouse Over Text Border width

Returns:
int Mouse Over Text Border width

setMouseOverTextBorderColor

public void setMouseOverTextBorderColor(java.awt.Color inColor)
set Mouse Over Text Border Color

Parameters:
inColor - Mouse Over Text Border color

getMouseOverTextBorderColor

public java.awt.Color getMouseOverTextBorderColor()
get Mouse Over Text Border Color

Returns:
Color Mouse Over Text Border Color

setMouseOverTextShadowStyle

public void setMouseOverTextShadowStyle(int style)
set Mouse Over Text Shadow style

Parameters:
style - Mouse Over Text Shadow style

getMouseOverTextShadowStyle

public int getMouseOverTextShadowStyle()
get Mouse Over Text Shadow style

Returns:
int Mouse Over Text Shadow style

setMouseOverTextShadowWidth

public void setMouseOverTextShadowWidth(int width)
set Mouse Over Text Shadow Width

Parameters:
width - Mouse Over Text Shadow width

getMouseOverTextShadowWidth

public int getMouseOverTextShadowWidth()
get Mouse Over Text Shadow width

Returns:
int Mouse Over Text Shadow width

setMouseOverTextShadowColor

public void setMouseOverTextShadowColor(java.awt.Color inColor)
set Mouse Over Text Shadow Color

Parameters:
inColor - Mouse Over Text Shadow color

getMouseOverTextShadowColor

public java.awt.Color getMouseOverTextShadowColor()
get Mouse Over Text Shadow Color

Returns:
Color Mouse Over Text Shadow Color

setMouseOverTextAlignment

public void setMouseOverTextAlignment(int align)
set Graph Mouse Over text Alignment (TOP/CENTER/BOTTOM)

Parameters:
align - Graph Mouse Over text Alignment

getMouseOverTextAlignment

public int getMouseOverTextAlignment()
get Graph MouseOver text Alignment (TOP/CENTER/BOTTOM)

Returns:
int Graph MouseOver text Alignment

setMouseOverStaticTextEnable

public void setMouseOverStaticTextEnable(boolean visible)
set Graph Mouse Over text is Displayed static

Parameters:
visible - true - Graph Mouse Over text is Static otherwise Mouse over text is displayed on mouse over

getMouseOverStaticTextEnable

public boolean getMouseOverStaticTextEnable()
get Graph MouseOver text is Displayed static

Returns:
boolean true - Graph Mouse Over text is Static false - Mouse over text is displayed on mouse over

setMouseOverText

public void setMouseOverText(java.lang.String text)
set Graph MouseOver text

Parameters:
text - Specifies the MouseOver text

getMouseOverText

public java.lang.String getMouseOverText()
get Graph MouseOver text

Returns:
String MouseOver text

setMouseOverTextMaxLen

public void setMouseOverTextMaxLen(int max)
set Graph MouseOver text Maximum number of character

Parameters:
max - Specifies the MouseOver text maximum number of character

getMouseOverTextMaxLen

public int getMouseOverTextMaxLen()
get Graph MouseOver text Maximum number of character

Returns:
int MouseOver text maximum number of character

setTooltipVisible

public void setTooltipVisible(boolean visible)
set Graph Tooltip text is Visible/Hide

Parameters:
visible - true - Graph Tooltip text is Visible otherwise false

getTooltipVisible

public boolean getTooltipVisible()
get Graph Tooltip text Visible/hide

Returns:
boolean true - Graph Tooltip text is Visible otherwise false

setDefaultTooltipText

public void setDefaultTooltipText(java.lang.String tooltip)
set Graph DefaultTooltip text

Parameters:
tooltip - Specifies the tooltip text

getDefaultTooltipText

public java.lang.String getDefaultTooltipText()
get Graph Default Tooltip text

Returns:
String Tooltip text

setTooltipShowInterval

public void setTooltipShowInterval(long interval)
set Tooltip show interval

Parameters:
interval - show interval in millisecond

getTooltipShowInterval

public long getTooltipShowInterval()
get Tooltip show interval in millisecond

Returns:
long show interval in millisecond

setTooltipVisibleInterval

public void setTooltipVisibleInterval(long interval)
set Tooltip visible interval in millisecond

Parameters:
interval - Tooltip visible interval in millisecond

getTooltipVisibleInterval

public long getTooltipVisibleInterval()
get Tooltip visible interval in millisecond

Returns:
long Tooltip visible interval in millisecond

setTooltipFont

public void setTooltipFont(java.awt.Font gFont)
set Tooltip Font

Parameters:
gFont - Tooltip Font

getTooltipFont

public java.awt.Font getTooltipFont()
Get Tooltip Font

Returns:
Font Tooltip Font

setTooltipBackground

public void setTooltipBackground(java.awt.Color bgcolor)
set Tooltip Background Color

Parameters:
bgcolor - Tooltip Background Color

getTooltipBackground

public java.awt.Color getTooltipBackground()
Get Tooltip Background color

Returns:
Color Tooltip Background color

setTooltipForeground

public void setTooltipForeground(java.awt.Color fgcolor)
set Tooltip Foreground Color

Parameters:
fgcolor - Tooltip Foreground Color

getTooltipForeground

public java.awt.Color getTooltipForeground()
Get Tooltip Foreground color

Returns:
Color Tooltip Foreground color

setTooltipBorderStyle

public void setTooltipBorderStyle(int style)
set tooltip Border style

Parameters:
style - tooltip Border style

getTooltipBorderStyle

public int getTooltipBorderStyle()
get tooltip Border style

Returns:
int tooltip Border style

setTooltipBorderWidth

public void setTooltipBorderWidth(int width)
set tooltip Border Width

Parameters:
width - tooltip Border width

getTooltipBorderWidth

public int getTooltipBorderWidth()
get tooltip Border width

Returns:
int tooltip Border width

setTooltipBorderColor

public void setTooltipBorderColor(java.awt.Color inColor)
set tooltip Border Color

Parameters:
inColor - tooltip Border color

getTooltipBorderColor

public java.awt.Color getTooltipBorderColor()
get tooltip Border Color

Returns:
Color tooltip Border Color

addValues

protected void addValues(java.util.Vector dataValues,
                         java.util.Vector dataMatrix)
Adds the data values to the graph's data matrix

Parameters:
dataValues - the column values
dataMatrix - the graph data vector

divide

public static double divide(double inValue1,
                            double inValue2)
Divides the value1 by value2 and returns the rounded result


populateGraph

public boolean populateGraph()
Populates the Graph

Returns:
boolean true - if Graph is successfully populated otherwize false

refreshProperties

protected void refreshProperties(int nFor)
Refreshes the Graph followed by the given changed property

Parameters:
nFor - the changed property constant

reDraw

public void reDraw()

getGraphAreaPolygon

public java.awt.Polygon getGraphAreaPolygon()
Subclass have to override this method for ZoomIn/ZoomOut

Returns:
Polygon Bounding polygon of graph area

paint

public void paint(java.awt.Graphics g)
paints graph according to properties and data of graph.

Overrides:
paint in class javax.swing.JComponent

paintComponent

public void paintComponent(java.awt.Graphics g)
Overrides:
paintComponent in class javax.swing.JComponent

drawBackgroundImage

public void drawBackgroundImage(java.awt.Graphics g)
This method draw image in background


getFlipedImage

public java.awt.Image getFlipedImage(java.awt.Image image)
This method returns the Fliped image of the inputted image

Returns:
Image Fliped Image

repaintChildren

public void repaintChildren()
call repaint() method of child components


setGraphics

public void setGraphics(java.awt.Graphics g)
set Graphics object for this component


getGraphics

public java.awt.Graphics getGraphics()
Overrides:
getGraphics in class javax.swing.JComponent

setGraphFitToSize

public void setGraphFitToSize(boolean visible)

isGraphFitToSize

public boolean isGraphFitToSize()
Returns:
boolean

drawGradient

public void drawGradient(java.awt.Graphics g,
                         java.awt.Rectangle rect)
Draw Background of Graph(Gradient/simplecolor)

Parameters:
g - Graphics object
rect - Graph bounding rect

drawGraphBorder

public void drawGraphBorder(java.awt.Graphics g,
                            int x,
                            int y,
                            int width,
                            int height)
Draw Graph styled Border

Parameters:
g - Graphics object
x - x position
y - y position
width - width of Graph
height - height of Graph

getVisibleGraphRect

protected java.awt.Rectangle getVisibleGraphRect()
Returns the Visible rectangle of the component Subclass may override this method

Returns:
the rectangle contains the paint boundary of the component

addGraphNote

public void addGraphNote(DrillDownDetail inDDDetail,
                         java.lang.String inNote)
add Graph note for given DrillDownDetail object

Parameters:
inDDDetail - DrillDownDetail object

getGraphNoteIndex

public int getGraphNoteIndex(DrillDownDetail inDDDetail)
This function returns Graph notes defined for given drill down detail

Parameters:
inDDDetail - DrillDownDetail object
Returns:
int index of given DrillDownDetail object.

getGraphNote

public java.lang.String getGraphNote(DrillDownDetail inDDDetail)
Get Graph note for given DrillDownDetail object

Parameters:
inDDDetail - DrillDownDetail object
Returns:
String note for given DrillDownDetail object

removeGraphNote

public void removeGraphNote(DrillDownDetail inDDDetail)
remove Graph note for given DrillDownDetail object

Parameters:
inDDDetail - DrillDownDetail object

showPopupMenu

public void showPopupMenu(DrillDownDetail inDDDetail,
                          int inX,
                          int inY)
Show popup menu

Parameters:
inDDDetail - DrillDownDetail object
inX - x coordinate
inY - y coordinate

updateZoomStepStack

public ZoomFactor updateZoomStepStack(ZoomFactor in_OldZoom,
                                      ZoomFactor in_NewZoom,
                                      boolean in_bIsZoomIn)
Update ZoomStep Stack

Parameters:
in_OldZoom - ZoomFactor object to push in Stack (old ZoomFactor)
in_NewZoom - ZoomFactor object to varify Stack content (new ZoomFactor)
in_bIsZoomIn - True for ZoomIn, False - for ZoomOut
Returns:
ZoomFactor In case of ZoomIn return ZoomFactor which is pushed in Stack In case of ZoomOut return ZoomFactor which is poped from Stack

clearZoomStepStack

public void clearZoomStepStack()
Clear zoomStep stack


getZoomInCount

public int getZoomInCount()
Return Number of zoomIn steps

Returns:
int number of zoomIn steps

getScrollPane

public javax.swing.JScrollPane getScrollPane()
Return Paren scollpane. if scrollpane is not parent then return null

Returns:
@JScrollPane parent scrollpane object

validateGraph

public void validateGraph()
Validate graph and its parent scrollpane to resize graph


setZoom

public void setZoom(ZoomFactor in_ZoomFactor,
                    java.awt.Rectangle in_ZoomInRect,
                    boolean in_bIsZoomIn)
Set Zoom as per given ZoomFactor and zoom flag

Parameters:
in_ZoomFactor - ZoomFactor object
in_ZoomInRect - Selected Rectangle to set view
in_bIsZoomIn - True for ZoomIn, False for ZoomOut

checkZoomFactor

public boolean checkZoomFactor(ZoomFactor in_ZoomFactor)
Check given zoomFactor against maximum zoomFactor

Returns:
boolean True - if given zoomFactor is less then or equals to defined maximum ZoomFactor False - otherwise

setMaxZoomFactor

public void setMaxZoomFactor(ZoomFactor in_MaxZoom)
Set maximum zoomFactor

Parameters:
in_MaxZoom - Set maximum zoomFactor

getMaxZoomFactor

public ZoomFactor getMaxZoomFactor()
Get Maximum zoomFactor

Returns:
ZoomFactor Return Maximum zoomFactor

getCurZoomFactor

public ZoomFactor getCurZoomFactor()
Get current zoomFactor

Returns:
ZoomFactor Return current zoomFactor

setPrinting

public void setPrinting(boolean isPrinting)
Set Printing flag

Parameters:
isPrinting - state of printing flag

isPrinting

public boolean isPrinting()
get Printing flag

Returns:
boolean state of printing flag

isPopulateFlag

public boolean isPopulateFlag()
get populate flag

Returns:
boolean state of populategraph method call or not

setPopulateFlag

public void setPopulateFlag(boolean flag)
set populate flag

Parameters:
flag - boolean

fireZoomEvent

public void fireZoomEvent(ZoomFactor in_zf,
                          boolean in_bIsZoomIn)
Notify ZoomIn/ZoomOut occured to its Listener

Parameters:
in_zf - Zoom Factor
in_bIsZoomIn - True - ZoomIn, False - ZoomOut

addZoomListener

public void addZoomListener(ZoomListener zl)
Add Zoom Listener

Parameters:
zl - Zoom Listener

removeZoomListener

public void removeZoomListener()
Remove Zoom Listener


getStringFromMacro

public java.lang.String getStringFromMacro(java.lang.String inMacroString,
                                           DrillDownDetail inDrillDownDetail)
This function returns New string after replacing actual values in place of Macro string

Parameters:
inMacroString - String containing Macros
inDrillDownDetail - DrillDownDetail object
Returns:
String String with values in place of Macros.

processComponentEvent

public void processComponentEvent(java.awt.event.ComponentEvent cevt)
Process Component Event

Overrides:
processComponentEvent in class java.awt.Component

processMouseEvent

protected void processMouseEvent(java.awt.event.MouseEvent mevt)
Process Mouse Event

Overrides:
processMouseEvent in class java.awt.Component

processMouseMotionEvent

protected void processMouseMotionEvent(java.awt.event.MouseEvent mevt)
Process Mouse Motion Events

Overrides:
processMouseMotionEvent in class javax.swing.JComponent

addDrillDownListener

public void addDrillDownListener(DrillDownListener listener)
Add Drill Down Listener


removeDrillDownListener

public void removeDrillDownListener(DrillDownListener listener)
Remove Drill Down Listener


getDrillDownDetail

public DrillDownDetail getDrillDownDetail(GraphicsEx gEx,
                                          int clickX,
                                          int clickY)

getTooltipText

public java.lang.String getTooltipText()

firePropertyChange

protected void firePropertyChange(java.lang.String property,
                                  java.lang.Object oldObject,
                                  java.lang.Object newObject)
fires property is changed

Overrides:
firePropertyChange in class javax.swing.JComponent
Parameters:
property - The name of the property
oldObject - The old value
newObject - The new value

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds the property change listener

Overrides:
addPropertyChangeListener in class javax.swing.JComponent
Parameters:
l - The property change listener

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes the property change listener

Overrides:
removePropertyChangeListener in class javax.swing.JComponent
Parameters:
l - The property change listener

getSelectedRect

public java.awt.Rectangle getSelectedRect()
Return Zoom in Rectangle

Returns:
Rectangle Zoom in Rectangle

zoomRect

public void zoomRect()
ZoomIn such that selected Rectangle becomes view Rectangle


doZoom

public void doZoom()

resetSelectedZoomRect

public void resetSelectedZoomRect()

setBgImageSourcePath

public void setBgImageSourcePath(java.lang.String inPath)
Set Background Image Source Path

Parameters:
inPath - Background Image Source Path

getBgImageSourcePath

public java.lang.String getBgImageSourcePath()
Return Background Image Source Path

Returns:
String Background Image Source Path

setBgImageEmbedded

public void setBgImageEmbedded(boolean inValue)
Set whether Background Image is to be embedded with graph while serialization or not

Parameters:
inValue - true: Background image embedded with graph, otherwise false

getBgImageEmbedded

public boolean getBgImageEmbedded()
returns whether Background Image is to be embedded with graph while serialization or not


setBgImageVisible

public void setBgImageVisible(boolean inValue)
Set whether Background Image is visible or not

Parameters:
inValue - true: Background image visible, otherwise false

getBgImageVisible

public boolean getBgImageVisible()
returns whether Background Image is visible or hide


saveAsImageBMP

public void saveAsImageBMP(java.io.OutputStream out)
This method save Graph as image (*.bmp)

Parameters:
out - OutputStream to which graph is to be saved

saveAsImageJPEG

public void saveAsImageJPEG(java.io.OutputStream out)
This method save Graph as image (*.JPEG)

Parameters:
out - OutputStream to which graph is to be saved

setBgImageFromPath

public void setBgImageFromPath(java.lang.String newImagePath)
This method sets the background image from specified path.

Parameters:
newImagePath - image to be drawn in background

getBgImageFromPath

public java.lang.String getBgImageFromPath()
Return Background Image From Path

Returns:
String Background Image From Path

setBackgroundImage

public void setBackgroundImage(java.awt.Image bgImage)
This method sets the background image

Parameters:
bgImage - image to be drawn in background

getBackgroundImage

public java.awt.Image getBackgroundImage()
This method returns the background image

Returns:
Image image to be drawn in background

setBgImageDisplay

public void setBgImageDisplay(int inBgImageDisplay)
This method set the background image Display type: Center,Tile,Stretch

Parameters:
inBgImageDisplay - the background image Display type

getBgImageDisplay

public int getBgImageDisplay()
This method returns the background image Display type

Returns:
int the background image Display type

setBgImageFlipType

public void setBgImageFlipType(int inBgImageFlipType)
This method sets the background image Flip type: None,Horizontal,Vertical,Both [Horizontal andVertical]

Parameters:
inBgImageFlipType - the background image Flip type

getBgImageFlipType

public int getBgImageFlipType()
This method returns the background image Flip type: None,Horizontal,Vertical,Both [Horizontal andVertical]

Returns:
int the background image Flip type

setGraphAreaDrillDownEnable

public void setGraphAreaDrillDownEnable(boolean drillDownEnable)
Set Graph Area Drill Down

Parameters:
drillDownEnable - Graph Area Drill Down effect is Enable or Disable

getGraphAreaDrillDownEnable

public boolean getGraphAreaDrillDownEnable()
Return boolean Graph Area Drill Down is enable or not

Returns:
boolean Graph Area Drill Down effect is Enable or Disable

getZoomAffectedSize

protected java.awt.Dimension getZoomAffectedSize(java.awt.Dimension inSize)
This method returns the given dimension after performing zoom operation

Parameters:
inSize - the dimension
Returns:
Dimension the dimension after performing zoom operation

getFixedArea

public java.awt.Insets getFixedArea()
This method returns the fixed region that do not affect while zoom operation

Returns:
Insets the fixed region that do not affect while zoom operation

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.lang.ClassNotFoundException,
                         java.io.IOException
This method retrieves the state of the bean

Specified by:
readExternal in interface java.io.Externalizable
java.lang.ClassNotFoundException
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
This method saves the state of the bean

Specified by:
writeExternal in interface java.io.Externalizable
java.io.IOException

initGraphTest

public void initGraphTest()

getTestData

public java.util.Vector getTestData()

setDefaultProperties

public void setDefaultProperties()

parseValue

protected java.lang.String parseValue(java.lang.String value)
Write To XML ********************


generateColorString

protected static java.lang.String generateColorString(java.awt.Color inColor)
Generate html color string from given Java Color object

Parameters:
inColor - the color
Returns:
String the String specifing html color

getExtension

protected static java.lang.String getExtension(java.io.File f)
Return the extension portion of the file's name .


loadFromXML

public GraphPanel loadFromXML(java.io.File xmlFile)
Read Xml sheet to graph properties


loadFromXML

public GraphPanel loadFromXML(java.lang.String xmlFile)
Read Xml sheet to graph properties


writeToXML

public void writeToXML(java.lang.String xmlFilePath)

writeToXML

public void writeToXML(java.io.File xmlfile)

writeAttributes

protected void writeAttributes(XMLWriter xmlWriter)
                        throws org.xml.sax.SAXException
org.xml.sax.SAXException

writeElement

protected void writeElement(java.lang.String name,
                            XMLWriter writer,
                            org.xml.sax.helpers.AttributesImpl attributes)
                     throws org.xml.sax.SAXException
Write Element and its attributes into xml file by xmlwriter

org.xml.sax.SAXException

writeGraphAttributes

protected void writeGraphAttributes(XMLWriter xmlWriter)
                             throws org.xml.sax.SAXException
org.xml.sax.SAXException

getGraphTypeAttributes

protected org.xml.sax.helpers.AttributesImpl getGraphTypeAttributes()
                                                             throws org.xml.sax.SAXException
org.xml.sax.SAXException

getCommonAttributes

protected org.xml.sax.helpers.AttributesImpl getCommonAttributes()
                                                          throws org.xml.sax.SAXException
org.xml.sax.SAXException

getBackgroundAttributes

protected org.xml.sax.helpers.AttributesImpl getBackgroundAttributes()
                                                              throws org.xml.sax.SAXException
org.xml.sax.SAXException

getGraphAreaAttributes

protected org.xml.sax.helpers.AttributesImpl getGraphAreaAttributes()
                                                             throws org.xml.sax.SAXException
org.xml.sax.SAXException

getMouseOverAttributes

protected org.xml.sax.helpers.AttributesImpl getMouseOverAttributes()
                                                             throws org.xml.sax.SAXException
org.xml.sax.SAXException

getToolTipAttributes

protected org.xml.sax.helpers.AttributesImpl getToolTipAttributes()
                                                           throws org.xml.sax.SAXException
org.xml.sax.SAXException

getTitleAttributes

protected org.xml.sax.helpers.AttributesImpl getTitleAttributes(GraphTitleDetail titleDetail)
                                                         throws org.xml.sax.SAXException
org.xml.sax.SAXException

writeXAxisAttributes

protected void writeXAxisAttributes(XMLWriter xmlWriter,
                                    GraphXAxisDetail axisDetail,
                                    java.lang.String name)
                             throws org.xml.sax.SAXException
org.xml.sax.SAXException

writeYAxisAttributes

protected void writeYAxisAttributes(XMLWriter xmlWriter,
                                    GraphYAxisDetail axisDetail,
                                    java.lang.String name)
                             throws org.xml.sax.SAXException
org.xml.sax.SAXException

writeZAxisAttributes

protected void writeZAxisAttributes(XMLWriter xmlWriter,
                                    GraphZAxisDetail axisDetail,
                                    java.lang.String name)
                             throws org.xml.sax.SAXException
org.xml.sax.SAXException

getAxisNameAttributes

protected org.xml.sax.helpers.AttributesImpl getAxisNameAttributes(AxisDetail axisDetail)
                                                            throws org.xml.sax.SAXException
org.xml.sax.SAXException

getAxisLabelAttributes

protected org.xml.sax.helpers.AttributesImpl getAxisLabelAttributes(AxisDetail axisDetail)
                                                             throws org.xml.sax.SAXException
org.xml.sax.SAXException

getAxisLineAttributes

protected org.xml.sax.helpers.AttributesImpl getAxisLineAttributes(AxisDetail axisDetail)
                                                            throws org.xml.sax.SAXException
org.xml.sax.SAXException

getAxisGridAttributes

protected org.xml.sax.helpers.AttributesImpl getAxisGridAttributes(AxisDetail axisDetail)
                                                            throws org.xml.sax.SAXException
org.xml.sax.SAXException

writeGraphData

protected void writeGraphData(XMLWriter xmlwriter)
                       throws org.xml.sax.SAXException
org.xml.sax.SAXException

getColomnLabelsAttributes

protected org.xml.sax.helpers.AttributesImpl getColomnLabelsAttributes()
                                                                throws org.xml.sax.SAXException
org.xml.sax.SAXException

writeGraphDataAttributes

protected void writeGraphDataAttributes(XMLWriter xmlwriter,
                                        java.lang.String name,
                                        GraphPanel object)
                                 throws org.xml.sax.SAXException
org.xml.sax.SAXException

setXAxisNameVisible

public void setXAxisNameVisible(boolean visible)
set X-Axis Name visible

Parameters:
visible - if true then X-Axis name is display otherwise not drawn

getXAxisNameVisible

public boolean getXAxisNameVisible()
You can display the X-Axis Name using this method

Returns:
boolean true if X-Axis name is display otherwise false

setXAxisName

public void setXAxisName(java.lang.String name)
set X-Axis Name

Parameters:
name - String representing X-Axis name

getXAxisName

public java.lang.String getXAxisName()
To assign a name to the X-Axis you can use this method

Returns:
String String Object representing X-Axis name

setXAxisNameMaxLine

public void setXAxisNameMaxLine(int max)
set X-Axis Name Maximum number of lines

Parameters:
max - Maximum number of X-Axis name lines

getXAxisNameMaxLine

public int getXAxisNameMaxLine()
Maximum number of lines in which the X-Axis Name must be displayed can be set with this method

Returns:
int Maximum number of X-Axis name lines

setXAxisNameFont

public void setXAxisNameFont(java.awt.Font namefont)
set X-Axis Name Font

Parameters:
namefont - font style for X-Axis name

getXAxisNameFont

public java.awt.Font getXAxisNameFont()
Select the font for the X-Axis Name using this method

Returns:
Font Specifies X-Axis name Font Style

setXAxisNameForeground

public void setXAxisNameForeground(java.awt.Color foreground)
set X-Axis Name Font Color

Parameters:
foreground - Foregound Color for X-Axis name

getXAxisNameForeground

public java.awt.Color getXAxisNameForeground()
X-Axis Font Color can be selected using this method

Returns:
Color Foreground Color of X-Axis name

setXAxisNameBackgroundVisible

public void setXAxisNameBackgroundVisible(boolean visible)
set X-Axis Name Background visible

Parameters:
visible - if true then X-Axis name Backgound is drawn otherwise not

getXAxisNameBackgroundVisible

public boolean getXAxisNameBackgroundVisible()
To display the background of the X-axis name, you can use this method

Returns:
boolean true if X-Axis name Background is Drawn otherwise false

setXAxisNameBackground

public void setXAxisNameBackground(java.awt.Color bgColor)
set X-Axis Name Background Color

Parameters:
bgColor - Background Color for X-Axis name

getXAxisNameBackground

public java.awt.Color getXAxisNameBackground()
Background Color of the X-Axis Name can be selected using this method

Returns:
Color Background Color of X-Axis name

setXAxisNameBorderStyle

public void setXAxisNameBorderStyle(int style)
set X-Axis Name Border style

Parameters:
style - X-Axis name Border style

getXAxisNameBorderStyle

public int getXAxisNameBorderStyle()
X-Axis Name Border style can be selected with this method

Returns:
int X-Axis name Border style

setXAxisNameBorderWidth

public void setXAxisNameBorderWidth(int width)
set X-Axis Name Border Width

Parameters:
width - X-Axis name Border width

getXAxisNameBorderWidth

public int getXAxisNameBorderWidth()
The width of the border of the X-Axis Name can be adjusted with this method

Returns:
int X-Axis name Border width

setXAxisNameBorderColor

public void setXAxisNameBorderColor(java.awt.Color inColor)
set X-Axis Name Border Color

Parameters:
inColor - X-Axis name Border color

getXAxisNameBorderColor

public java.awt.Color getXAxisNameBorderColor()
Use this method to select the X-Axis Name Border Color

Returns:
Color X-Axis name Border Color

setXAxisNameShadowStyle

public void setXAxisNameShadowStyle(int style)
set X-Axis Name Shadow style

Parameters:
style - X-Axis name Shadow style

getXAxisNameShadowStyle

public int getXAxisNameShadowStyle()
Shadow style of the X-Axis Name can be selected with this method

Returns:
int X-Axis name Shadow style

setXAxisNameShadowWidth

public void setXAxisNameShadowWidth(int width)
set X-Axis Name Shadow Width

Parameters:
width - X-Axis name Shadow width

getXAxisNameShadowWidth

public int getXAxisNameShadowWidth()
Shadow width of the X-Axis Name can be adjusted with this method

Returns:
int X-Axis name Shadow width

setXAxisNameShadowColor

public void setXAxisNameShadowColor(java.awt.Color inColor)
set X-Axis Name Shadow Color

Parameters:
inColor - X-Axis name Shadow color

getXAxisNameShadowColor

public java.awt.Color getXAxisNameShadowColor()
X-Axis Name Shadow Color can be selected with this method

Returns:
Color X-Axis name Shadow Color

setXAxisNameAlign

public void setXAxisNameAlign(int align)
set X-Axis Name Alignment

Parameters:
align - Alignment of X-Axis name

getXAxisNameAlign

public int getXAxisNameAlign()
X-Axis Name Alignment can be set using this method

Returns:
int Alignment of X-Axis name

setXAxisLabelVisible

public void setXAxisLabelVisible(boolean visible)
set X-Axis Label visible

Parameters:
visible - if true then X-Axis labels are display otherwise not drawn

getXAxisLabelVisible

public boolean getXAxisLabelVisible()
To display the X-Axis Label you can use this method

Returns:
boolean true if X-Axis Labels are display otherwise false

setXAxisLabelAlign

public void setXAxisLabelAlign(int align)
set X-Axis Label alignment


getXAxisLabelAlign

public int getXAxisLabelAlign()
X-Axis Label alignment can be chosen using this method.

Returns:
Alignment of X-Axis Label

setXAxisLabelGap

public void setXAxisLabelGap(int gap)
set X-Axis Label gap


getXAxisLabelGap

public int getXAxisLabelGap()
The label gap can be adjusted using the get X-Axis Label gap method

Returns:
X-Axis Label gap

setXAxisLabelFont

public void setXAxisLabelFont(java.awt.Font labelfont)
set X-Axis Label Font


getXAxisLabelFont

public java.awt.Font getXAxisLabelFont()
Font of the X-Axis Label can be selected using this method

Returns:
Font Specifies X-Axis Label Font Style

setXAxisLabelForeground

public void setXAxisLabelForeground(java.awt.Color foreground)
set X-Axis Label Font Color

Parameters:
foreground - Foreground Color for X-Axis label

getXAxisLabelForeground

public java.awt.Color getXAxisLabelForeground()
You can select the font color of the X-axis using this method

Returns:
Color Foreground Color of Axis label

setXAxisLabelBackgroundVisible

public void setXAxisLabelBackgroundVisible(boolean visible)
set X-Axis label Background visible

Parameters:
visible - if true then X-Axis label Backgound is drawn otherwise not

getXAxisLabelBackgroundVisible

public boolean getXAxisLabelBackgroundVisible()
You can choose if you want to have X-Axis label Background visible by this method

Returns:
boolean true if X-Axis label Background is Drawn otherwise false

setXAxisLabelBackground

public void setXAxisLabelBackground(java.awt.Color Backgroundcolor)
set X-Axis label Background Color


getXAxisLabelBackground

public java.awt.Color getXAxisLabelBackground()
Background Color of the X-axis label can be selected using this method

Returns:
Color Background Color of X-Axis label

setXAxisLabelAlignAngle

public void setXAxisLabelAlignAngle(int angle)
set X-Axis Name Alignment Angle


getXAxisLabelAlignAngle

public int getXAxisLabelAlignAngle()
X-Axis Label Alignment Angle can be set using this method

Returns:
int Alignment Angle of X-Axis Label

setOverLapXAxisLabelEnable

public void setOverLapXAxisLabelEnable(boolean visible)
set X-Axis label OverLap enable

Parameters:
visible - if true then Over lap X-Axis label is drawn otherwise not

getOverLapXAxisLabelEnable

public boolean getOverLapXAxisLabelEnable()
X-Axis label Overlapping can be enabled or disabled with this method

Returns:
boolean true if OverLap X-Axis label is Drawn otherwise false

setXAxisLabelFormat

public void setXAxisLabelFormat(java.lang.String formatStr)
set X-Axis Label Format string

Parameters:
formatStr - String representing X-Axis Label Format

getXAxisLabelFormat

public java.lang.String getXAxisLabelFormat()
X-Axis Label Formatting can be done using this method

Returns:
String String Object representing X-Axis Label Format

setXAxisLabelDrillDownEnable

public void setXAxisLabelDrillDownEnable(boolean enable)
set X-Axis label DrillDown Enable


getXAxisLabelDrillDownEnable

public boolean getXAxisLabelDrillDownEnable()
X-Axis label DrillDown can be enabled or disabled using this method

Returns:
boolean true if X-Axis label DrillDown Enable otherwise false

setXAxisLabelTooltipText

public void setXAxisLabelTooltipText(java.lang.String tooltip)
set X-Axis Label Tooltip text

Parameters:
tooltip - String representing X-Axis Label tooltip text

getXAxisLabelTooltipText

public java.lang.String getXAxisLabelTooltipText()
Using this method you can choose to have tool tip text for an X-axis label

Returns:
String String Object representing X-Axis Label Tooltip Text

setXAxisLineColor

public void setXAxisLineColor(java.awt.Color linecolor)
set X-Axis Major Line Color

Parameters:
linecolor - Color of Major X-Axis line

getXAxisLineColor

public java.awt.Color getXAxisLineColor()
X-Axis Major Line Color can be selected using this method

Returns:
Color Major X-axis line Color

setXAxisLineWidth

public void setXAxisLineWidth(int width)
set X-Axis Major Line Width


getXAxisLineWidth

public int getXAxisLineWidth()
X-Axis Major Line Width can be selected using this method

Returns:
int line Width of Major X-axis

setXAxisTickLineVisible

public void setXAxisTickLineVisible(boolean visible)
set X-Axis Tick Line visible on Major Line

Parameters:
visible - if true then X-Axis Tick line is drawn otherwise not

getXAxisTickLineVisible

public boolean getXAxisTickLineVisible()
Use this method toget X-Axis Tick Line visible on Major Line

Returns:
boolean true if X-Axis Tick line is drawn otherwise false

setXAxisTickLineColor

public void setXAxisTickLineColor(java.awt.Color linecolor)
set X-Axis Tick Line Color


getXAxisTickLineColor

public java.awt.Color getXAxisTickLineColor()
Color of the X-Axis Tick Line can be assigned using this method

Returns:
Color Tick Line Color

setXAxisTickLineWidth

public void setXAxisTickLineWidth(int width)
set X-Axis Tick Line Width


getXAxisTickLineWidth

public int getXAxisTickLineWidth()
X-Axis Tick Line Width can be adjusted using this method

Returns:
int Width of X-Axis Tick Line

setXAxisTickLineHeight

public void setXAxisTickLineHeight(int height)
set X-Axis Tick Line Height

Parameters:
height - Height of X-Axis Tick line

getXAxisTickLineHeight

public int getXAxisTickLineHeight()
X-Axis Tick Line Height can be adjusted using this method

Returns:
int Height of X-Axis Tick Line

setXAxisTickLinePosition

public void setXAxisTickLinePosition(int position)
set X-Axis Tick Line Position

Parameters:
position - Position of X-Axis Tick line

getXAxisTickLinePosition

public int getXAxisTickLinePosition()
the Position of the X-Axis Tick Line can be set using this method

Returns:
int Position of X-Axis Tick Line

setXAxisGridLineVisible

public void setXAxisGridLineVisible(boolean visible)
set X-Axis Grid Line visible on Major Line

Parameters:
visible - if true then X-Axis Grid line is drawn otherwise not

getXAxisGridLineVisible

public boolean getXAxisGridLineVisible()
This method lets you choose if you want to have X-Axis Grid Line visible on Major Line

Returns:
boolean true if X-Axis Grid line is drawn otherwise false

setXAxisGridLineColor

public void setXAxisGridLineColor(java.awt.Color linecolor)
set X-Axis Grid Line Color


getXAxisGridLineColor

public java.awt.Color getXAxisGridLineColor()
This method allows you to select the X-Axis Grid Line Color

Returns:
Color Grid Line Color

setXAxisGridLineWidth

public void setXAxisGridLineWidth(int width)
set X-Axis Grid Line Width


getXAxisGridLineWidth

public int getXAxisGridLineWidth()
You can adjust X-Axis Grid Line Width using this method

Returns:
int Width of X-Axis Grid Line

setXAxisGridLineStyle

public void setXAxisGridLineStyle(int style)
set X-Axis Grid Line Style

Parameters:
style - Style of X-Axis Grid line

getXAxisGridLineStyle

public int getXAxisGridLineStyle()
This method allows you to select X-Axis Grid Line Style

Returns:
int Style of X-Axis Grid Line

setXAxisGridStripVisible

public void setXAxisGridStripVisible(boolean visible)
set X-Axis Grid Strip visible on Major Line

Parameters:
visible - if true then X-Axis Grid Strip is drawn otherwise not

getXAxisGridStripVisible

public boolean getXAxisGridStripVisible()
get X-Axis Grid Strip visible on Major Line

Returns:
boolean true if X-Axis Grid Strip is drawn otherwise false

setXAxisGridStripColor

public void setXAxisGridStripColor(java.awt.Color linecolor)
set X-Axis Grid Strip Color


getXAxisGridStripColor

public java.awt.Color getXAxisGridStripColor()
Color of the X-Axis Grid Strip can be selected using this method

Returns:
Color Grid Line Color

setXZeroGridLineColor

public void setXZeroGridLineColor(java.awt.Color linecolor)
set X-Axis Zero Grid Line Color


getXZeroGridLineColor

public java.awt.Color getXZeroGridLineColor()
Color of the X-Axis Zero Grid can be selected using this method

Returns:
Color Grid Line Color

setXZeroGridLineWidth

public void setXZeroGridLineWidth(int width)
set X-Axis Zero Grid Line Width


getXZeroGridLineWidth

public int getXZeroGridLineWidth()
You can adjust X-Axis Zero Grid Line Width using this method

Returns:
int Width of Y-Axis Grid Line

setXZeroGridLineStyle

public void setXZeroGridLineStyle(int style)
set X-Axis Zero Grid Line Style

Parameters:
style - Style of X-Axis Zero Grid line

getXZeroGridLineStyle

public int getXZeroGridLineStyle()
This method allows you to select X-Axis Zero Grid Line Style

Returns:
int Style of Axis Grid Line

setXAxisMaxLabelValue

public void setXAxisMaxLabelValue(double max)
set XAxis Maximum Label value

Parameters:
max - Maximum value of Xaxis

getXAxisMaxLabelValue

public double getXAxisMaxLabelValue()
get Axis max Label value

Returns:
int max of Axis Label value

setXAxisMinLabelValue

public void setXAxisMinLabelValue(double min)
set XAxis Minimum Label value


getXAxisMinLabelValue

public double getXAxisMinLabelValue()
get Axis min Label value

Returns:
int min of Axis Label value

setXDivisionValue

public void setXDivisionValue(double div)
set XAxis Division value

Parameters:
div - Division Value

getXDivisionValue

public double getXDivisionValue()
get Axis Division Label value

Returns:
int division of Axis Label value

setYDivisionValue

public void setYDivisionValue(double value)
Set Division Value For Y-Axis

Parameters:
value - This value specifies the interval on which Y-axis label(values)are displayed

getYDivisionValue

public double getYDivisionValue()
Get Division Value For Y-Axis

Returns:
double This value specifies the interval on which Y-axis label(values)are displayed

setYAxisPosition

public void setYAxisPosition(int position)
Set position of Y-Axis

Parameters:
position - GraphConstants.LEFT or GraphConstants.RIGHT

getYAxisPosition

public int getYAxisPosition()
Get position of Y-Axis

Returns:
int Constant specifying position of Y-Axis

setYAxisNameVisible

public void setYAxisNameVisible(boolean visible)
set Y-Axis Name visible

Parameters:
visible - if true then Y-Axis name is display otherwise not drawn

getYAxisNameVisible

public boolean getYAxisNameVisible()
You can display the Y-Axis Name using this method

Returns:
boolean true if Y-Axis name is display otherwise false

setYAxisName

public void setYAxisName(java.lang.String name)
set Y-Axis Name

Parameters:
name - String representing Y-Axis name

getYAxisName

public java.lang.String getYAxisName()
To assign a name to the Y-Axis you can use this method

Returns:
String String Object representing Axis name

setYAxisNameMaxLine

public void setYAxisNameMaxLine(int max)
set Y-Axis Name Maximum number of lines

Parameters:
max - Maximum number of Y-Axis name lines

getYAxisNameMaxLine

public int getYAxisNameMaxLine()
Maximum number of lines in which the Y-Axis Name must be displayed can be set with this method

Returns:
int Maximum number of Y-Axis name lines

setYAxisNameFont

public void setYAxisNameFont(java.awt.Font namefont)
set Y-Axis Name Font

Parameters:
namefont - font style for Y-Axis name

getYAxisNameFont

public java.awt.Font getYAxisNameFont()
Select the font for the Y-Axis Name using this method

Returns:
Font Specifies Y-Axis name Font Style

setYAxisNameForeground

public void setYAxisNameForeground(java.awt.Color foreground)
set Y-Axis Name Font Color

Parameters:
foreground - Foregound Color for Y-Axis name

getYAxisNameForeground

public java.awt.Color getYAxisNameForeground()
Y-Axis Font Color can be selected using this method

Returns:
Color Foreground Color of Y-Axis name

setYAxisNameBackgroundVisible

public void setYAxisNameBackgroundVisible(boolean visible)
set Y-Axis Name Background visible

Parameters:
visible - if true then Y-Axis name Backgound is drawn otherwise not

getYAxisNameBackgroundVisible

public boolean getYAxisNameBackgroundVisible()
To display the background of the Y-axis name, you can use this method

Returns:
boolean true if Y-Axis name Background is Drawn otherwise false

setYAxisNameBackground

public void setYAxisNameBackground(java.awt.Color bgColor)
set Y-Axis Name Background Color

Parameters:
bgColor - Background Color for Y-Axis name

getYAxisNameBackground

public java.awt.Color getYAxisNameBackground()
Background Color of the Y-Axis Name can be selected using this method

Returns:
Color Background Color of Y-xis name

setYAxisNameBorderStyle

public void setYAxisNameBorderStyle(int style)
set Y-Axis Name Border style

Parameters:
style - Y-Axis name Border style

getYAxisNameBorderStyle

public int getYAxisNameBorderStyle()
Y-Axis Name Border style can be selected with this method

Returns:
int Y-Axis name Border style

setYAxisNameBorderWidth

public void setYAxisNameBorderWidth(int width)
set Y-Axis Name Border Width

Parameters:
width - Y-Axis name Border width

getYAxisNameBorderWidth

public int getYAxisNameBorderWidth()
The width of the border of the Y-Axis Name can be adjusted with this method

Returns:
int Y-Axis name Border width

setYAxisNameBorderColor

public void setYAxisNameBorderColor(java.awt.Color inColor)
set Y-Axis Name Border Color

Parameters:
inColor - Y-Axis name Border color

getYAxisNameBorderColor

public java.awt.Color getYAxisNameBorderColor()
Use this method to select the Y-Axis Name Border Color

Returns:
Color Y-Axis name Border Color

setYAxisNameShadowStyle

public void setYAxisNameShadowStyle(int style)
set Axis Name Shadow style

Parameters:
style - Axis name Shadow style

getYAxisNameShadowStyle

public int getYAxisNameShadowStyle()
Shadow style of the Y-Axis Name can be selected with this method

Returns:
int Y-Axis name Shadow style

setYAxisNameShadowWidth

public void setYAxisNameShadowWidth(int width)
set Y-Axis Name Shadow Width

Parameters:
width - Y-Axis name Shadow width

getYAxisNameShadowWidth

public int getYAxisNameShadowWidth()
Shadow width of the Y-Axis Name can be adjusted with this method

Returns:
int Y-Axis name Shadow width

setYAxisNameShadowColor

public void setYAxisNameShadowColor(java.awt.Color inColor)
set Y-Axis Name Shadow Color

Parameters:
inColor - Y-Axis name Shadow color

getYAxisNameShadowColor

public java.awt.Color getYAxisNameShadowColor()
Y-Axis Name Shadow Color can be selected with this method

Returns:
Color Y-Axis name Shadow Color

setYAxisNameAlign

public void setYAxisNameAlign(int align)
set Y-Axis Name Alignment

Parameters:
align - Alignment of Y-Axis name

getYAxisNameAlign

public int getYAxisNameAlign()
Y-Axis Name Alignment can be set using this method

Returns:
int Alignment of Y-Axis name

setYAxisLabelVisible

public void setYAxisLabelVisible(boolean visible)
set Y-Axis Label visible

Parameters:
visible - if true then Y-Axis labels are display otherwise not drawn

getYAxisLabelVisible

public boolean getYAxisLabelVisible()
To display the Y-Axis Label you can use this method

Returns:
boolean true if Y-Axis Labels are display otherwise false

setYAxisLabelAlign

public void setYAxisLabelAlign(int align)
set Y-Axis Label alignment


getYAxisLabelAlign

public int getYAxisLabelAlign()
Y-Axis Label alignment can be chosen using this method.

Returns:
Alignment of Y-Axis Label

setYAxisLabelFont

public void setYAxisLabelFont(java.awt.Font labelfont)
set Y-Axis Label Font


getYAxisLabelFont

public java.awt.Font getYAxisLabelFont()
Font of the Y-Axis Label can be selected using this method

Returns:
Font Specifies Y-Axis Label Font Style

setYAxisLabelForeground

public void setYAxisLabelForeground(java.awt.Color foreground)
set Y-Axis Label Font Color

Parameters:
foreground - Foreground Color for Y-Axis label

getYAxisLabelForeground

public java.awt.Color getYAxisLabelForeground()
You can select the font color of the Y-axis using this method

Returns:
Color Foreground Color of Y-Axis label

setYAxisLabelBackgroundVisible

public void setYAxisLabelBackgroundVisible(boolean visible)
set Y-Axis label Background visible

Parameters:
visible - if true then Y-Axis label Backgound is drawn otherwise not

getYAxisLabelBackgroundVisible

public boolean getYAxisLabelBackgroundVisible()
You can choose if you want to have Y-Axis label Background visible by this method

Returns:
boolean true if Y-Axis label Background is Drawn otherwise false

setYAxisLabelBackground

public void setYAxisLabelBackground(java.awt.Color Backgroundcolor)
set Y-Axis label Background Color


getYAxisLabelBackground

public java.awt.Color getYAxisLabelBackground()
Background Color of the Y-axis label can be selected using this method

Returns:
Color Background Color of Y-Axis label

setYAxisLabelAlignAngle

public void setYAxisLabelAlignAngle(int angle)
set Y-Axis Name Alignment Angle


getYAxisLabelAlignAngle

public int getYAxisLabelAlignAngle()
Y-Axis Label Alignment Angle can be set using this method

Returns:
int Alignment Angle of Y-Axis Label

setOverLapYAxisLabelEnable

public void setOverLapYAxisLabelEnable(boolean visible)
set Y-Axis label OverLap enable

Parameters:
visible - if true then Over lap Y-Axis label is drawn otherwise not

getOverLapYAxisLabelEnable

public boolean getOverLapYAxisLabelEnable()
Y-Axis label Overlapping can be enabled or disabled with this method

Returns:
boolean true if OverLap Y-Axis label is Drawn otherwise false

setYAxisLabelFormat

public void setYAxisLabelFormat(java.lang.String formatStr)
set Y-Axis Label Format string

Parameters:
formatStr - String representing Y-Axis Label Format

getYAxisLabelFormat

public java.lang.String getYAxisLabelFormat()
Y-Axis Label Formatting can be done using this method

Returns:
String String Object representing Y-Axis Label Format

setYAxisLabelDrillDownEnable

public void setYAxisLabelDrillDownEnable(boolean enable)
set Y-Axis label DrillDown Enable


getYAxisLabelDrillDownEnable

public boolean getYAxisLabelDrillDownEnable()
Y-Axis label DrillDown can be enabled or disabled using this method

Returns:
boolean true if Y-Axis label DrillDown Enable otherwise false

setYAxisLabelTooltipText

public void setYAxisLabelTooltipText(java.lang.String tooltip)
set Y-Axis Label Tooltip text

Parameters:
tooltip - String representing Y-Axis Label tooltip text

getYAxisLabelTooltipText

public java.lang.String getYAxisLabelTooltipText()
Using this method you can choose to have tool tip text for an Y-axis label

Returns:
String String Object representing Y-Axis Label Tooltip Text

setYAxisLineColor

public void setYAxisLineColor(java.awt.Color linecolor)
set Y-Axis Major Line Color

Parameters:
linecolor - Color of Major Y-Axis line

getYAxisLineColor

public java.awt.Color getYAxisLineColor()
Y-Axis Major Line Color can be selected using this method

Returns:
Color Major Y-axis line Color

setYAxisLineWidth

public void setYAxisLineWidth(int width)
set Y-Axis Major Line Width


getYAxisLineWidth

public int getYAxisLineWidth()
Y-Axis Major Line Width can be selected using this method

Returns:
int line Width of Major Y-axis

setYAxisTickLineVisible

public void setYAxisTickLineVisible(boolean visible)
set Y-Axis Tick Line visible on Major Line

Parameters:
visible - if true then Y-Axis Tick line is drawn otherwise not

getYAxisTickLineVisible

public boolean getYAxisTickLineVisible()
Use this method toget Y-Axis Tick Line visible on Major Line

Returns:
boolean true if Y-Axis Tick line is drawn otherwise false

setYAxisTickLineColor

public void setYAxisTickLineColor(java.awt.Color linecolor)
set Y-Axis Tick Line Color


getYAxisTickLineColor

public java.awt.Color getYAxisTickLineColor()
Color of the Y-Axis Tick Line can be assigned using this method

Returns:
Color Tick Line Color

setYAxisTickLineWidth

public void setYAxisTickLineWidth(int width)
set Y-Axis Tick Line Width


getYAxisTickLineWidth

public int getYAxisTickLineWidth()
Y-Axis Tick Line Width can be adjusted using this method

Returns:
int Width of Y-Axis Tick Line

setYAxisTickLineHeight

public void setYAxisTickLineHeight(int height)
set Y-Axis Tick Line Height

Parameters:
height - Height of Y-Axis Tick line

getYAxisTickLineHeight

public int getYAxisTickLineHeight()
Y-Axis Tick Line Height can be adjusted using this method

Returns:
int Height of Y-Axis Tick Line

setYAxisTickLinePosition

public void setYAxisTickLinePosition(int position)
set Y-Axis Tick Line Position

Parameters:
position - Position of Y-Axis Tick line

getYAxisTickLinePosition

public int getYAxisTickLinePosition()
the Position of the Y-Axis Tick Line can be set using this method

Returns:
int Position of Y-Axis Tick Line

setYAxisGridLineVisible

public void setYAxisGridLineVisible(boolean visible)
set Y-Axis Grid Line visible on Major Line

Parameters:
visible - if true then Y-Axis Grid line is drawn otherwise not

getYAxisGridLineVisible

public boolean getYAxisGridLineVisible()
This method lets you choose if you want to have Y-Axis Grid Line visible on Major Line

Returns:
boolean true if Y-Axis Grid line is drawn otherwise false

setYAxisGridLineColor

public void setYAxisGridLineColor(java.awt.Color linecolor)
set Y-Axis Grid Line Color


getYAxisGridLineColor

public java.awt.Color getYAxisGridLineColor()
This method allows you to select the Y-Axis Grid Line Color

Returns:
Color Grid Line Color

setYAxisGridLineWidth

public void setYAxisGridLineWidth(int width)
set Y-Axis Grid Line Width


getYAxisGridLineWidth

public int getYAxisGridLineWidth()
You can adjust Y-Axis Grid Line Width using this method

Returns:
int Width of Y-Axis Grid Line

setYAxisGridLineStyle

public void setYAxisGridLineStyle(int style)
set Y-Axis Grid Line Style

Parameters:
style - Style of Y-Axis Grid line

getYAxisGridLineStyle

public int getYAxisGridLineStyle()
This method allows you to select Y-Axis Grid Line Style

Returns:
int Style of Y-Axis Grid Line

setYAxisGridStripVisible

public void setYAxisGridStripVisible(boolean visible)
set Y-Axis Grid Strip visible on Major Line

Parameters:
visible - if true then Y-Axis Grid Strip is drawn otherwise not

getYAxisGridStripVisible

public boolean getYAxisGridStripVisible()
get Y-Axis Grid Strip visible on Major Line

Returns:
boolean true if Y-Axis Grid Strip is drawn otherwise false

setYAxisGridStripColor

public void setYAxisGridStripColor(java.awt.Color linecolor)
set Y-Axis Grid Strip Color


getYAxisGridStripColor

public java.awt.Color getYAxisGridStripColor()
Color of the Y-Axis Grid Strip can be selected using this method

Returns:
Color Grid Line Color

setYZeroGridLineColor

public void setYZeroGridLineColor(java.awt.Color linecolor)
set Y-Axis Zero Grid Line Color


getYZeroGridLineColor

public java.awt.Color getYZeroGridLineColor()
Color of the Y-Axis Zero Grid can be selected using this method

Returns:
Color Grid Line Color

setYZeroGridLineWidth

public void setYZeroGridLineWidth(int width)
set Y-Axis Zero Grid Line Width


getYZeroGridLineWidth

public int getYZeroGridLineWidth()
You can adjust Y-Axis Zero Grid Line Width using this method

Returns:
int Width of Y-Axis Zero Grid Line

setYZeroGridLineStyle

public void setYZeroGridLineStyle(int style)
set Y-Axis Zero Grid Line Style

Parameters:
style - Style of Y-Axis Zero Grid line

getYZeroGridLineStyle

public int getYZeroGridLineStyle()
This method allows you to select Y-Axis Zero Grid Line Style

Returns:
int Style of Y-Axis Zero Grid Line

setZAxisVisible

public void setZAxisVisible(boolean visible)
Set Z-Axis Visible/Hide

Parameters:
visible - true - legends are displayed otherwise not

getZAxisVisible

public boolean getZAxisVisible()
Get Z-Axis Visible/Hide

Returns:
boolean true - legends are displayed otherwise false

setZAxisBackgroundVisible

public void setZAxisBackgroundVisible(boolean visible)
Set Z-Axis Background Visible

Parameters:
visible - true - fill background with specified color

getZAxisBackgroundVisible

public boolean getZAxisBackgroundVisible()
Get Z-Axis Background Visible

Returns:
boolean true - fill background with specified color otherwise false

setZAxisBackground

public void setZAxisBackground(java.awt.Color bgColor)
To display the background of the Z-axis , you can use this method

Parameters:
bgColor - Background Color

getZAxisBackground

public java.awt.Color getZAxisBackground()
Background Color of the Z-Axis can be selected using this method

Returns:
Color Background Color

setZAxisPosition

public void setZAxisPosition(int pos)
set Axis Position


getZAxisPosition

public int getZAxisPosition()
get Axis Position

Returns:
int Position of Z-Axis

setZAxisAlignment

public void setZAxisAlignment(int align)
set Axis Position

Parameters:
align - Position of Z-Axis

getZAxisAlignment

public int getZAxisAlignment()
get Axis Position

Returns:
int Position of Z-Axis

setZAxisLabelShowOrder

public void setZAxisLabelShowOrder(int align)
set Z AxisLabel Show Order 0 : Left to Right (for H alignment) Top to Bottom (for V alignment) 1 : Right to Left (for H alignment) Bottom to Top (for V alignment)

Parameters:
align - order of Z-Axis labels

getZAxisLabelShowOrder

public int getZAxisLabelShowOrder()
get Z AxisLabel Show Order

Returns:
int Order of Z-Axis Labels

setZAxisBorderStyle

public void setZAxisBorderStyle(int style)
set Z-Axis Border style

Parameters:
style - Z-Axis Border style

getZAxisBorderStyle

public int getZAxisBorderStyle()
Z-Axis Border style can be selected with this method

Returns:
int Z-Axis Border style

setZAxisBorderWidth

public void setZAxisBorderWidth(int width)
set Z Axis Border Width

Parameters:
width - Z Axis Border width

getZAxisBorderWidth

public int getZAxisBorderWidth()
get Z Axis Border width

Returns:
int Z Axis Border width

setZAxisBorderColor

public void setZAxisBorderColor(java.awt.Color inColor)
set Z Axis Border Color

Parameters:
inColor - Z Axis Border color

getZAxisBorderColor

public java.awt.Color getZAxisBorderColor()
get Z Axis Border Color

Returns:
Color Z Axis Border Color

setZAxisShadowStyle

public void setZAxisShadowStyle(int style)
set Z Axis Shadow style

Parameters:
style - Z Axis Shadow style

getZAxisShadowStyle

public int getZAxisShadowStyle()
get Z Axis Shadow style

Returns:
int Z Axis Shadow style

setZAxisShadowWidth

public void setZAxisShadowWidth(int width)
set Z Axis Shadow Width

Parameters:
width - Z Axis Shadow width

getZAxisShadowWidth

public int getZAxisShadowWidth()
get Z Axis Shadow width

Returns:
int Z Axis Shadow width

setZAxisShadowColor

public void setZAxisShadowColor(java.awt.Color inColor)
set Z Axis Shadow Color

Parameters:
inColor - Z Axis Shadow color

getZAxisShadowColor

public java.awt.Color getZAxisShadowColor()
get Z Axis Shadow Color

Returns:
Color Z Axis Shadow Color

setZAxisNameVisible

public void setZAxisNameVisible(boolean visible)
set Z-Axis Name visible

Parameters:
visible - if true then Z-Axis name is display otherwise not drawn

getZAxisNameVisible

public boolean getZAxisNameVisible()
You can display the Z-Axis Name using this method

Returns:
boolean true if Z-Axis name is display otherwise false

setZAxisName

public void setZAxisName(java.lang.String name)
set Z-Axis Name

Parameters:
name - String representing Z-Axis name

getZAxisName

public java.lang.String getZAxisName()
To assign a name to the Z-Axis you can use this method

Returns:
String String Object representing Z-Axis name

setZAxisNameMaxLine

public void setZAxisNameMaxLine(int max)
set Z-Axis Name Maximum number of lines

Parameters:
max - Maximum number of Z-Axis name lines

getZAxisNameMaxLine

public int getZAxisNameMaxLine()
Maximum number of lines in which the Z-Axis Name must be displayed can be set with this method

Returns:
int Maximum number of Z-Axis name lines

setZAxisNameFont

public void setZAxisNameFont(java.awt.Font namefont)
set Z-Axis Name Font

Parameters:
namefont - font style for Z-Axis name

getZAxisNameFont

public java.awt.Font getZAxisNameFont()
Select the font for the Z-Axis Name using this method

Returns:
Font Specifies Z-Axis name Font Style

setZAxisNameForeground

public void setZAxisNameForeground(java.awt.Color foreground)
set Z-Axis Name Font Color

Parameters:
foreground - Foregound Color for Z-Axis name

getZAxisNameForeground

public java.awt.Color getZAxisNameForeground()
Z-Axis Font Color can be selected using this method

Returns:
Color Foreground Color of Z-Axis name

setZAxisNameBackgroundVisible

public void setZAxisNameBackgroundVisible(boolean visible)
set Z-Axis Name Background visible

Parameters:
visible - if true then Z-Axis name Backgound is drawn otherwise not

getZAxisNameBackgroundVisible

public boolean getZAxisNameBackgroundVisible()
To display the background of the Z-axis name, you can use this method

Returns:
boolean true if Z-Axis name Background is Drawn otherwise false

setZAxisNameBackground

public void setZAxisNameBackground(java.awt.Color bgColor)
set Z-Axis Name Background Color

Parameters:
bgColor - Background Color for Z-Axis name

getZAxisNameBackground

public java.awt.Color getZAxisNameBackground()
Background Color of the Z-Axis Name can be selected using this method

Returns:
Color Background Color of Z-Axis name

setZAxisNameBorderStyle

public void setZAxisNameBorderStyle(int style)
set Z-Axis Name Border style

Parameters:
style - Z-Axis name Border style

getZAxisNameBorderStyle

public int getZAxisNameBorderStyle()
Z-Axis Name Border style can be selected with this method

Returns:
int Z-Axis name Border style

setZAxisNameBorderWidth

public void setZAxisNameBorderWidth(int width)
set Z-Axis Name Border Width

Parameters:
width - Z-Axis name Border width

getZAxisNameBorderWidth

public int getZAxisNameBorderWidth()
The width of the border of the Z-Axis Name can be adjusted with this method

Returns:
int Z-Axis name Border width

setZAxisNameBorderColor

public void setZAxisNameBorderColor(java.awt.Color inColor)
set Z-Axis Name Border Color

Parameters:
inColor - Z-Axis name Border color

getZAxisNameBorderColor

public java.awt.Color getZAxisNameBorderColor()
Use this method to select the Z-Axis Name Border Color

Returns:
Color Z-Axis name Border Color

setZAxisNameShadowStyle

public void setZAxisNameShadowStyle(int style)
set Axis Name Shadow style

Parameters:
style - Axis name Shadow style

getZAxisNameShadowStyle

public int getZAxisNameShadowStyle()
Shadow style of the Z-Axis Name can be selected with this method

Returns:
int Z-Axis name Shadow style

setZAxisNameShadowWidth

public void setZAxisNameShadowWidth(int width)
set Z-Axis Name Shadow Width

Parameters:
width - Z-Axis name Shadow width

getZAxisNameShadowWidth

public int getZAxisNameShadowWidth()
Shadow width of the Z-Axis Name can be adjusted with this method

Returns:
int Z-Axis name Shadow width

setZAxisNameShadowColor

public void setZAxisNameShadowColor(java.awt.Color inColor)
set Z-Axis Name Shadow Color

Parameters:
inColor - Z-Axis name Shadow color

getZAxisNameShadowColor

public java.awt.Color getZAxisNameShadowColor()
Z-Axis Name Shadow Color can be selected with this method

Returns:
Color Z-Axis name Shadow Color

setZAxisNameAlign

public void setZAxisNameAlign(int align)
set Z-Axis Name Alignment

Parameters:
align - Alignment of Z-Axis name

getZAxisNameAlign

public int getZAxisNameAlign()
Z-Axis Name Alignment can be set using this method

Returns:
int Alignment of Z-Axis name

setZAxisLabelVisible

public void setZAxisLabelVisible(boolean visible)
set Z-Axis Label visible

Parameters:
visible - if true then Z-Axis labels are display otherwise not drawn

getZAxisLabelVisible

public boolean getZAxisLabelVisible()
To display the Z-Axis Label you can use this method

Returns:
boolean true if Z-Axis Labels are display otherwise false

setZAxisLabelAlign

public void setZAxisLabelAlign(int align)
set Z-Axis Label alignment


getZAxisLabelAlign

public int getZAxisLabelAlign()
Z-Axis Label alignment can be chosen using this method.

Returns:
Alignment of Z-Axis Label

setZAxisLabelFont

public void setZAxisLabelFont(java.awt.Font labelfont)
set Z-Axis Label Font


getZAxisLabelFont

public java.awt.Font getZAxisLabelFont()
Font of the Z-Axis Label can be selected using this method

Returns:
Font Specifies Z-Axis Label Font Style

setZAxisLabelForeground

public void setZAxisLabelForeground(java.awt.Color foreground)
set Z-Axis Label Font Color

Parameters:
foreground - Foreground Color for Z-Axis label

getZAxisLabelForeground

public java.awt.Color getZAxisLabelForeground()
You can select the font color of the Z-axis using this method

Returns:
Color Foreground Color of Z-Axis label

setZAxisLabelBackgroundVisible

public void setZAxisLabelBackgroundVisible(boolean visible)
set Z-Axis label Background visible

Parameters:
visible - if true then Z-Axis label Backgound is drawn otherwise not

getZAxisLabelBackgroundVisible

public boolean getZAxisLabelBackgroundVisible()
You can choose if you want to have Z-Axis label Background visible by this method

Returns:
boolean true if Z-Axis label Background is Drawn otherwise false

setZAxisLabelBackground

public void setZAxisLabelBackground(java.awt.Color Backgroundcolor)
set Z-Axis label Background Color


getZAxisLabelBackground

public java.awt.Color getZAxisLabelBackground()
Background Color of the Z-axis label can be selected using this method

Returns:
Color Background Color of Z-Axis label

setZAxisLabelFormat

public void setZAxisLabelFormat(java.lang.String formatStr)
set Z-Axis Label Format string

Parameters:
formatStr - String representing Z-Axis Label Format

getZAxisLabelFormat

public java.lang.String getZAxisLabelFormat()
Z-Axis Label Formatting can be done using this method

Returns:
String String Object representing Z-Axis Label Format

setZAxisLabelDrillDownEnable

public void setZAxisLabelDrillDownEnable(boolean enable)
set Z-Axis label DrillDown Enable


getZAxisLabelDrillDownEnable

public boolean getZAxisLabelDrillDownEnable()
Z-Axis label DrillDown can be enabled or disabled using this method

Returns:
boolean true if Z-Axis label DrillDown Enable otherwise false

setZAxisLabelTooltipText

public void setZAxisLabelTooltipText(java.lang.String tooltip)
set Z-Axis Label Tooltip text

Parameters:
tooltip - String representing Z-Axis Label tooltip text

getZAxisLabelTooltipText

public java.lang.String getZAxisLabelTooltipText()
Using this method you can choose to have tool tip text for an Z-axis label

Returns:
String String Object representing Z-Axis Label Tooltip Text

setGraphTitleVisible

public void setGraphTitleVisible(boolean visible)
Set Title Of Graph Visible

Parameters:
visible - if true then Title is visible otherwize not

getGraphTitleVisible

public boolean getGraphTitleVisible()
Get Title Of Graph Visible

Returns:
boolean true - Graph Title is visible otherwize not

setGraphTitle

public void setGraphTitle(java.lang.String label)
Set Title Of Graph

Parameters:
label - String representing Title name

getGraphTitle

public java.lang.String getGraphTitle()
Get Title Of Graph

Returns:
String String Object representing Title name

setGraphTitleMaxLine

public void setGraphTitleMaxLine(int max)
set Graph Title Maximum number of lines

Parameters:
max - Maximum number of Graph Title lines

getGraphTitleMaxLine

public int getGraphTitleMaxLine()
get Graph Title Maximum number of lines

Returns:
int Maximum number of Graph Title lines

setGraphTitleFont

public void setGraphTitleFont(java.awt.Font labelfont)
Set Title Of Graph Font

Parameters:
labelfont - font style for Title name

getGraphTitleFont

public java.awt.Font getGraphTitleFont()
Get Title Of Graph Font

Returns:
Font Specifies Title name Font Style

setGraphTitleForeground

public void setGraphTitleForeground(java.awt.Color labelcolor)
Set Title Of Graph Color

Parameters:
labelcolor - Foregound Color for Title

getGraphTitleForeground

public java.awt.Color getGraphTitleForeground()
Get Title Of Graph Color

Returns:
Color Foreground Color of Title

setGraphTitleBackgroundVisible

public void setGraphTitleBackgroundVisible(boolean visible)
Set Title Of Graph Background Visible

Parameters:
visible - if true then Title Backgound is drawn otherwise not

getGraphTitleBackgroundVisible

public boolean getGraphTitleBackgroundVisible()
Get Title Of Graph Background Visible

Returns:
boolean true if Title Background is Drawn otherwise false

setGraphTitleBackground

public void setGraphTitleBackground(java.awt.Color labelcolor)
Set Title Of Graph Background Color

Parameters:
labelcolor - Background Color for Title

getGraphTitleBackground

public java.awt.Color getGraphTitleBackground()
Get Title Of Graph Background Color

Returns:
Color Background Color of Title

setGraphTitleBorderStyle

public void setGraphTitleBorderStyle(int style)
set Title Border style

Parameters:
style - Title Border style

getGraphTitleBorderStyle

public int getGraphTitleBorderStyle()
get Title Border style

Returns:
int Title Border style

setGraphTitleBorderWidth

public void setGraphTitleBorderWidth(int width)
set Graph Border Width

Parameters:
width - Title Border width

getGraphTitleBorderWidth

public int getGraphTitleBorderWidth()
get Graph Border width

Returns:
int Title Border width

setGraphTitleBorderColor

public void setGraphTitleBorderColor(java.awt.Color inColor)
set Graph Border Color

Parameters:
inColor - Title Border color

getGraphTitleBorderColor

public java.awt.Color getGraphTitleBorderColor()
get Graph Border Color

Returns:
Color Title Border Color

setGraphTitleShadowStyle

public void setGraphTitleShadowStyle(int style)
set Title Shadow style

Parameters:
style - Title Shadow style

getGraphTitleShadowStyle

public int getGraphTitleShadowStyle()
get Title Shadow style

Returns:
int Title Shadow style

setGraphTitleShadowWidth

public void setGraphTitleShadowWidth(int width)
set Graph Title Shadow Width

Parameters:
width - Title Shadow width

getGraphTitleShadowWidth

public int getGraphTitleShadowWidth()
get Graph Title Shadow width

Returns:
int Title Shadow width

setGraphTitleShadowColor

public void setGraphTitleShadowColor(java.awt.Color inColor)
set Graph Title Shadow Color

Parameters:
inColor - Title Shadow color

getGraphTitleShadowColor

public java.awt.Color getGraphTitleShadowColor()
get Graph Shadow Color

Returns:
Color Title Shadow Color

setGraphTitleAlign

public void setGraphTitleAlign(int align)
Set Title Of Graph Align

Parameters:
align - Alignment of Title

getGraphTitleAlign

public int getGraphTitleAlign()
Get Title Of Graph Align

Returns:
int Alignment of Title

getXLabelType

public int getXLabelType()

getGraphColors

public GraphColor getGraphColors()

setGraphColors

public void setGraphColors(GraphColor graphColors)

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.