Fx.Chart.Xy.X.Lines.Line

class Line(nameO: Opt[String], val items: Idx.OM[Fx.Chart.Xy.X.Lines.ITEM]) extends Fx.Chart.XY.SeriesBase with Able.Add[(X, Y)]
trait Able.Add[(Fx.Chart.Xy.X.Lines.X, Fx.Chart.Xy.X.Lines.Y)]
class java.lang.Object
trait scala.Matchable
class Any

Def

Constructor

def this(name: String, s: Stream[(X, Y)])

Body

inline def ++=(v: Opt[(X, Y)]): Fx.Chart.Xy.X.Lines.Line

Alias for addAll

Alias for addAll

Generally Opt could be added as a stream.

This overload is sligtly more efficient, but it is also required for mapped Opt expressions, where Opt type is harder to resolve and it would not compile.

Inherited from
Add
Source
Add.scala
inline def ++=(v: Stream[(X, Y)]): Fx.Chart.Xy.X.Lines.Line

Alias for addAll

Alias for addAll

Calls addAll and returns container

 // Generic example
 val x =  Idx.M(1, 2, 3)

 x ++= (4 <> 6) ++= Stream(7, 8, 9)

 x.stream.tp // Stream(1, 2, 3, 4, 5, 6, 7, 8, 9)
Inherited from
Add
Source
Add.scala
inline def +=(v: (X, Y)): Fx.Chart.Xy.X.Lines.Line

Alias for add

Alias for add

Calls add and returns container

 // Generic example
 val x =  Idx.M(1, 2, 3)

  x += 4 += 5 += 6

  x.stream.tp // Prints Stream(1, 2, 3, 4, 5, 6)
Inherited from
Add
Source
Add.scala
def add(t: (X, Y)): Unit
def addAll(v: Stream[(X, Y)]): Unit

Add many

Add many

Adds given stream of elements to target container

 // Generic example
 val x =  Idx.M(1, 2, 3)

  x.addAll(4 <> 6)
  x.addAll( Stream(7,8,9))

  x.stream.tp // Stream(1, 2, 3, 4, 5, 6, 7, 8, 9)
Inherited from
Add
Source
Add.scala
def chart: Fx.Chart.XY[X, Y]
Inherited from
SeriesBase
Source
__.scala
Inherited from
SeriesBase
Source
__.scala
def name: String
Inherited from
SeriesBase
Source
__.scala
def name_=(v: String): Unit
Inherited from
SeriesBase
Source
__.scala