Trait

com.highmaps.api

Chart

Related Doc: package api

Permalink

trait Chart extends Object

Annotations
@RawJSType() @native()
Note

JavaScript name: Chart

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

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 addAxis(options: Object = ???, isX: Boolean = ???, redraw: Boolean = ???, animation: Any = ???): 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.

    This method is inherited from Highcharts as a map is a cartesian series with hidden X and Y axes. In Highmaps it is less relevant.

    options

    The Axis options, as documented under xAxis and yAxis.

  5. def addSeries(options: Object = ???, redraw: Boolean = ???, animation: Any = ???): CleanJsObject[Series]

    Permalink

    Add a series to the chart after render time.

    Add a series to the chart after render time. Using this method is discouraged 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.

    options

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

  6. def addSeriesAsDrilldown(point: Object = ???, seriesOptions: Object = ???): 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, for instance when zooming in from a world map to countries with regions. 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. Map drilldown

  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val container: Object

    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.

  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. It is also called internally before adding another chart to the same container.

  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: Object = ???, chartOptions: Object = ???): Unit

    Permalink

    Exporting module required.

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

    For live demos, see Highcharts API for exportChart, which shares the same feature set.

    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.

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def fromLatLonToPoint(latLon: Object = ???): CleanJsObject[Point]

    Permalink

    Get chart values from latitude/longitude.

    Get chart values from latitude/longitude. Returns an object with x and y values.

    latLon

    An object containing the properties lat and lon with numeric values.

    Since

    1.1.0

  17. def fromPointToLatLon(point: Object = ???): Object

    Permalink

    Calculate latitude/longitude values for a point.

    Calculate latitude/longitude values for a point. Returns an object with the numeric properties lat and lon.

    point

    A point object, or any object containing the properties x and y with numeric values.

    Since

    1.1.0

  18. def get(id: String = ???): |[|[CleanJsObject[Axis], CleanJsObject[Series]], CleanJsObject[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.

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getSVG(additionalOptions: Object = ???): String

    Permalink

    Exporting module required.

    Exporting module required. Get an SVG string representing the chart. For live demo, see the same option in Highcharts, which shares this feature set.

    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.

  21. def getSelectedPoints(): Array[CleanJsObject[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 when allowPointSelect is enabled.

  22. def getSelectedSeries(): Array[CleanJsObject[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.

  23. def hasOwnProperty(v: String): Boolean

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

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

    Permalink

    Hide the loading screen.

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

  26. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  28. def mapZoom(howMuch: Double = ???, centerX: Double = ???, centerY: Double = ???, mouseX: Double = ???, mouseY: Double = ???): Unit

    Permalink

    Zoom in or out of the map.

    Zoom in or out of the map. See also Point.zoomTo.

    howMuch

    How much to zoom the map. Values less than 1 zooms in. 0.5 zooms in to half the current view. 2 zooms to twice the current view.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. val options: Object

    Permalink

    The options structure for the chart.

  33. 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. See demo at the Highcharts API.

  34. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  35. def redraw(animation: Any = ???): 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.

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

  37. val series: Array[CleanJsObject[Series]]

    Permalink

    An array of all the chart's series.

  38. def setSize(width: Double = ???, height: Double = ???, animation: Any = ???): Unit

    Permalink

    Resize the chart to a given width and height.

    Resize the chart to a given width and height.

    width

    The new pixel width of the chart.

    height

    The new pixel height of the chart.

    animation

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

  39. def setTitle(title: Object = ???, subtitle: Any = ???, redraw: Boolean = ???): 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.

  40. def showLoading(str: String = ???): 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.

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

    Permalink
    Definition Classes
    AnyRef
  42. def toLocaleString(): String

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. def transformFromLatLon(latLon: Object = ???, transform: Object = ???): CleanJsObject[Point]

    Permalink

    Get point from latLon using specified transform definition.

    Get point from latLon using specified transform definition.

    latLon

    An object containing the properties lat and lon with numeric values.

    Since

    1.1.0

  45. def transformToLatLon(point: Object = ???, transform: Object = ???): Object

    Permalink

    Get latLon from point using specified transform definition.

    Get latLon from point using specified transform definition. The method returns an object with the numeric properties lat and lon.

    point

    A point object, or any object containing the properties x and y with numeric values.

    Since

    1.1.0

  46. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  47. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. val xAxis: Array[CleanJsObject[Axis]]

    Permalink

    An array of the chart's x axes.

    An array of the chart's x axes. A map has hidden X and Y axes by default. If only one x axis, it is referenced by chart.xAxis[0].

  51. val yAxis: Array[CleanJsObject[Axis]]

    Permalink

    An array of the chart's y axes.

    An array of the chart's y axes. A map has hidden X and Y axes by default. If only one y axis, it is referenced by chart.yAxis[0].

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped