ComponentOne ASP.NET MVC Controls
BoxWhisker Class
File
wijmo.chart.analytics.js
Module
wijmo.chart.analytics
Base Class
SeriesBase

Represents a Box&Whisker chart series.

The BoxWhisker series is normally used to compare distributions between different sets of numerical data.

Constructor

Properties

Methods

Events

Constructor

constructor

constructor(options?: any): BoxWhisker

Initializes a new instance of the BoxWhisker class.

Parameters
Optional

JavaScript object containing initialization data for the object.

Returns
BoxWhisker

Properties

altStyle

Gets or sets the alternate style for the series.

The alternate style is used for negative values in Bar, Column, and Scatter charts; and for rising values in financial chart types like Candlestick, LineBreak, EquiVolume etc.

The default value for this property is null, which causes the series to use the default style.

Inherited From
SeriesBase
Type
any

axisX

Gets or sets the X-axis for the series.

Inherited From
SeriesBase
Type
Axis

axisY

Gets or sets the Y-axis for the series.

Inherited From
SeriesBase
Type
Axis

binding

Gets or sets the name of the property that contains Y values for the series.

Inherited From
SeriesBase
Type
string

bindingX

Gets or sets the name of the property that contains X values for the series.

Inherited From
SeriesBase
Type
string

chart

Gets the FlexChart object that owns this series.

Inherited From
SeriesBase
Type
FlexChartCore

collectionView

Gets the ICollectionView object that contains the data for this series.

Inherited From
SeriesBase
Type
ICollectionView

cssClass

Gets or sets the series CSS class.

Inherited From
SeriesBase
Type
string

gapWidth

Gets or sets a value that determines the width of the gab between groups as a percentage.

The default value for this property is 0.1. The min value is 0 and max value is 1.

Type
number

groupWidth

Gets or sets a value that determines the group width as a percentage.

The default value for this property is 0.8. The min value is 0 and max value is 1.

Type
number

hostElement

Gets the series host element.

Inherited From
SeriesBase
Type
SVGGElement

interpolateNulls

Gets or sets a value that determines whether to interpolate null values in the data.

If true, the series interpolates the value of any missing data based on neighboring points. If false, it leaves a break in lines and areas at the points with null values.

The default value for this property is false.

Inherited From
SeriesBase
Type
boolean

itemFormatter

Gets or sets the item formatter function that allows you to customize the appearance of the series.

The property overrides the chart's itemFormatter itemFormatter.

Inherited From
SeriesBase
Type
Function

itemsSource

Gets or sets the array or ICollectionView object that contains the series data.

Inherited From
SeriesBase
Type
any

legendElement

Gets the series element in the legend.

Inherited From
SeriesBase
Type
SVGGElement

meanLineStyle

Gets or sets a value that specifies the style for the mean line.

Type
any

meanMarkerStyle

Gets or sets a value that specifies the style for the mean marker.

Type
any

name

Gets or sets the series name.

The series name is displayed in the chart legend. Any series without a name does not appear in the legend.

Inherited From
SeriesBase
Type
string

quartileCalculation

Gets or sets a value that specifies the quartile calculation method.

Type
QuartileCalculation

showInnerPoints

Gets or sets a value that determines whether to show the inner data points for each point in the series.

Type
boolean

showMeanLine

Gets or sets a value that determines whether to show the mean line.

Type
boolean

showMeanMarker

Gets or sets a value that determines whether to show the mean marker.

Type
boolean

showOutliers

Gets or sets a value that determines whether to show outliers.

Outliers are inner points outside the range between the first and third quartiles.

Type
boolean

style

Gets or sets the series style.

Inherited From
SeriesBase
Type
any

symbolMarker

Gets or sets the shape of marker to use for each data point in the series. Applies to Scatter, LineSymbols, and SplineSymbols chart types.

The default value for this property is Marker.Dot.

Inherited From
SeriesBase
Type
Marker

symbolSize

Gets or sets the size (in pixels) of the symbols used to render this Series. Applies to Scatter, LineSymbols, and SplineSymbols chart types.

The default value for this property is 10 pixels.

Inherited From
SeriesBase
Type
number

symbolStyle

Gets or sets the series symbol style.

Applies to Scatter, LineSymbols, and SplineSymbols chart types.

Inherited From
SeriesBase
Type
any

tooltipContent

Gets or sets the series specific tooltip content.

The property overrides the content of chart tooltip content.

Inherited From
SeriesBase
Type
any

visibility

Gets or sets an enumerated value indicating whether and where the series appears.

The default value for this property is SeriesVisibility.Visible.

Inherited From
SeriesBase
Type
SeriesVisibility

Methods

dataToPoint

dataToPoint(pt: Point): Point

Converts a Point from series data coordinates to control coordinates.

Parameters
Inherited From
SeriesBase
Returns
Point

drawLegendItem

drawLegendItem(engine: IRenderEngine, rect: Rect, index: number): void

Draw a legend item at the specified position.

Parameters
  • engine: IRenderEngine

    The rendering engine to use.

  • rect: Rect

    The position of the legend item.

  • index: number

    Index of legend item(for series with multiple legend items).

Inherited From
SeriesBase
Returns
void

getDataRect

getDataRect(currentRect?: Rect, calculatedRect?: Rect): Rect

Returns the series bounding rectangle in data coordinates.

If getDataRect() returns null, the limits are calculated automatically based on the data values.

Parameters
Optional

The current rectangle of chart. This parameter is optional.

The calculated rectangle of chart. This parameter is optional.

Inherited From
SeriesBase
Returns
Rect

getPlotElement

getPlotElement(pointIndex: number): any

Gets the plot element that corresponds to the specified point index.

Parameters
Inherited From
SeriesBase
Returns
any

hitTest

hitTest(pt: any, y?: number): HitTestInfo

Gets a HitTestInfo object with information about the specified point.

Parameters
Inherited From
SeriesBase
Returns
HitTestInfo

initialize

initialize(options: any): void

Initializes the series by copying the properties from a given object.

Parameters
Inherited From
SeriesBase
Returns
void

legendItemLength

legendItemLength(): number

Returns number of series items in the legend.

Inherited From
SeriesBase
Returns
number

measureLegendItem

measureLegendItem(engine: IRenderEngine, index: number): Size

Measures height and width of the legend item.

Parameters
Inherited From
SeriesBase
Returns
Size

onRendered

onRendered(engine: IRenderEngine): void

Raises the rendered event.

Parameters
Inherited From
SeriesBase
Returns
void

onRendering

onRendering(engine: IRenderEngine, index: number, count: number): boolean

Raises the rendering event.

Parameters
Inherited From
SeriesBase
Returns
boolean

pointToData

pointToData(pt: Point): Point

Converts a Point from control coordinates to series data coordinates.

Parameters
Inherited From
SeriesBase
Returns
Point

Events

rendered

Occurs when series is rendered.

Inherited From
SeriesBase
Arguments
IRenderEngine

rendering

Occurs when series is rendering.

Inherited From
SeriesBase
Arguments
EventArgs