ElegantJCharts Java API Specification v2.0

com.elegantj.graphx
Class GraphLabel

java.lang.Object
  |
  +--com.elegantj.graphx.GraphLabel
All Implemented Interfaces:
java.io.Serializable

public class GraphLabel
extends java.lang.Object
implements java.io.Serializable

GraphLabel class is used to render the text to the axis labels of the graph

See Also:
Serialized Form

Field Summary
 java.util.Vector m_DataMatrix
          Specifies the graph data
 boolean m_fXAxisCommaFormat
          Specifies whether or not the comma format is applied to X-axis
 boolean m_fYAxisCommaFormat
          Specifies whether or not the comma format is applied to y-axis
static double[] m_GradTab
          Specifies the gradients
 GraphicsEx m_GraphicsEx
          Specifies the graphics
 GraphXAxisDetail m_GraphXAxisDetail
          Specifies the GraphXAxisDetail
 int m_MinusXLabels
          Specifies the total number of X-axis minimum labels
 int m_MinusYLabels
          Specifies the total number of y-axis minimum labels
 int m_PlusXLabels
          Specifies the total number of X-axis maximum labels
 int m_PlusYLabels
          Specifies the total number of y-axis maximum labels
 double m_XAbsGradLabel
          Specifies the X-axis gradient absolute label size
 double m_XAxisMaxLabelValue
          Specifies the maximum label value of X-axis
 double m_XAxisMinLabelValue
          Specifies the minimum label value of X-axis
 java.util.Vector m_XLabelList
          Specifies the x-axis labels
 double m_XMaxLabelValue
          Specifies the x-axis maximum label value
 java.lang.String m_XMaxLabelWidthString
          Specifies the x-axis label maximum width
 double m_XMaxValue
          Specifies the x-axis maximum value
 double m_XMinLabelValue
          Specifies the x-axis minimum label value
 double m_XMinValue
          Specifies the -axis minimum value
 double m_YAbsGradLabel
          Specifies the y-axis gradient absolute label size
 double m_YAbsRegGrad
          Specifies the total number of y-axis gradient labels
 double m_YAxisMaxLabelValue
          Specifies the maximum label value of y-axis
 double m_YAxisMinLabelValue
          Specifies the minimum label value of y-axis
 double m_YMaxLabelValue
          Specifies the y-axis maximum label value
 java.lang.String m_YMaxLabelWidthString
          Specifies the y-axis label maximum width
 double m_YMaxValue
          Specifies the y-axis maximum value
 double m_YMinLabelValue
          Specifies the y-axis minimum label value
 double m_YMinValue
          Specifies the y-axis minimum value
 java.util.Vector m_ZLabelList
          Specifies the z-axis labels
 
Constructor Summary
GraphLabel(GraphicsEx inGraphicsEx, double inYAxisMaxLabelValue, double inYAxisMinLabelValue, boolean infYAxisCommaFormat, java.util.Vector inXLabelList, java.util.Vector inZLabelList, java.util.Vector inDataMatrix, GraphXAxisDetail inGraphXAxisDetail)
          Creates the GraphLabel with specified graphics, maximum values, labels and data
GraphLabel(GraphicsEx inGraphicsEx, double inXAxisMaxLabelValue, double inXAxisMinLabelValue, java.util.Vector inXLabelList)
          Creates the GraphLabel with specified graphics, maximum values, labels and data
 
Method Summary
 int getMinusXLabels()
          Returns the total number of minimum X-axis labels
 int getMinusYLabels()
          Returns the total number of minimum y-axis labels
 int getPlusXLabels()
          Returns the total number of maximum x-axis labels
 int getPlusYLabels()
          Returns the total number of maximum y-axis labels
 double getXAbsGradLabel()
          Returns the x-axis gradient absolute label size
 double getXMaxLabelValue()
          Returns the maximum label value of x-axis
 java.lang.String getXMaxLabelWidthString()
          Returns the maximum label width string of x-axis
 double getXMinLabelValue()
          Returns the minimum label value of x-axis
 double getYAbsGradLabel()
          Returns the y-axis gradient absolute label size
 java.lang.String getYMaxLabelString()
          Returns the maximum label of y-axis
 double getYMaxLabelValue()
          Returns the maximum label value of y-axis
 java.lang.String getYMaxLabelWidthString()
          Returns the maximum label width string of y-axis
 java.lang.String getYMinLabelString()
          Returns the minimum label of y-axis
 double getYMinLabelValue()
          Returns the minimum label value of y-axis
 void setXAbsGradLabel(double inDistance)
          Sets the x-axis gradient absolute label size
 void setXLabel()
          Sets the labels of x-axis
 void setXLabel(double gradValue)
          Sets the Grad value for labels of X-Axis
 void setXMaxLabelWidthString()
          Sets the maximum label width string of x-axis
 void setXMaxValue()
          Sets the maximum value of X-axis
 void setXMinValue()
          Sets the minimum value of x-axis
 void setYAbsGradLabel(double inDistance)
          Sets the y-axis gradient absolute label size
 void setYLabel()
          Sets the labels of y-axis
 void setYLabel(double gradValue)
          Sets the Grad value for labels of Y-Axis
 void setYLabelCount(int count)
          Sets the Max label count to be displayed
 void setYMaxLabelWidthString()
          Sets the maximum label width string of y-axis
 void setYMaxLabelWidthString(java.lang.String inStr)
          Sets the maximum label width string of y-axis
 void setYMaxValue()
          Sets the maximum value of y-axis
 void setYMinValue()
          Sets the minimum value of y-axis
 void setYNoOfGrade(int gradeNo)
          Specifies the Number of Grade on Y-Axis
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_GraphicsEx

public transient GraphicsEx m_GraphicsEx
Specifies the graphics


m_YAxisMaxLabelValue

public double m_YAxisMaxLabelValue
Specifies the maximum label value of y-axis


m_YAxisMinLabelValue

public double m_YAxisMinLabelValue
Specifies the minimum label value of y-axis


m_fYAxisCommaFormat

public boolean m_fYAxisCommaFormat
Specifies whether or not the comma format is applied to y-axis


m_XLabelList

public java.util.Vector m_XLabelList
Specifies the x-axis labels


m_ZLabelList

public java.util.Vector m_ZLabelList
Specifies the z-axis labels


m_DataMatrix

public java.util.Vector m_DataMatrix
Specifies the graph data


m_XMaxLabelWidthString

public java.lang.String m_XMaxLabelWidthString
Specifies the x-axis label maximum width


m_YMaxLabelWidthString

public java.lang.String m_YMaxLabelWidthString
Specifies the y-axis label maximum width


m_PlusYLabels

public int m_PlusYLabels
Specifies the total number of y-axis maximum labels


m_MinusYLabels

public int m_MinusYLabels
Specifies the total number of y-axis minimum labels


m_YAbsRegGrad

public double m_YAbsRegGrad
Specifies the total number of y-axis gradient labels


m_YAbsGradLabel

public double m_YAbsGradLabel
Specifies the y-axis gradient absolute label size


m_YMaxLabelValue

public double m_YMaxLabelValue
Specifies the y-axis maximum label value


m_YMinLabelValue

public double m_YMinLabelValue
Specifies the y-axis minimum label value


m_YMaxValue

public double m_YMaxValue
Specifies the y-axis maximum value


m_YMinValue

public double m_YMinValue
Specifies the y-axis minimum value


m_XAxisMaxLabelValue

public double m_XAxisMaxLabelValue
Specifies the maximum label value of X-axis


m_XAxisMinLabelValue

public double m_XAxisMinLabelValue
Specifies the minimum label value of X-axis


m_fXAxisCommaFormat

public boolean m_fXAxisCommaFormat
Specifies whether or not the comma format is applied to X-axis


m_PlusXLabels

public int m_PlusXLabels
Specifies the total number of X-axis maximum labels


m_MinusXLabels

public int m_MinusXLabels
Specifies the total number of X-axis minimum labels


m_XAbsGradLabel

public double m_XAbsGradLabel
Specifies the X-axis gradient absolute label size


m_XMaxLabelValue

public double m_XMaxLabelValue
Specifies the x-axis maximum label value


m_XMinLabelValue

public double m_XMinLabelValue
Specifies the x-axis minimum label value


m_XMaxValue

public double m_XMaxValue
Specifies the x-axis maximum value


m_XMinValue

public double m_XMinValue
Specifies the -axis minimum value


m_GraphXAxisDetail

public GraphXAxisDetail m_GraphXAxisDetail
Specifies the GraphXAxisDetail


m_GradTab

public static final double[] m_GradTab
Specifies the gradients

Constructor Detail

GraphLabel

public GraphLabel(GraphicsEx inGraphicsEx,
                  double inYAxisMaxLabelValue,
                  double inYAxisMinLabelValue,
                  boolean infYAxisCommaFormat,
                  java.util.Vector inXLabelList,
                  java.util.Vector inZLabelList,
                  java.util.Vector inDataMatrix,
                  GraphXAxisDetail inGraphXAxisDetail)
           throws GraphException
Creates the GraphLabel with specified graphics, maximum values, labels and data

Parameters:
inGraphicsEx - the GraphicsEx object
inYAxisMaxLabelValue - the maximum label value of y-axis
inYAxisMinLabelValue - the maximum label value of y-axis
infYAxisCommaFormat - true to apply comma format to y-axis
inXLabelList - x-axis labels
inZLabelList - z-axis labels
inDataMatrix - graph data

GraphLabel

public GraphLabel(GraphicsEx inGraphicsEx,
                  double inXAxisMaxLabelValue,
                  double inXAxisMinLabelValue,
                  java.util.Vector inXLabelList)
           throws GraphException
Creates the GraphLabel with specified graphics, maximum values, labels and data

Parameters:
inGraphicsEx - the GraphicsEx object
inXLabelList - x-axis labels
Method Detail

getXMaxLabelWidthString

public java.lang.String getXMaxLabelWidthString()
Returns the maximum label width string of x-axis


getPlusYLabels

public int getPlusYLabels()
Returns the total number of maximum y-axis labels


getMinusYLabels

public int getMinusYLabels()
Returns the total number of minimum y-axis labels


getYAbsGradLabel

public double getYAbsGradLabel()
Returns the y-axis gradient absolute label size


getYMaxLabelValue

public double getYMaxLabelValue()
Returns the maximum label value of y-axis


getYMinLabelValue

public double getYMinLabelValue()
Returns the minimum label value of y-axis


getYMaxLabelWidthString

public java.lang.String getYMaxLabelWidthString()
Returns the maximum label width string of y-axis


getYMaxLabelString

public java.lang.String getYMaxLabelString()
Returns the maximum label of y-axis


getYMinLabelString

public java.lang.String getYMinLabelString()
Returns the minimum label of y-axis


setXMaxLabelWidthString

public void setXMaxLabelWidthString()
Sets the maximum label width string of x-axis


setYMinValue

public void setYMinValue()
Sets the minimum value of y-axis


setYMaxValue

public void setYMaxValue()
Sets the maximum value of y-axis


setYLabelCount

public void setYLabelCount(int count)
Sets the Max label count to be displayed


setYLabel

public void setYLabel()
Sets the labels of y-axis


setYMaxLabelWidthString

public void setYMaxLabelWidthString()
Sets the maximum label width string of y-axis


setYMaxLabelWidthString

public void setYMaxLabelWidthString(java.lang.String inStr)
Sets the maximum label width string of y-axis


setYAbsGradLabel

public void setYAbsGradLabel(double inDistance)
Sets the y-axis gradient absolute label size


setYNoOfGrade

public void setYNoOfGrade(int gradeNo)
Specifies the Number of Grade on Y-Axis


setYLabel

public void setYLabel(double gradValue)
Sets the Grad value for labels of Y-Axis


setXMinValue

public void setXMinValue()
Sets the minimum value of x-axis


setXMaxValue

public void setXMaxValue()
Sets the maximum value of X-axis


setXLabel

public void setXLabel(double gradValue)
Sets the Grad value for labels of X-Axis


setXAbsGradLabel

public void setXAbsGradLabel(double inDistance)
Sets the x-axis gradient absolute label size


setXLabel

public void setXLabel()
Sets the labels of x-axis


getPlusXLabels

public int getPlusXLabels()
Returns the total number of maximum x-axis labels


getMinusXLabels

public int getMinusXLabels()
Returns the total number of minimum X-axis labels


getXAbsGradLabel

public double getXAbsGradLabel()
Returns the x-axis gradient absolute label size


getXMaxLabelValue

public double getXMaxLabelValue()
Returns the maximum label value of x-axis


getXMinLabelValue

public double getXMinLabelValue()
Returns the minimum label value of x-axis


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.