Class Graph

  • public class Graph
    extends java.lang.Object
    The Graph class implements the basic functionality for the chart host object. This class is based on the former rgba/rgba_graph.c code.

    The Graph object is the top level container of a chart graphic. It contains all the elements such as the axis, the data and the chart itself.

    This object is not truly unmutable, but it is mostly write-once. That is, as soon as a property has been defined through its setter method, it cannot be changed again. It is completely in the responsability of the client not to tamper with any values after having calculated the graph. Moreover it is the clients duty to ensure complete setting of the graph and its component prior to drawing the chart. The results may not be as desired if failing to do so.