Package org.zkoss.zul

Interface XYZModel

All Superinterfaces:
ChartModel, XYModel
All Known Implementing Classes:
SimpleXYZModel

public interface XYZModel extends XYModel
A XYZ chart data model.
Since:
3.5.0
Author:
henrichen
See Also:
  • Method Details

    • getZ

      Number getZ(Comparable<?> series, int index)
      Get Z value of a specified series and data index.
      Parameters:
      series - the series.
      index - the data index.
    • addValue

      void addValue(Comparable<?> series, Number x, Number y, Number z)
      Append an (x,y,z) into a series.
      Parameters:
      series - the series.
      x - the x value.
      y - the y value.
      z - the z value.
    • addValue

      void addValue(Comparable<?> series, Number x, Number y, Number z, int index)
      Add an (x,y,z) into a series at the specified index.
      Parameters:
      series - the series.
      x - the x value.
      y - the y value.
      z - the z value.
      index - the data index.
      Since:
      5.0.0
    • setValue

      void setValue(Comparable<?> series, Number x, Number y, Number z, int index)
      Replace an (x,y,z) into a series at the specified index.
      Parameters:
      series - the series.
      x - the x value.
      y - the y value.
      z - the z value.
      index - the data index.
      Since:
      5.0.0