Trait/Object

io.udash.wrappers.highcharts.api

Chart

Related Docs: object Chart | package api

Permalink

trait Chart extends Object

Annotations
@RawJSType() @native()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Chart
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def legend: Legend

    Permalink

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addCredits(options: Credits): Unit

    Permalink

    Set a new credits label for the chart.

  5. def addSeriesAsDrilldown(point: Point, seriesOptions: config.series.Series): Unit

    Permalink

    Add a series to the chart as drilldown from a specific point in the parent series.

    Add a series to the chart as drilldown from a specific point in the parent series. This method is used for async drilldown, when clicking a point in a series should result in loading and displaying a more high-resolution series. When not async, the setup is simpler using the drilldown.series options structure.

    point

    The existing Point object from which the drilldown will start.

    Example:
    1. Async drilldown

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val container: org.scalajs.dom.Element

    Permalink

    A reference to the containing HTML element, dynamically inserted into the element given in chart.renderTo.

    A reference to the containing HTML element, dynamically inserted into the element given in chart.renderTo.

  9. val credits: Credits

    Permalink

    The chart's credits label.

    The chart's credits label. The label has an update method that allows setting new options.

  10. def destroy(): Unit

    Permalink

    Removes the chart and purges memory.

    Removes the chart and purges memory. This method should be called before writing a new chart into the same container. It is called internally on window unload to prevent leaks.

  11. def drillUp(): Unit

    Permalink

    When the chart is drilled down to a child series, calling chart.drillUp() will drill up to the parent series.

    When the chart is drilled down to a child series, calling chart.drillUp() will drill up to the parent series.

  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def exportChart(options: Exporting, chartOptions: config.chart.Chart): Unit

    Permalink

    Exporting module required.

    Exporting module required. Submit an SVG version of the chart to a server along with some parameters for conversion.

    options

    Exporting options. Out of the exporting options, the following options can be given as parameters to the exportChart method. All options default to the values given in the exporting config options. filename: the filename for the export without extension, url: the URL for the server module to do the conversion, width: the width of the PNG or JPEG image generated on the server, type: the MIME type of the converted image, sourceWidth: the width of the source (in-page) chart, sourceHeight: the height of the source chart.

    chartOptions

    Additional chart options for the exported chart. For example a different background color can be added here.

  15. def exportChartLocal(options: Exporting, chartOptions: config.chart.Chart): Unit

    Permalink

    Export the chart to a PNG or SVG without sending it to a server.

    Export the chart to a PNG or SVG without sending it to a server. Requires modules/exporting.js and modules/offline-exporting.js.

  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def get(id: String): |[|[Axis[_, _], Series], Point]

    Permalink

    Get an axis, series or point by its id as given in the configuration options.

    Get an axis, series or point by its id as given in the configuration options.

    id

    The id of the axis, series or point to get.

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getSVG(additionalOptions: HighchartsConfig): String

    Permalink

    Exporting module required.

    Exporting module required. Get an SVG string representing the chart.

    additionalOptions

    Chart options to add to the exported chart in addition to the options given for the original chart. For example if series.lineWidth should be greater in the exported chart than in the original, or the chart should have a different background color, this is added here.

  20. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hideLoading(): Unit

    Permalink

    Hide the loading screen.

    Hide the loading screen. Options for the loading screen are defined at options.loading.

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. val options: HighchartsConfig

    Permalink

    The options structure for the chart.

  29. def print(): Unit

    Permalink

    Exporting module required.

    Exporting module required. Clears away other elements in the page and prints the chart as it is displayed. By default, when the exporting module is enabled, a button at the upper left calls this method.

  30. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  31. def reflow(): Unit

    Permalink

    Reflows the chart to its container.

    Reflows the chart to its container. By default, the chart reflows automatically to its container following a window.resize event, as per the chart.reflow option. However, there are no reliable events for div resize, so if the container is resized without a window resize event, this must be called explicitly.

  32. def setTitle(title: config.title.Title, subtitle: config.title.Subtitle, redraw: Boolean = js.native): Unit

    Permalink

    Set a new title or subtitle for the chart

    Set a new title or subtitle for the chart

    title

    A configuration object for the new title as defined at #title.

  33. def showLoading(text: String = js.native): Unit

    Permalink

    Dim the chart's plot area and show a loading label text.

    Dim the chart's plot area and show a loading label text. Options for the loading screen are defined at options.loading. A custom text can be given as a parameter for loading.

  34. def subtitle: Subtitle

    Permalink

    The chart subtitle.

    The chart subtitle. The subtitle has an update method that allows modifying the options.

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

    Permalink
    Definition Classes
    AnyRef
  36. def title: Title

    Permalink

    The chart title.

    The chart title. The title has an update method that allows modifying the options.

  37. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. def update(options: HighchartsConfig, redraw: Boolean = js.native): Unit

    Permalink

    A generic function to update any element of the chart.

    A generic function to update any element of the chart. Elements can be enabled and disabled, moved, re-styled, re-formatted etc.

  40. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  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( ... )

Deprecated Value Members

  1. def updatePosition(): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0) Updating the chart position after a move operation is no longer necessary.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped