Packages

object Data

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

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. def apply(columns: UndefOr[Array[Array[Any]]] = js.undefined, complete: UndefOr[Function] = js.undefined, csv: UndefOr[String] = js.undefined, dateFormat: UndefOr[String] = js.undefined, decimalPoint: UndefOr[String] = js.undefined, endColumn: UndefOr[Double] = js.undefined, endRow: UndefOr[Double] = js.undefined, firstRowAsNames: UndefOr[Boolean] = js.undefined, googleSpreadsheetKey: UndefOr[String] = js.undefined, googleSpreadsheetWorksheet: UndefOr[String] = js.undefined, itemDelimiter: UndefOr[String] = js.undefined, lineDelimiter: UndefOr[String] = js.undefined, parseDate: UndefOr[Function] = js.undefined, parsed: UndefOr[Function] = js.undefined, rows: UndefOr[Array[Array[Any]]] = js.undefined, seriesMapping: UndefOr[Array[Object]] = js.undefined, startColumn: UndefOr[Double] = js.undefined, startRow: UndefOr[Double] = js.undefined, switchRowsAndColumns: UndefOr[Boolean] = js.undefined, table: UndefOr[String] = js.undefined): Data

    columns

    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.

    complete

    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.

    csv

    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.

    dateFormat

    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. .
    decimalPoint

    The decimal point used for parsing numbers in the CSV.

    endColumn

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

    endRow

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

    firstRowAsNames

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

    googleSpreadsheetKey

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

    googleSpreadsheetWorksheet

    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

    itemDelimiter

    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 ,.

    lineDelimiter

    Line delimiter for parsing CSV.

    parseDate

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

    parsed

    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.

    rows

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

    seriesMapping

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

    startColumn

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

    startRow

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

    switchRowsAndColumns

    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.

    table

    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.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped