Trait/Object

smile.plot.vega

VegaLite

Related Docs: object VegaLite | package vega

Permalink

trait VegaLite extends AnyRef

Vega-Lite specifications are JSON objects that describe a diverse range of interactive visualizations. Besides using a single view specification as a standalone visualization, Vega-Lite also provides operators for composing multiple view specifications into a layered or multi-view specification. These operators include layer, facet, concat, and repeat.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VegaLite
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val spec: JsObject

    Permalink

    The specification

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from VegaLite to any2stringadd[VegaLite] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (VegaLite, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from VegaLite to ArrowAssoc[VegaLite] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def autosize(type: String = "pad", resize: Boolean = false, contains: String = "content"): VegaLite

    Permalink

    Sets the overall size of the visualization.

    Sets the overall size of the visualization. The total size of a Vega-Lite visualization may be determined by multiple factors: specified width, height, and padding values, as well as content such as axes, legends, and titles.

    resize

    A boolean flag indicating if autosize layout should be re-calculated on every view update.

    contains

    Determines how size calculation should be performed, one of "content" or "padding". The default setting ("content") interprets the width and height settings as the data rectangle (plotting) dimensions, to which padding is then added. In contrast, the "padding" setting includes the padding within the view size calculations, such that the width and height settings indicate the total intended size of the view.

  8. def background(color: String): VegaLite

    Permalink

    CSS color property to use as the background of the entire view.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def config(properties: JsObject): VegaLite

    Permalink

    Sets Vega-Lite configuration object that lists configuration properties of a visualization for creating a consistent theme.

    Sets Vega-Lite configuration object that lists configuration properties of a visualization for creating a consistent theme. This property can only be defined at the top-level of a specification.

  11. def data(url: String, format: JsValue = JsUndefined): VegaLite

    Permalink

    Sets the url of the data source.

    Sets the url of the data source.

    url

    An URL from which to load the data set.

    format

    Type of input data: "json", "csv", "tsv", "dsv". Default value: The default format type is determined by the extension of the file URL. If no extension is detected, "json" will be used by default.

  12. def data(df: DataFrame): VegaLite

    Permalink

    Sets a data frame describing the data source.

  13. def data(rows: JsObject*): VegaLite

    Permalink

    Sets an array of objects describing the data source.

  14. def data(json: JsArray): VegaLite

    Permalink

    Sets a JSON array describing the data source.

    Sets a JSON array describing the data source. Set to null to ignore the parent’s data source. If no data is set, it is derived from the parent.

  15. def description(description: String): VegaLite

    Permalink

    Sets the description of this mark for commenting purpose.

  16. def embed: String

    Permalink

    Returns the HTML of plot specification with Vega Embed.

  17. def ensuring(cond: (VegaLite) ⇒ Boolean, msg: ⇒ Any): VegaLite

    Permalink
    Implicit information
    This member is added by an implicit conversion from VegaLite to Ensuring[VegaLite] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (VegaLite) ⇒ Boolean): VegaLite

    Permalink
    Implicit information
    This member is added by an implicit conversion from VegaLite to Ensuring[VegaLite] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: ⇒ Any): VegaLite

    Permalink
    Implicit information
    This member is added by an implicit conversion from VegaLite to Ensuring[VegaLite] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): VegaLite

    Permalink
    Implicit information
    This member is added by an implicit conversion from VegaLite to Ensuring[VegaLite] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from VegaLite to StringFormat[VegaLite] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. def iframe(id: String = java.util.UUID.randomUUID.toString): String

    Permalink

    Returns the HTML wrapped in an iframe to render in notebooks.

    Returns the HTML wrapped in an iframe to render in notebooks.

    id

    the iframe HTML id.

  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def name(name: String): VegaLite

    Permalink

    Sets the name of the visualization for later reference.

  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def padding(left: Int, top: Int, right: Int, bottom: Int): VegaLite

    Permalink

    Specifies padding for each side.

    Specifies padding for each side. The visualization padding, in pixels, is from the edge of the visualization canvas to the data rectangle.

  34. def padding(size: Int): VegaLite

    Permalink

    Specifies padding for all sides.

    Specifies padding for all sides. The visualization padding, in pixels, is from the edge of the visualization canvas to the data rectangle.

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def title(title: String): VegaLite

    Permalink

    Sets a descriptive title to a chart.

  37. def toString(): String

    Permalink
    Definition Classes
    VegaLite → AnyRef → Any
  38. def transform(transforms: JsObject*): VegaLite

    Permalink

    An array of data transformations such as filter and new field calculation.

    An array of data transformations such as filter and new field calculation. Data transformations in Vega-Lite are described via either view-level transforms (the transform property) or field transforms inside encoding (bin, timeUnit, aggregate, sort, and stack).

    When both types of transforms are specified, the view-level transforms are executed first based on the order in the array. Then the inline transforms are executed in this order: bin, timeUnit, aggregate, sort, and stack.

  39. def transform(transforms: JsArray): VegaLite

    Permalink

    An array of data transformations such as filter and new field calculation.

    An array of data transformations such as filter and new field calculation. Data transformations in Vega-Lite are described via either view-level transforms (the transform property) or field transforms inside encoding (bin, timeUnit, aggregate, sort, and stack).

    When both types of transforms are specified, the view-level transforms are executed first based on the order in the array. Then the inline transforms are executed in this order: bin, timeUnit, aggregate, sort, and stack.

  40. def usermeta(data: JsValue): VegaLite

    Permalink

    Optional metadata that will be passed to Vega.

    Optional metadata that will be passed to Vega. This object is completely ignored by Vega and Vega-Lite and can be used for custom metadata.

  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def [B](y: B): (VegaLite, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from VegaLite to ArrowAssoc[VegaLite] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from VegaLite to any2stringadd[VegaLite]

Inherited by implicit conversion StringFormat from VegaLite to StringFormat[VegaLite]

Inherited by implicit conversion Ensuring from VegaLite to Ensuring[VegaLite]

Inherited by implicit conversion ArrowAssoc from VegaLite to ArrowAssoc[VegaLite]

Ungrouped