Packages

class Data extends Object

Annotations
@RawJSType() @ScalaJSDefined()
Note

JavaScript name: data

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Data
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Data()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val columns: UndefOr[Array[Array[Any]]]

    A two-dimensional array representing the input data on tabular form.

    A two-dimensional array representing the input data on tabular form. This input can be used when the data is already parsed, for example from a grid view component. Each cell can be a string or number. If not switchRowsAndColumns is set, the columns are interpreted as series.

    Example:
    1. Columns

    Since

    4.0

  7. val complete: UndefOr[Function]

    The callback that is evaluated when the data is finished loading, optionally from an external source, and parsed.

    The callback that is evaluated when the data is finished loading, optionally from an external source, and parsed. The first argument passed is a finished chart options object, containing the series. These options can be extended with additional options and passed directly to the chart constructor.

    Since

    4.0

  8. val csv: UndefOr[String]

    A comma delimited string to be parsed.

    A comma delimited string to be parsed. Related options are startRow, endRow, startColumn and endColumn to delimit what part of the table is used. The lineDelimiter and itemDelimiter options define the CSV delimiter formats.

    The built-in CSV parser doesn't support all flavours of CSV, so in some cases it may be necessary to use an external CSV parser. See this example of parsing CSV through the MIT licensed Papa Parse library.

    Example:
    1. Data from CSV

    Since

    4.0

  9. val dateFormat: UndefOr[String]

    Which of the predefined date formats in Date.prototype.dateFormats to use to parse date values.

    Which of the predefined date formats in Date.prototype.dateFormats to use to parse date values. Defaults to a best guess based on what format gives valid and ordered dates.

    Valid options include:

    • YYYY-mm-dd
    • dd/mm/YYYY
    • mm/dd/YYYY
    • dd/mm/YY
    • mm/dd/YY
    Since

    4.0

  10. val decimalPoint: UndefOr[String]

    The decimal point used for parsing numbers in the CSV.

    The decimal point used for parsing numbers in the CSV.

    Since

    4.1.0

  11. val endColumn: UndefOr[Double]

    In tabular input data, the last column (indexed by 0) to use.

    In tabular input data, the last column (indexed by 0) to use. Defaults to the last column containing data.

    Example:
    1. Limited data

    Since

    4.0

  12. val endRow: UndefOr[Double]

    In tabular input data, the last row (indexed by 0) to use.

    In tabular input data, the last row (indexed by 0) to use. Defaults to the last row containing data.

    Example:
    1. Limited data

    Since

    4.0.4

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. val firstRowAsNames: UndefOr[Boolean]

    Whether to use the first row in the data set as series names.

    Whether to use the first row in the data set as series names.

    Since

    4.1.0

  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. val googleSpreadsheetKey: UndefOr[String]

    The key for a Google Spreadsheet to load.

    The key for a Google Spreadsheet to load. See general information on GS.

    Since

    4.0

  19. val googleSpreadsheetWorksheet: UndefOr[String]

    The Google Spreadsheet worksheet to use in combination with googleSpreadsheetKey.

    The Google Spreadsheet worksheet to use in combination with googleSpreadsheetKey. The available id's from your sheet can be read from https://spreadsheets.google.com/feeds/worksheets/{key}/public/basic

    Since

    4.0

  20. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  24. val itemDelimiter: UndefOr[String]

    Item or cell delimiter for parsing CSV.

    Item or cell delimiter for parsing CSV. Defaults to the tab character \t if a tab character is found in the CSV string, if not it defaults to ,.

    Example:
    1. Delimiters

    Since

    4.0

  25. val lineDelimiter: UndefOr[String]

    Line delimiter for parsing CSV.

    Line delimiter for parsing CSV.

    Example:
    1. Delimiters

    Since

    4.0

  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  29. val parseDate: UndefOr[Function]

    A callback function to parse string representations of dates into JavaScript timestamps.

    A callback function to parse string representations of dates into JavaScript timestamps. Should return an integer timestamp on success.

    Since

    4.0

  30. val parsed: UndefOr[Function]

    A callback function to access the parsed columns, the two-dimentional input data array directly, before they are interpreted into series data and categories.

    A callback function to access the parsed columns, the two-dimentional input data array directly, before they are interpreted into series data and categories. Return false to stop completion, or call this.complete() to continue async.

    Since

    4.0

  31. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  32. val rows: UndefOr[Array[Array[Any]]]

    The same as the columns input option, but defining rows intead of columns.

    The same as the columns input option, but defining rows intead of columns.

    Example:
    1. Data in rows

    Since

    4.0

  33. val seriesMapping: UndefOr[Array[Object]]

    An array containing object with Point property names along with what column id the property should be taken from.

    An array containing object with Point property names along with what column id the property should be taken from.

    Since

    4.0.4

  34. val startColumn: UndefOr[Double]

    In tabular input data, the first column (indexed by 0) to use.

    In tabular input data, the first column (indexed by 0) to use.

    Example:
    1. Limited data

    Since

    4.0

  35. val startRow: UndefOr[Double]

    In tabular input data, the first row (indexed by 0) to use.

    In tabular input data, the first row (indexed by 0) to use.

    Example:
    1. Limited data

    Since

    4.0

  36. val switchRowsAndColumns: UndefOr[Boolean]

    Switch rows and columns of the input data, so that this.columns effectively becomes the rows of the data set, and the rows are interpreted as series.

    Switch rows and columns of the input data, so that this.columns effectively becomes the rows of the data set, and the rows are interpreted as series.

    Since

    4.0

  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. val table: UndefOr[String]

    A HTML table or the id of such to be parsed as input data.

    A HTML table or the id of such to be parsed as input data. Related options are startRow, endRow, startColumn and endColumn to delimit what part of the table is used.

    Example:
    1. Parsed table

    Since

    4.0

  39. def toLocaleString(): String
    Definition Classes
    Object
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def valueOf(): Any
    Definition Classes
    Object
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped