Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface XYZDataInput

Implemented by

Index

Methods

add

  • Append a single XYZ coordinate or list of coordinates into the series.

     // Example syntax
     LineSeries3D.add({ x: 0, y: 0, z: 0 })
    
     LineSeries3D.add([
         { x: 0, y: 100, z: 50 },
         { x: 10, y: 50, z: 150 },
         { x: 20, y: 75, z: 100 },
     ])
    

    Parameters

    Returns this

    Object itself for fluent interface.

clear

  • clear(): this
  • Clear all previously pushed data points from the series.

     // Example usage
     LineSeries.clear()
    

    Returns this

    Object itself for fluent interface.

getPointAmount

  • getPointAmount(): number
  • Get amount of points that series currently has.

    Returns number

    Number of points