Interface IGraph

All Superinterfaces:
IComponent<IGraph>, IHasId<IGraph>

public interface IGraph extends IComponent<IGraph>
  • Method Details

    • addRow

      IGraph addRow(GraphType type, String name, Consumer<IRow<Double>> consumer)
    • addRow

      IGraph addRow(GraphType type, String name, String stackId, Consumer<IRow<Double>> consumer)
    • setNoDataMessage

      IGraph setNoDataMessage(String message, String... tokens)
    • setNoDataMessage

      IGraph setNoDataMessage(IString message)
    • setHeight

      IGraph setHeight(int height)
      Set the height of the graph
      Parameters:
      height - in pixels
      Returns:
      reference to graph object
    • setYAxisProps

      IGraph setYAxisProps(GraphAxisProperties yAxisProps)
      Pass the configuration of the vertical Y axis.
      Parameters:
      yAxisProps - - axis parameters.
      Returns:
      reference to graph object.
    • setLink

      IGraph setLink(ExtensionLink link)
      Set the link for the graph. The graph id, column name and data will be passed as parameters to the link.
      Parameters:
      link - the link object, without extra parameters.
      Returns:
      reference to graph object.