com.java4less.rreport
Class RGraph

java.lang.Object
  |
  +--com.java4less.rreport.RObject
        |
        +--com.java4less.rreport.RGraph

public class RGraph
extends RObject

This object will display a chart created by RChart Visual Builder Note that a separate license of RChart.


Field Summary
 com.java4less.rchart.Chart chart
          chart object
 java.lang.String dataFile
          parameter file of the chart.
 com.java4less.rchart.chartLoader loader
          chart loader
 
Fields inherited from class com.java4less.rreport.RObject
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, constant, DHTMLLink, fieldName, height, name, selectable, tooltip, triggerAction, visible, width, x, y
 
Constructor Summary
RGraph()
           
 
Method Summary
 void importLine(java.lang.String key, java.lang.String val)
          load properties from definition file.
 void print(java.awt.Graphics g, double px, double py, java.lang.Object Value)
          display chart now
 
Methods inherited from class com.java4less.rreport.RObject
canHTML, convertColor, convertDoubleList, convertFont, convertList, convertToCM, convertToPixels, createFile, getActivateAction, getdefaultValue, getruntimeValue, isConstant, isVisible, setActivateAction, setConstant, setdefaultValue, setruntimeValue, setVisible, toHTML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataFile

public java.lang.String dataFile
parameter file of the chart. This file is created using RChart Visual Builder.

loader

public com.java4less.rchart.chartLoader loader
chart loader

chart

public com.java4less.rchart.Chart chart
chart object
Constructor Detail

RGraph

public RGraph()
Method Detail

print

public void print(java.awt.Graphics g,
                  double px,
                  double py,
                  java.lang.Object Value)
display chart now
Overrides:
print in class RObject

importLine

public void importLine(java.lang.String key,
                       java.lang.String val)
load properties from definition file. Used by RReportImp.
Overrides:
importLine in class RObject