Packages

class Axes[A, B] extends Scale[(A, B), Vec] with Closed

primary means of construction is through rect.axes(xDomain,yDomain)

Source
scale.scala
Linear Supertypes
Closed, Shape, Scale[(A, B), Vec], ScaleOneWay[(A, B), Vec], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Axes
  2. Closed
  3. Shape
  4. Scale
  5. ScaleOneWay
  6. AnyRef
  7. Any
Implicitly
  1. by richDrxAny
  2. by DrxBoundOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Axes(xDomain: Bound[A], yDomain: Bound[B], box: Rect)(implicit ta: Tickable[A], tb: Tickable[B])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def %(a: (A, B)): Vec

    alias for apply which is a kind of evaluator

    alias for apply which is a kind of evaluator

    Definition Classes
    ScaleOneWay
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toany2stringadd[Axes[A, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (Axes[A, B], B)
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toArrowAssoc[Axes[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def apply(a: A, b: B): Vec
  8. def apply(pair: (A, B)): Vec
    Definition Classes
    AxesScaleOneWay
  9. def applyIf(t: Boolean, f: (Axes[A, B]) => Axes[A, B]): Axes[A, B]
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. def applyIf(t: (Axes[A, B]) => Boolean)(f: (Axes[A, B]) => Axes[A, B]): Axes[A, B]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. val box: Rect
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. def contains(a: A, b: B): Boolean
  15. def contains(pair: (A, B)): Boolean

    true if the argument can be applied to a domain

    true if the argument can be applied to a domain

    Definition Classes
    AxesScaleOneWay
  16. def draw(implicit g: DrawContext): Unit

    generic draw method

    generic draw method

    Definition Classes
    AxesShape
  17. def elementOf(xs: Set[Axes[A, B]]): Boolean
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  18. def ensuring(cond: (Axes[A, B]) => Boolean, msg: => Any): Axes[A, B]
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toEnsuring[Axes[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (Axes[A, B]) => Boolean): Axes[A, B]
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toEnsuring[Axes[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: => Any): Axes[A, B]
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toEnsuring[Axes[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): Axes[A, B]
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toEnsuring[Axes[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  25. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toStringFormat[Axes[A, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. def get(a: A, b: B): Option[Vec]
  27. def get(a: (A, B)): Option[Vec]

    first check if the argument can be applied to a domain then apply the scale

    first check if the argument can be applied to a domain then apply the scale

    Definition Classes
    ScaleOneWay
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def inv(rv: Vec): (A, B)
    Definition Classes
    AxesScale
  31. def invOption(b: Vec): Option[(A, B)]

    invOption uses inv with exception handling (divide by zero is ugly).

    invOption uses inv with exception handling (divide by zero is ugly). This method can be overridden for specific case speedup

    Definition Classes
    Scale
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def noneIf(f: (Axes[A, B]) => Boolean): Option[Axes[A, B]]
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def optionIf(f: (Axes[A, B]) => Boolean): Option[Axes[A, B]]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  38. def pad: Axes[A, B]

    adjust explict bounds to include space for x and y axis with nice tick mark bounds

  39. def preApply[B](f: (Axes[A, B]) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  40. def sideEffect(f: (Axes[A, B]) => Unit): Axes[A, B]

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. def someIf(f: (Axes[A, B]) => Boolean): Option[Axes[A, B]]
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. val thisAny: Axes[A, B]
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  44. def till(maxArg: Axes[A, B]): Bound[Axes[A, B]]

    Bound construction since the Range constructor is deprecated

    Bound construction since the Range constructor is deprecated

    Implicit
    This member is added by an implicit conversion from Axes[A, B] toBoundOps[Axes[A, B]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[Axes[A, B]] is in scope.
    Definition Classes
    BoundOps
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. val x: QuantitativeBound[A, Double]
  50. def xLine(v: A): Line
  51. def xTicks: Iterable[Text]
  52. def xTicks(count: Int): Iterable[Text]
  53. val y: QuantitativeBound[B, Double]
  54. def yLine(v: B): Line
  55. def yTicks: Iterable[Text]
  56. def yTicks(count: Int): Iterable[Text]
  57. def ~(color: Color): Styled

    provide a quick automatic way to set a fill or stroke all shapes have a stroke even if they can be filled (but the ClosedShape overrides this to provide a fill color)

    provide a quick automatic way to set a fill or stroke all shapes have a stroke even if they can be filled (but the ClosedShape overrides this to provide a fill color)

    Definition Classes
    ClosedShape
  58. def ~(property: Property): Styled

    initialize shape with a style

    initialize shape with a style

    Definition Classes
    Shape
  59. def ~(style: Style): Styled

    Attach a style to a shape

    Attach a style to a shape

    Definition Classes
    Shape

Deprecated Value Members

  1. def ?>(f: (Axes[A, B]) => Boolean): Option[Axes[A, B]]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. def |>[B](f: (Axes[A, B]) => B): B
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toDrxAny[Axes[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  3. def [B](y: B): (Axes[A, B], B)
    Implicit
    This member is added by an implicit conversion from Axes[A, B] toArrowAssoc[Axes[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Closed

Inherited from Shape

Inherited from Scale[(A, B), Vec]

Inherited from ScaleOneWay[(A, B), Vec]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromAxes[A, B] to DrxAny[Axes[A, B]]

Inherited by implicit conversion DrxBoundOps fromAxes[A, B] to BoundOps[Axes[A, B]]

Inherited by implicit conversion any2stringadd fromAxes[A, B] to any2stringadd[Axes[A, B]]

Inherited by implicit conversion StringFormat fromAxes[A, B] to StringFormat[Axes[A, B]]

Inherited by implicit conversion Ensuring fromAxes[A, B] to Ensuring[Axes[A, B]]

Inherited by implicit conversion ArrowAssoc fromAxes[A, B] to ArrowAssoc[Axes[A, B]]

Ungrouped