Packages

class SeriesCandlestickDataGrouping extends Object

Annotations
@RawJSType() @ScalaJSDefined()
Note

JavaScript name: series<candlestick>-dataGrouping

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

Instance Constructors

  1. new SeriesCandlestickDataGrouping()

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. val approximation: UndefOr[|[String, Function]]

    The method of approximation inside a group.

    The method of approximation inside a group. When for example 30 days are grouped into one month, this determines what value should represent the group. Possible values are "average", "open", "high", "low", "close" and "sum". For OHLC and candlestick series the approximation is "ohlc" by default, which finds the open, high, low and close values within all the grouped data. For ranges, the approximation is "range", which finds the low and high values.

    Custom aggregate methods can be added by assigning a callback function as the approximation. This function takes a numeric array as the argument and should return a single numeric value or null. Note that the numeric array will never contain null values, only true numbers. Instead, if null values are present in the raw data, the numeric array will have an .hasNulls property set to true. For single-value data sets the data is available in the first argument of the callback function. For OHLC data sets, all the open values are in the first argument, all high values in the second etc.

    Since v4.2.7, grouping meta data is available in the approximation callback from this.dataGroupInfo. It can be used to extract information from the raw data.

    Defaults to average for line-type series, sum for columns, range for range series and ohlc for OHLC and candlestick.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val dateTimeLabelFormats: UndefOr[Object]

    Datetime formats for the header of the tooltip in a stock chart.

    Datetime formats for the header of the tooltip in a stock chart. The format can vary within a chart depending on the currently selected time range and the current data grouping.

    The default formats are:

    {
       millisecond: ['%A, %b %e, %H:%M:%S.%L', '%A, %b %e, %H:%M:%S.%L', '-%H:%M:%S.%L'],
       second: ['%A, %b %e, %H:%M:%S', '%A, %b %e, %H:%M:%S', '-%H:%M:%S'],
       minute: ['%A, %b %e, %H:%M', '%A, %b %e, %H:%M', '-%H:%M'],
       hour: ['%A, %b %e, %H:%M', '%A, %b %e, %H:%M', '-%H:%M'],
       day: ['%A, %b %e, %Y', '%A, %b %e', '-%A, %b %e, %Y'],
       week: ['Week from %A, %b %e, %Y', '%A, %b %e', '-%A, %b %e, %Y'],
       month: ['%B %Y', '%B', '-%B %Y'],
       year: ['%Y', '%Y', '-%Y']
    }
    

    For each of these array definitions, the first item is the format used when the active time span is one unit. For instance, if the current data applies to one week, the first item of the week array is used. The second and third items are used when the active time span is more than two units. For instance, if the current data applies to two weeks, the second and third item of the week array are used, and applied to the start and end date of the time span.

  8. val enabled: UndefOr[Boolean]

    Enable or disable data grouping.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val forced: UndefOr[Boolean]

    When data grouping is forced, it runs no matter how small the intervals are.

    When data grouping is forced, it runs no matter how small the intervals are. This can be handy for example when the sum should be calculated for values appearing at random times within each hour.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. val groupPixelWidth: UndefOr[Double]

    The approximate pixel width of each group.

    The approximate pixel width of each group. If for example a series with 30 points is displayed over a 600 pixel wide plot area, no grouping is performed. If however the series contains so many points that the spacing is less than the groupPixelWidth, Highcharts will try to group it into appropriate groups so that each is more or less two pixels wide. Defaults to 10.

  15. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  23. val smoothed: UndefOr[Boolean]

    Normally, a group is indexed by the start of that group, so for example when 30 daily values are grouped into one month, that month's x value will be the 1st of the month.

    Normally, a group is indexed by the start of that group, so for example when 30 daily values are grouped into one month, that month's x value will be the 1st of the month. This apparently shifts the data to the left. When the smoothed option is true, this is compensated for. The data is shifted to the middle of the group, and min and max values are preserved. Internally, this is used in the Navigator series.

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toLocaleString(): String
    Definition Classes
    Object
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. val units: UndefOr[Array[Any]]

    An array determining what time intervals the data is allowed to be grouped to.

    An array determining what time intervals the data is allowed to be grouped to. Each array item is an array where the first value is the time unit and the second value another array of allowed multiples. Defaults to:

    units: [[
    	'millisecond', // unit name
    	[1, 2, 5, 10, 20, 25, 50, 100, 200, 500] // allowed multiples
    ], [
    	'second',
    	[1, 2, 5, 10, 15, 30]
    ], [
    	'minute',
    	[1, 2, 5, 10, 15, 30]
    ], [
    	'hour',
    	[1, 2, 3, 4, 6, 8, 12]
    ], [
    	'day',
    	[1]
    ], [
    	'week',
    	[1]
    ], [
    	'month',
    	[1, 3, 6]
    ], [
    	'year',
    	null
    ]]
    

  28. def valueOf(): Any
    Definition Classes
    Object
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped