Class

io.udash.wrappers.highcharts.api.Chart

ChartExt

Related Doc: package Chart

Permalink

implicit final class ChartExt extends AnyVal

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

Instance Constructors

  1. new ChartExt(chart: Chart)

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    Any
  4. def addSeries(options: config.series.Series, redraw: Boolean = true, animation: Animation = Animation.Enabled): Series

    Permalink

    Add a series to the chart after render time.

    Add a series to the chart after render time. Note that this method should never be used when adding data synchronously at chart render time, as it adds expense to the calculations and rendering. When adding data at the same time as the chart is initiated, add the series as a configuration option instead. With multiple axes, the offset is dynamically adjusted.

    options

    The series options, as documented under plotOptions.series and under the plotOptions for each series type.

  5. def addXAxis(options: config.axis.XAxis, redraw: Boolean = true, animation: Animation = Animation.Enabled): Unit

    Permalink

    Add an axis to the chart after render time.

    Add an axis to the chart after render time. Note that this method should never be used when adding data synchronously at chart render time, as it adds expense to the calculations and rendering. When adding data at the same time as the chart is initiated, add the axis as a configuration option instead.

    options

    The Axis options, as documented under xAxis and yAxis.

  6. def addYAxis(options: config.axis.YAxis, redraw: Boolean = true, animation: Animation = Animation.Enabled): Unit

    Permalink

    Add an axis to the chart after render time.

    Add an axis to the chart after render time. Note that this method should never be used when adding data synchronously at chart render time, as it adds expense to the calculations and rendering. When adding data at the same time as the chart is initiated, add the axis as a configuration option instead.

    options

    The Axis options, as documented under xAxis and yAxis.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val chart: Chart

    Permalink
  9. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. def redraw(animation: Animation = Animation.Enabled): Unit

    Permalink

    Redraw the chart after changes have been done to the data or axis extremes.

    Redraw the chart after changes have been done to the data or axis extremes. All methods for updating axes, series or points have a parameter for redrawing the chart. This is true by default. But in many cases you want to do more than one operation on the chart before redrawing, for example add a number of points. In those cases it is a waste of resources to redraw the chart for each new point added. So you add the points and call chart.redraw() after.

    animation

    Defaults to true. When true, the update will be animated with default animation options. The animation can also be a configuration object with properties duration and easing.

  12. def selectedPoints(): Seq[Point]

    Permalink

    Returns an array of all currently selected points in the chart.

    Returns an array of all currently selected points in the chart. Points can be selected either programmatically by the point.select() method or by clicking.

  13. def selectedSeries(): Seq[Series]

    Permalink

    Returns an array of all currently selected series in the chart.

    Returns an array of all currently selected series in the chart. Series can be selected either programmatically by the series.select() method or by checking the checkbox next to the legend item if series.showCheckBox is true.

  14. def series: Seq[Series]

    Permalink

    An array of all the chart's series.

  15. def setSize(width: UndefOr[Double] = js.undefined, height: UndefOr[Double] = js.undefined, animation: Animation = Animation.Enabled): Unit

    Permalink

    Resize the chart to a given width and height.

    Resize the chart to a given width and height. In order to set the width only, the height argument can be skipped. To set the height only, pass undefined for the width.

    width

    The new pixel width of the chart. Since v4.2.6, the argument can be undefined in order to preserve the current value (when setting height only), or null to adapt to the width of the containing element.

  16. def toString(): String

    Permalink
    Definition Classes
    Any
  17. def xAxis: Seq[XAxis]

    Permalink

    An array of the chart's x axes.

    An array of the chart's x axes. If only one x axis, it is referenced by chart.xAxis[0].

  18. def yAxis: Seq[YAxis]

    Permalink

    An array of the chart's y axes.

    An array of the chart's y axes. If only one y axis, it is referenced by chart.yAxis[0].

Inherited from AnyVal

Inherited from Any

Ungrouped