Signature: addYAxisGuide(name: string, index: number): void
Description: Adds a Y-axis guide.
Parameters:
name: string
- The name of the guide.index: number
- The index to insert the new guide in the list of Y-axis guides. If left undefined, the guide is appended to the end of the list.void
Signature: deleteYAxisGuide(index: number): void
Description: Deletes a Y-axis guide.
Parameters:
index: number
- The index of the guide to delete in the list of Y-axis guides. If left undefined, the last guide in the list is deleted.void
Signature: emitConfigUpdate(functionCalled: string): void
Description: Emits a config update event.
Parameters:
functionCalled: string
- No description.void
Signature: generateDefaultConfig(): Promise
Description: A function that generates the default config object when creating a new chart.
Returns: Promise
Async: This method is async and must be awaited for the changes to take effect.
Signature: getAxisLabelsSymbol(): undefined | WebChartTextSymbol
Description: Gets the axis labels text symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getAxisLinesSymbol(): undefined | ISimpleLineSymbol
Description: Gets the axis lines symbol. Contains styling information such as line width, line style, and line color.
Returns: undefined | ISimpleLineSymbol
Signature: getBackgroundColor(): undefined | Color
Description: Gets the background color of the chart.
Returns: undefined | Color
Signature: getBinCount(): number
Description: Gets the number of bins used to create the histogram.
Returns: number
Signature: getBinSymbol(): ISimpleFillSymbol
Description: Gets the fill symbol used for the bins in the histogram.
Returns: ISimpleFillSymbol
Signature: getBuffer(axisIndex: number): boolean
Description: Gets the buffer setting for the specified axis.
Parameters:
axisIndex: number
- The index of the axisboolean
Signature: getChartId(): undefined | string
Description: Gets the chart id.
Returns: undefined | string
Signature: getChartRenderer(): any
Description: Gets the chart renderer.
Returns: any
Signature: getChartSubtitleVisibility(): boolean
Description: Gets whether or not the chart subtitle is visible.true: Chart subtitle is visible.false: Chart subtitle is hidden.
Returns: boolean
Signature: getChartSubType(): ChartSubType
Description: Gets the chart sub type of the series.
Returns: ChartSubType
Signature: getChartTitleVisibility(): boolean
Description: Gets whether or not the chart title is visible.true: Chart title is visible.false: Chart title is hidden.
Returns: boolean
Signature: getChartType(): ChartTypes
Description: Gets the chart type.
Returns: ChartTypes
Signature: getColorMatch(): boolean
Description: Gets whether the chart should attempt to match the data source's colors.true: Attempt to match the data source's colors.false: Use the colors defined in the config.
Returns: boolean
Signature: getConfig(): ChartConfig
Description: Gets the current chart configuration object.
Returns: ChartConfig
Signature: getCursorCrosshair(): undefined | WebChartCursorCrosshair
Description: Gets the cursor crosshair from the chart config.
Returns: undefined | WebChartCursorCrosshair
Signature: getCursorCrosshairHorizontalLineVisibility(): boolean
Description: Gets the visibility of the horizontal line of the cursor's crosshair.
Returns: boolean
Signature: getCursorCrosshairStyle(): undefined | ISimpleLineSymbol
Description: Gets the style of the cursor's crosshair from the chart config.
Returns: undefined | ISimpleLineSymbol
Signature: getCursorCrosshairVerticalLineVisibility(): boolean
Description: Gets the visibility of the vertical line of the cursor's crosshair.
Returns: boolean
Signature: getDataLabelsSymbol(): undefined | WebChartTextSymbol
Description: Gets the data labels text symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getDataLabelsVisibility(): boolean
Description: Gets whether the data labels are visible.true: Data labels are visible.false: Data labels are hidden.
Returns: boolean
Signature: getDataTooltipReverseColor(seriesIndex: number): boolean
Description: Gets the setting of the dataTooltipReverseColor property.
Parameters:
seriesIndex: number
- The index of the series.boolean
Signature: getDataTooltipVisibility(seriesIndex: number): boolean
Description: Gets the visibility of the data tooltips.
Parameters:
seriesIndex: number
- The index of the series.boolean
Signature: getDataTransformationType(): WebChartDataTransformations
Description: Gets the data transformation type used in the histogram.
Returns: WebChartDataTransformations
Signature: getDescriptionSymbol(): undefined | WebChartTextSymbol
Description: Gets the description text symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getDescriptionText(): string
Description: Gets the chart description text.
Returns: string
Signature: getDescriptionVisibility(): boolean
Description: Gets whether or not the chart description is visible.true: Description is visible.false: Description is hidden.
Returns: boolean
Signature: getDisplayCursorTooltip(axisIndex: number): boolean
Description: Gets the display cursor tooltip setting for the specified axis.
Parameters:
axisIndex: number
- The index of the axis to get the display cursor tooltip for.boolean
Signature: getDisplayZeroLine(axisIndex: number): boolean
Description: Gets the display zero line setting for the specified axis.
Parameters:
axisIndex: number
- The index of the axis to get the display zero line for.boolean
Signature: getFetchNULLValues(): boolean
Description: Gets whether to fetch null values for them to be counted or displayed as categories on the chart.
Returns: boolean
Signature: getGridLinesSymbol(): undefined | ISimpleLineSymbol
Description: Gets the grid lines symbol. Contains styling information such as line width, line style, and line color.
Returns: undefined | ISimpleLineSymbol
Signature: getGuideAbove(index: number, orientation: GuideOrientation): boolean
Description: Gets whether the guide should be rendered above the other chart elements.
Parameters:
index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.boolean
Signature: getGuideEnd(index: number, orientation: GuideOrientation): undefined | null | string | number | Date
Description: Gets the end value of a guide.
Parameters:
index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.undefined | null | string | number | Date
Signature: getGuideLabelsSymbol(): undefined | WebChartTextSymbol
Description: Gets the guide labels text symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getGuideLabelText(index: number, orientation: GuideOrientation): undefined | string
Description: Gets the guide label text.
Parameters:
index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.undefined | string
Signature: getGuideName(index: number, orientation: GuideOrientation): undefined | string
Description: Gets the name of a guide.
Parameters:
index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.undefined | string
Signature: getGuideStart(index: number, orientation: GuideOrientation): null | string | number | Date
Description: Gets the start value of a guide.
Parameters:
index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.null | string | number | Date
Signature: getGuideStyle(index: number, orientation: GuideOrientation): undefined | ISimpleLineSymbol | ISimpleFillSymbol
Description: Gets the guide style.
Parameters:
index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.undefined | ISimpleLineSymbol | ISimpleFillSymbol
Signature: getGuideVisibility(index: number, orientation: GuideOrientation): boolean
Description: Gets whether a guide is visible.
Parameters:
index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.boolean
Signature: getHorizontalAxisLabelsBehavior(): WebChartLabelBehavior
Description: Gets the horizontal axis labels behavior for the chart.
Returns: WebChartLabelBehavior
Signature: getIntegerOnlyValues(axisIndex: number): boolean
Description: Gets the integer only values setting for the specified axis.
Parameters:
axisIndex: number
- The index of the axisboolean
Signature: getLayer(): undefined | SupportedLayer
Description: Gets the associated layer.
Returns: undefined | SupportedLayer
Signature: getLegendMaxHeight(): undefined | number
Description: Gets the maximum height of the legend.
Returns: undefined | number
Signature: getLegendPosition(): WebChartLegendPositions
Description: Gets the legend position: top, bottom, left, or right.
Returns: WebChartLegendPositions
Signature: getLegendRoundMarker(): boolean
Description: Gets the indicator for whether the legend markers should be rounded.
Returns: boolean
Signature: getLegendTextSymbol(): undefined | WebChartTextSymbol
Description: Gets the legend text symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getLegendTitleSymbol(): undefined | WebChartTextSymbol
Description: Gets the legend title symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getLegendTitleText(): string
Description: Gets the legend title text.
Returns: string
Signature: getLegendTitleVisibility(): boolean
Description: Gets whether the legend title is visible.true: Legend title is visible.false: Legend title is hidden.
Returns: boolean
Signature: getLegendVisibility(): boolean
Description: Gets whether the legend title is visible.true: Legend title is visible.false: Legend title is hidden.
Returns: boolean
Signature: getMaxXBound(): null | number
Description: Gets the maximum bound that is currently set for the x-axis.
Returns: null | number
Signature: getMaxYBound(): null | number
Description: Gets the maximum bound for the y-axis.
Returns: null | number
Signature: getMeanSymbol(): ISimpleLineSymbol
Description: Gets the line symbol used for the mean overlay in the histogram.
Returns: ISimpleLineSymbol
Signature: getMedianSymbol(): ISimpleLineSymbol
Description: Gets the line symbol used for the median overlay in the histogram.
Returns: ISimpleLineSymbol
Signature: getMinXBound(): null | number
Description: Gets the minimum bound that is currently set for the x-axis.
Returns: null | number
Signature: getMinYBound(): null | number
Description: Gets the minimum bound for the y-axis.
Returns: null | number
Signature: getNormalDistSymbol(): ISimpleLineSymbol
Description: Gets the line symbol used for the normal distribution overlay in the histogram.
Returns: ISimpleLineSymbol
Signature: getNumericField(): string
Description: Gets numeric field. This is the field used to create a histogram to visualize the frequency distribution of its values.
Returns: string
Signature: getSeriesId(seriesIndex: number): undefined | string
Description: Gets the series ID for a given series index.If the series index is out of bounds, this function will return undefined.
Parameters:
seriesIndex: number
- The index of the series.undefined | string
Signature: getSeriesIndex(seriesId: string): undefined | number
Description: Gets the series index for a given series ID.If the series ID is not found, this function will return undefined.
Parameters:
seriesId: string
- No description.undefined | number
Signature: getSeriesLength(): number
Description: Gets the length of the series array.
Returns: number
Signature: getSeriesOverlay(): undefined | HistogramOverlays
Description: Get the chart overlays for the series. Histogram supports 4 overlays: mean, median, standardDeviation and comparisonDistribution.
Returns: undefined | HistogramOverlays
Signature: getSeriesVisibility(seriesIndex: number): boolean
Description: Gets the visibility of a series.
Parameters:
seriesIndex: number
- The series indexboolean
Signature: getShowMeanOverlay(): boolean
Description: Gets whether the mean overlay is shown in the histogram.
Returns: boolean
Signature: getShowMedianOverlay(): boolean
Description: Gets whether the median overlay is shown in the histogram.
Returns: boolean
Signature: getShowNormalDistOverlay(): boolean
Description: Gets whether the normal distribution overlay is shown in the histogram.
Returns: boolean
Signature: getShowStandardDevOverlay(): boolean
Description: Gets whether the standard deviation overlay is shown in the histogram.
Returns: boolean
Signature: getSplitByValues(): string[]
Description: Gets the split-by values for the chart.
Returns: string[]
Signature: getStandardDevSymbol(): ISimpleLineSymbol
Description: Gets the line symbol used for the standard deviation overlay in the histogram.
Returns: ISimpleLineSymbol
Signature: getSubtitleSymbol(): undefined | WebChartTextSymbol
Description: Gets the subtitle text symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getSubtitleText(): string
Description: Gets the chart subtitle text.
Returns: string
Signature: getTickSpacing(axisIndex: number): undefined | number
Description: Gets the tick spacing setting for the specified axis.
Parameters:
axisIndex: number
- The index of the axisundefined | number
Signature: getTitleSymbol(): undefined | WebChartTextSymbol
Description: Gets the title text symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getTitleText(): string
Description: Gets the chart title text.
Returns: string
Signature: getTooltipReverseColor(index: number, orientation: GuideOrientation): boolean
Description: Gets whether the tooltip text color should be reversed for a guide.
Parameters:
index: number
- The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- The axis orientation of the guide.boolean
Signature: getVersion(): string
Description: Gets the version of the chart configuration.
Returns: string
Signature: getVerticalAxisLabelsBehavior(): WebChartLabelBehavior
Description: Gets the vertical axis labels behavior for the chart.
Returns: WebChartLabelBehavior
Signature: getXAxisScrollbar(): undefined | WebChartAxisScrollBar
Description: Gets the x-axis scrollbar configuration.
Returns: undefined | WebChartAxisScrollBar
Signature: getXAxisTitleSymbol(): undefined | WebChartTextSymbol
Description: Gets the x-axis title text symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getXAxisTitleText(): string
Description: Gets the x-axis title text.
Returns: string
Signature: getXAxisTitleVisibility(): boolean
Description: Gets whether the x-axis title is visible or not.true: X-axis title is visible.false: X-axis title is hidden.
Returns: boolean
Signature: getXAxisValueFormat(): undefined | CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions
Description: Gets the value format options for the x-axis.
Returns: undefined | CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions
Signature: getXLogarithmic(): boolean
Description: Gets whether logarithmic scale is enabled for the x-axis.true: Logarithmic scale is enabled for the x-axis.false: Logarithmic scale is disabled for the x-axis.
Returns: boolean
Signature: getYAxisScrollbar(): undefined | WebChartAxisScrollBar
Description: Gets the y-axis scrollbar configuration.
Returns: undefined | WebChartAxisScrollBar
Signature: getYAxisTitleSymbol(): undefined | WebChartTextSymbol
Description: Gets the y-axis title text symbol. Contains styling information such as font, color, and symbol style.
Returns: undefined | WebChartTextSymbol
Signature: getYAxisTitleText(): string
Description: Gets the Y-axis title text.
Returns: string
Signature: getYAxisTitleVisibility(): boolean
Description: Gets the visibility of the Y-axis title.true: The Y-axis title is visible.false: The Y-axis title is hidden.
Returns: boolean
Signature: getYAxisValueFormat(): undefined | NumberFormatOptions
Description: Gets the value format options for the y-axis.
Returns: undefined | NumberFormatOptions
Signature: getYGuidesLength(): undefined | number
Description: Gets the number guides in the Y-axis guides list.
Returns: undefined | number
Signature: getYLogarithmic(): boolean
Description: Gets whether logarithmic scale is enabled for the y-axis.true: Logarithmic scale is enabled for the y-axis.false: Logarithmic scale is disabled for the y-axis.
Returns: boolean
Signature: isSameChartAs(otherModel: undefined | ChartModel): boolean
Description: Checks if the current chart model is for the same chart as another chart model.
Parameters:
otherModel: undefined | ChartModel
- The other chart model to compare to.boolean
Signature: loadConfigFromLayer(params: ModelParams): Promise
Description: A function that loads the config based on the provided props.
Parameters:
params: ModelParams
- No description.Promise
Signature: setAxisLabelsSymbol(newAxisLabelsSymbol: undefined | WebChartTextSymbol): void
Description: Sets the axis labels text symbol. Contains styling information such as font, color, and symbol style.
Parameters:
newAxisLabelsSymbol: undefined | WebChartTextSymbol
- The new axis labels text symbol.void
Signature: setAxisLinesSymbol(newAxisLinesSymbol: undefined | ISimpleLineSymbol): void
Description: Sets the axis lines symbol. Contains styling information such as line width, line style, and line color.
Parameters:
newAxisLinesSymbol: undefined | ISimpleLineSymbol
- The new axis lines symbol.void
Signature: setBackgroundColor(backgroundColor: undefined | Color): void
Description: Sets the background color of the chart.
Parameters:
backgroundColor: undefined | Color
- The background color.void
Signature: setBinCount(binCount: number): void
Description: Sets the number of bins used to create the histogram.
Parameters:
binCount: number
- No description.void
Signature: setBinSymbol(symbol: ISimpleFillSymbol): void
Description: Sets the fill symbol used for the bins in the histogram.
Parameters:
symbol: ISimpleFillSymbol
- No description.void
Signature: setBuffer(buffer: boolean, axisIndex: number): void
Description: Sets the buffer for the specified axis.
Parameters:
buffer: boolean
- The setting for the bufferaxisIndex: number
- The index of the axisvoid
Signature: setChartId(id: string): void
Description: Sets the chart id.
Parameters:
id: string
- No description.void
Signature: setChartRenderer(renderer: any): void
Description: Sets the chart renderer.
Parameters:
renderer: any
- The chart renderer to set.void
Signature: setChartSubtitleVisibility(visibility: boolean): void
Description: Sets whether or not the chart subtitle is visible.true: Show chart subtitle.false: Hide chart subtitle.
Parameters:
visibility: boolean
- The visibility state of the chart subtitle.Note: Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.void
Signature: setChartTitleVisibility(visibility: boolean): void
Description: Sets whether or not the chart title is visible.true: Show chart title.false: Hide chart title.
Parameters:
visibility: boolean
- The visibility state of the chart title.Note: Even if the title is visible, it may not be displayed if the title text is empty.void
Signature: setColorMatch(newColorMatch: boolean): void
Description: Sets whether the chart should attempt to match the data source's colors.true: Attempt to match the data source's colors.false: Use the colors defined in the config.
Parameters:
newColorMatch: boolean
- No description.void
Signature: setConfig(config: ChartConfig): void
Description: Sets the chart configuration object.
Parameters:
config: ChartConfig
- The configuration object.void
Signature: setCursorCrosshair(cursorCrosshair: WebChartCursorCrosshair): void
Description: Sets the cursor crosshair in the chart config.
Parameters:
cursorCrosshair: WebChartCursorCrosshair
- The cursor crosshair to setvoid
Signature: setCursorCrosshairHorizontalLineVisibility(visibility: boolean): void
Description: Sets the visibility of the horizontal line of the cursor's crosshair.
Parameters:
visibility: boolean
- The visibility to set for the cursor's crosshair horizontal linevoid
Signature: setCursorCrosshairStyle(style: ISimpleLineSymbol): void
Description: Sets the style of the cursor's crosshair in the chart config.
Parameters:
style: ISimpleLineSymbol
- The style to set for the cursor's crosshairvoid
Signature: setCursorCrosshairVerticalLineVisibility(visibility: boolean): void
Description: Sets the visibility of the vertical line of the cursor's crosshair.
Parameters:
visibility: boolean
- The visibility to set for the cursor's crosshair vertical linevoid
Signature: setDataLabelsSymbol(newDataLabelsSymbol: undefined | WebChartTextSymbol): void
Description: Sets the data labels text symbol. Contains styling information such as font, color, and symbol style.
Parameters:
newDataLabelsSymbol: undefined | WebChartTextSymbol
- No description.void
Signature: setDataLabelsVisibility(newDataLabelsVisibility: boolean): void
Description: Sets the visibility of the data labels.true: Show data labels.false: Hide data labels.
Parameters:
newDataLabelsVisibility: boolean
- No description.void
Signature: setDataTooltipReverseColor(reverseColor: boolean, seriesIndex: number): void
Description: Sets the setting of the dataTooltipReverseColor property.
Parameters:
reverseColor: boolean
- Indicator of whether to reverse the color.seriesIndex: number
- The index of the series to set the reverse color.void
Signature: setDataTooltipVisibility(visibility: boolean, seriesIndex: number): void
Description: Sets the visibility of the data tooltips.
Parameters:
visibility: boolean
- The visibility of the data tooltips.seriesIndex: number
- The index of the series to set the visibility.void
Signature: setDataTransformationType(dataTransformationType: WebChartDataTransformations): void
Description: Sets the data transformation type used in the histogram.
Parameters:
dataTransformationType: WebChartDataTransformations
- No description.void
Signature: setDescriptionSymbol(descriptionSymbol: undefined | WebChartTextSymbol): void
Description: Sets the description text symbol. Contains styling information such as font, color, and symbol style.
Parameters:
descriptionSymbol: undefined | WebChartTextSymbol
- The description symbol.void
Signature: setDescriptionText(description: string): void
Description: Sets the chart description text.
Parameters:
description: string
- The description text.void
Signature: setDescriptionVisibility(visibility: boolean): void
Description: Sets whether or not the chart description is visible.true: Show description.false: Hide description.
Parameters:
visibility: boolean
- The visibility state of the description.Note: Even if the description is visible, it may not be displayed if the description text is empty.void
Signature: setDisplayCursorTooltip(displayCursorTooltip: boolean, axisIndex: number): void
Description: Sets the display cursor tooltip setting for the specified axis.
Parameters:
displayCursorTooltip: boolean
- The display cursor tooltip setting for the axis.axisIndex: number
- The index of the axis to set the display cursor tooltip for.void
Signature: setDisplayZeroLine(displayZeroLine: boolean, axisIndex: number): void
Description: Sets the display zero line setting for the specified axis.
Parameters:
displayZeroLine: boolean
- The display zero line setting for the axis.axisIndex: number
- The index of the axis to set the display zero line for.void
Signature: setFetchNULLValues(fetchNULLValues: boolean): void
Description: Sets whether to fetch null values for them to be counted or displayed as categories on the chart.
Parameters:
fetchNULLValues: boolean
- Whether to fetch null values.void
Signature: setGridLinesSymbol(linesSymbol: undefined | ISimpleLineSymbol): void
Description: Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
Parameters:
linesSymbol: undefined | ISimpleLineSymbol
- The grid lines symbol.void
Signature: setGuideAbove(above: boolean, index: number, orientation: GuideOrientation): void
Description: Sets whether the guide should be rendered above the other chart elements.
Parameters:
above: boolean
- New above boolean to set.index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.void
Signature: setGuideEnd(end: undefined | null | string | number | Date, index: number, orientation: GuideOrientation): void
Description: Sets the end value of a guide.
Parameters:
end: undefined | null | string | number | Date
- New end value to set.index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.void
Signature: setGuideLabelsSymbol(newGuideLabelsSymbol: undefined | WebChartTextSymbol): void
Description: Sets the guide labels text symbol. Contains styling information such as font, color, and symbol style.
Parameters:
newGuideLabelsSymbol: undefined | WebChartTextSymbol
- No description.void
Signature: setGuideLabelText(labelText: string, index: number, orientation: GuideOrientation): void
Description: Sets the guide label text.
Parameters:
labelText: string
- New label text to set.index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.void
Signature: setGuideName(name: string, index: number, orientation: GuideOrientation): void
Description: Sets the name of a guide.
Parameters:
name: string
- New name to set.index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.void
Signature: setGuideStart(start: null | string | number | Date, index: number, orientation: GuideOrientation): void
Description: Sets the start value of a guide.
Parameters:
start: null | string | number | Date
- New start value to set.index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.void
Signature: setGuideStyle(style: ISimpleLineSymbol | ISimpleFillSymbol, index: number, orientation: GuideOrientation): void
Description: Sets the guide style.
Parameters:
style: ISimpleLineSymbol | ISimpleFillSymbol
- New style to set.index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.void
Signature: setGuideVisibility(visible: boolean, index: number, orientation: GuideOrientation): void
Description: Sets whether a guide is visible
Parameters:
visible: boolean
- New visibility to set.index: number
- Default 0. The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- Default y. The axis orientation of the guide.void
Signature: setHorizontalAxisLabelsBehavior(horizontalBehavior: WebChartLabelBehavior): void
Description: Sets the horizontal axis labels behavior for the chart.
Parameters:
horizontalBehavior: WebChartLabelBehavior
- The behavior for the horizontal axis labels.void
Signature: setIntegerOnlyValues(integerOnlyValues: boolean, axisIndex: number): void
Description: Sets the integer only values setting for the specified axis.
Parameters:
integerOnlyValues: boolean
- The boolean value to set for the integer only values settingaxisIndex: number
- The index of the axisvoid
Signature: setLegendMaxHeight(maxHeight: number): void
Description: Sets the maximum height of the legend. If not set, the legend will occupy the same height as the series container or pie chart.
Parameters:
maxHeight: number
- the maximum height for the legendvoid
Signature: setLegendPosition(legendPosition: WebChartLegendPositions): void
Description: Sets the legend position; where the chart legend should be displayed, top, bottom, left, or right.
Parameters:
legendPosition: WebChartLegendPositions
- No description.void
Signature: setLegendRoundMarker(roundMarker: boolean): void
Description: Sets the indicator for whether the legend markers should be rounded.
Parameters:
roundMarker: boolean
- the round marker indicatorvoid
Signature: setLegendTextSymbol(legendText: undefined | WebChartTextSymbol): void
Description: Sets the legend text symbol. Contains styling information such as font, color, and symbol style.
Parameters:
legendText: undefined | WebChartTextSymbol
- No description.void
Signature: setLegendTitleSymbol(legendTitle: undefined | WebChartTextSymbol): void
Description: Sets the legend title symbol. Contains styling information such as font, color, and symbol style.
Parameters:
legendTitle: undefined | WebChartTextSymbol
- No description.void
Signature: setLegendTitleText(legendTitleText: string): void
Description: Sets the legend title text.
Parameters:
legendTitleText: string
- No description.void
Signature: setLegendTitleVisibility(showLegendTitle: boolean): void
Description: Sets whether the legend title is visible.true: Show legend title.false: Hide legend title.
Parameters:
showLegendTitle: boolean
- No description.void
Signature: setLegendVisibility(legendVisibility: boolean): void
Description: Sets whether the legend title is visible.true: Show legend title.false: Hide legend title.
Parameters:
legendVisibility: boolean
- No description.void
Signature: setMaxXBound(newMaxXBound: null | number): Promise
Description: Sets the maximum bound for the x-axis.
Parameters:
newMaxXBound: null | number
- The new maximum bound for the x-axis.Promise
Signature: setMaxYBound(maxBound: null | number): Promise
Description: Sets the maximum bound for the y-axis.
Parameters:
maxBound: null | number
- The maximum bound for the y-axis. If null, the maximum bound is automatically calculated.Promise
Signature: setMeanSymbol(symbol: ISimpleLineSymbol): void
Description: Sets the line symbol used for the mean overlay in the histogram.
Parameters:
symbol: ISimpleLineSymbol
- No description.void
Signature: setMedianSymbol(symbol: ISimpleLineSymbol): void
Description: Sets the line symbol used for the median overlay in the histogram.
Parameters:
symbol: ISimpleLineSymbol
- No description.void
Signature: setMinXBound(newMinXBound: null | number): Promise
Description: Sets the minimum bound for the x-axis.
Parameters:
newMinXBound: null | number
- The new minimum bound for the x-axis.Promise
Signature: setMinYBound(minBound: null | number): Promise
Description: Sets the minimum bound for the y-axis.
Parameters:
minBound: null | number
- The minimum bound for the y-axis. If null, the minimum bound is automatically calculated.Promise
Signature: setNormalDistSymbol(symbol: ISimpleLineSymbol): void
Description: Sets the line symbol used for the normal distribution overlay in the histogram.
Parameters:
symbol: ISimpleLineSymbol
- No description.void
Signature: setNumericField(numericField: string): Promise
Description: Sets numeric field. This is the field used to create a histogram to visualize the frequency distribution of its values.
Parameters:
numericField: string
- No description.Promise
Signature: setSeriesOverlays(overlays: HistogramOverlays): void
Description: Set the chart overlays for the series. Histogram supports 4 overlays: mean, median, standardDeviation and comparisonDistribution.
Parameters:
overlays: HistogramOverlays
- The overlaysvoid
Signature: setSeriesVisibility(props: LegendItemVisibility): void
Description: Sets the visibility of a series.
Parameters:
props: LegendItemVisibility
- No description.void
Signature: setShowMeanOverlay(show: boolean): void
Description: Sets whether to show the mean overlay for the histogram.
Parameters:
show: boolean
- No description.void
Signature: setShowMedianOverlay(show: boolean): void
Description: Sets whether to show the median overlay for the histogram.
Parameters:
show: boolean
- No description.void
Signature: setShowNormalDistOverlay(show: boolean): void
Description: Sets whether to show the normal distribution overlay for the histogram.
Parameters:
show: boolean
- No description.void
Signature: setShowStandardDevOverlay(show: boolean): void
Description: Sets whether to show the standard deviation overlay for the histogram.
Parameters:
show: boolean
- No description.void
Signature: setStandardDevSymbol(symbol: ISimpleLineSymbol): void
Description: Sets the line symbol used for the standard deviation overlay in the histogram.
Parameters:
symbol: ISimpleLineSymbol
- No description.void
Signature: setSubtitleSymbol(subtitleSymbol: undefined | WebChartTextSymbol): void
Description: Sets the subtitle text symbol. Contains styling information such as font, color, and symbol style.
Parameters:
subtitleSymbol: undefined | WebChartTextSymbol
- The title symbol.void
Signature: setSubtitleText(subtitle: string): void
Description: Sets the chart subtitle text.
Parameters:
subtitle: string
- The subtitle text.void
Signature: setTickSpacing(tickSpacing: number, axisIndex: number): void
Description: Sets the tick spacing for the specified axis.
Parameters:
tickSpacing: number
- The value to set for the tick spacingaxisIndex: number
- The index of the axisvoid
Signature: setTitleSymbol(titleSymbol: undefined | WebChartTextSymbol): void
Description: Sets the title text symbol. Contains styling information such as font, color, and symbol style.
Parameters:
titleSymbol: undefined | WebChartTextSymbol
- The title symbol.void
Signature: setTitleText(title: string): void
Description: Sets the chart title text.
Parameters:
title: string
- The title text.void
Signature: setTooltipReverseColor(reverseColor: boolean, index: number, orientation: GuideOrientation): void
Description: Sets whether the tooltip text color should be reversed for a guide.
Parameters:
reverseColor: boolean
- New reverseColor boolean to set.index: number
- The index of the guide in the list of guides for the given axis orientation.orientation: GuideOrientation
- The axis orientation of the guide.void
Signature: setup(params: ModelParams): Promise
Description: Completes the async setup process for the chart model. Must be called before using the model.
Parameters:
params: ModelParams
- The parameters to be used to set up the chart model.Promise
Signature: setVerticalAxisLabelsBehavior(verticalBehavior: WebChartLabelBehavior): void
Description: Sets the vertical axis labels behavior for the chart.
Parameters:
verticalBehavior: WebChartLabelBehavior
- The behavior for the vertical axis labels.void
Signature: setXAxisScrollbar(scrollbar: WebChartAxisScrollBar): void
Description: Sets the x-axis scrollbar configuration.
Parameters:
scrollbar: WebChartAxisScrollBar
- The x-axis scrollbar configuration.void
Signature: setXAxisTitleSymbol(newXAxisTitle: undefined | WebChartTextSymbol): void
Description: Sets the x-axis title text symbol. Contains styling information such as font, color, and symbol style.
Parameters:
newXAxisTitle: undefined | WebChartTextSymbol
- The new x-axis title text symbol.void
Signature: setXAxisTitleText(newXAxisTitleText: string): void
Description: Sets the x-axis title text.
Parameters:
newXAxisTitleText: string
- The new x-axis title text.void
Signature: setXAxisTitleVisibility(newXAxisTitleVisibility: boolean): void
Description: Sets the visibility of the x-axis title.true: X-axis title is visible.false: X-axis title is hidden.
Parameters:
newXAxisTitleVisibility: boolean
- Whether the x-axis title is visible or not.void
Signature: setXAxisValueFormat(valueFormat: undefined | CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions): Promise
Description: Sets the value format options for the x-axis.
Parameters:
valueFormat: undefined | CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions
- The value format options for the x-axis.Promise
Signature: setXLogarithmic(logarithmicState: boolean): Promise
Description: Sets whether logarithmic scale is enabled for the x-axis.true: Enable logarithmic scale for the x-axis.false: Disable logarithmic scale for the x-axis.
Parameters:
logarithmicState: boolean
- The state of the logarithmic scale for the x-axis.Promise
Signature: setYAxisScrollbar(scrollbar: WebChartAxisScrollBar): void
Description: Sets the y-axis scrollbar configuration.
Parameters:
scrollbar: WebChartAxisScrollBar
- The y-axis scrollbar configuration.void
Signature: setYAxisTitleSymbol(titleSymbol: undefined | WebChartTextSymbol): void
Description: Sets the y-axis title text symbol. Contains styling information such as font, color, and symbol style.
Parameters:
titleSymbol: undefined | WebChartTextSymbol
- The y-axis title text symbol.void
Signature: setYAxisTitleText(titleText: string): void
Description: Sets the Y-axis title text.
Parameters:
titleText: string
- The Y-axis title text.void
Signature: setYAxisTitleVisibility(visibility: boolean): void
Description: Sets the visibility of the Y-axis title.true: Show the Y-axis title.false: Hide the Y-axis title.
Parameters:
visibility: boolean
- The visibility state of the Y-axis title.void
Signature: setYAxisValueFormat(valueFormat: undefined | NumberFormatOptions): Promise
Description: Sets the value format options for the y-axis.
Parameters:
valueFormat: undefined | NumberFormatOptions
- The value format options for the y-axis.Promise
Signature: setYLogarithmic(logarithmicState: boolean): Promise
Description: Sets whether logarithmic scale is enabled for the y-axis.true: Enable logarithmic scale for the y-axis.false: Disable logarithmic scale for the y-axis.
Parameters:
logarithmicState: boolean
- The state of the logarithmic scale for the y-axis.Promise
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4