Class Axis

java.lang.Object
com.influxdb.client.domain.Axis

public class Axis extends Object
Axis used in a visualization.
  • Field Details

  • Constructor Details

    • Axis

      public Axis()
  • Method Details

    • bounds

      public Axis bounds(List<String> bounds)
    • addBoundsItem

      public Axis addBoundsItem(String boundsItem)
    • getBounds

      public List<String> getBounds()
      The extents of the axis in the form [lower, upper]. Clients determine whether bounds are inclusive or exclusive of their limits.
      Returns:
      bounds
    • setBounds

      public void setBounds(List<String> bounds)
    • label

      public Axis label(String label)
    • getLabel

      public String getLabel()
      Description of the axis.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • prefix

      public Axis prefix(String prefix)
    • getPrefix

      public String getPrefix()
      Label prefix for formatting axis values.
      Returns:
      prefix
    • setPrefix

      public void setPrefix(String prefix)
    • suffix

      public Axis suffix(String suffix)
    • getSuffix

      public String getSuffix()
      Label suffix for formatting axis values.
      Returns:
      suffix
    • setSuffix

      public void setSuffix(String suffix)
    • base

      public Axis base(Axis.BaseEnum base)
    • getBase

      public Axis.BaseEnum getBase()
      Radix for formatting axis values.
      Returns:
      base
    • setBase

      public void setBase(Axis.BaseEnum base)
    • scale

      public Axis scale(AxisScale scale)
    • getScale

      public AxisScale getScale()
      Get scale
      Returns:
      scale
    • setScale

      public void setScale(AxisScale scale)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object