Class CHARTBinding

java.lang.Object
org.eclnt.jsfserver.elements.impl.CHARTBinding
All Implemented Interfaces:
IValueByToString, ICCServerConstants, IDynamicContentBindingObject

public class CHARTBinding extends Object implements ICCServerConstants, IDynamicContentBindingObject, IValueByToString
"Dependencies" of this class are:

1. JFreeChart
2. Generation of SVG from JFreeChart using Batik:
a. batik-svggen
b. batik-dom
c. batik-util
d. batik-awt-util
  • Constructor Details

    • CHARTBinding

      public CHARTBinding()
  • Method Details

    • getChartInfo

      public ChartInfo getChartInfo()
    • setChartInfo

      public void setChartInfo(ChartInfo chartInfo)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getChartXML

      public String getChartXML()
      Returns:
      chart representation for the client - in case of the swing client this is the XML representation (JAX-B) of ChartInfo. In case of the Java FX Client this is the SVG representation of the chart.
    • setSvgBounds

      public void setSvgBounds(int svgWidth, int svgHeight)
      The chart is passed to the client side as SVG in case of RISC-HTML and JavaFX client. You may explicitly define the width and height of the generated SVG.