Represents a control for viewing series objects.
Constructors
Section titled "Constructors"IgxSeriesViewerComponent
new IgxSeriesViewerComponent(): IgxSeriesViewerComponent Returns IgxSeriesViewerComponent
Properties
Section titled "Properties"ngAcceptInputType_actualContentHitTestMode
Section titled "ngAcceptInputType_actualContentHitTestMode"ngAcceptInputType_actualContentHitTestMode: string | ChartHitTestMode ngAcceptInputType_actualInteractionPixelScalingRatio
Section titled "ngAcceptInputType_actualInteractionPixelScalingRatio"ngAcceptInputType_actualInteractionPixelScalingRatio: string | number ngAcceptInputType_actualPixelScalingRatio
Section titled "ngAcceptInputType_actualPixelScalingRatio"ngAcceptInputType_actualPixelScalingRatio: string | number ngAcceptInputType_actualWindowPositionHorizontal
Section titled "ngAcceptInputType_actualWindowPositionHorizontal"ngAcceptInputType_actualWindowPositionHorizontal: string | number ngAcceptInputType_actualWindowPositionVertical
Section titled "ngAcceptInputType_actualWindowPositionVertical"ngAcceptInputType_actualWindowPositionVertical: string | number ngAcceptInputType_actualWindowRect
Section titled "ngAcceptInputType_actualWindowRect"ngAcceptInputType_actualWindowRect: any ngAcceptInputType_actualWindowRectMinHeight
Section titled "ngAcceptInputType_actualWindowRectMinHeight"ngAcceptInputType_actualWindowRectMinHeight: string | number ngAcceptInputType_actualWindowRectMinWidth
Section titled "ngAcceptInputType_actualWindowRectMinWidth"ngAcceptInputType_actualWindowRectMinWidth: string | number ngAcceptInputType_animateSeriesWhenAxisRangeChanges
Section titled "ngAcceptInputType_animateSeriesWhenAxisRangeChanges"ngAcceptInputType_animateSeriesWhenAxisRangeChanges: string | boolean ngAcceptInputType_autoMarginHeight
Section titled "ngAcceptInputType_autoMarginHeight"ngAcceptInputType_autoMarginHeight: string | number ngAcceptInputType_autoMarginWidth
Section titled "ngAcceptInputType_autoMarginWidth"ngAcceptInputType_autoMarginWidth: string | number ngAcceptInputType_bottomMargin
Section titled "ngAcceptInputType_bottomMargin"ngAcceptInputType_bottomMargin: string | number ngAcceptInputType_brushes
Section titled "ngAcceptInputType_brushes"ngAcceptInputType_brushes: string | string[] ngAcceptInputType_contentHitTestMode
Section titled "ngAcceptInputType_contentHitTestMode"ngAcceptInputType_contentHitTestMode: string | ChartHitTestMode ngAcceptInputType_contentViewport
Section titled "ngAcceptInputType_contentViewport"ngAcceptInputType_contentViewport: any ngAcceptInputType_crosshairPoint
Section titled "ngAcceptInputType_crosshairPoint"ngAcceptInputType_crosshairPoint: any ngAcceptInputType_crosshairVisibility
Section titled "ngAcceptInputType_crosshairVisibility"ngAcceptInputType_crosshairVisibility: any ngAcceptInputType_defaultInteraction
Section titled "ngAcceptInputType_defaultInteraction"ngAcceptInputType_defaultInteraction: any ngAcceptInputType_dragModifier
Section titled "ngAcceptInputType_dragModifier"ngAcceptInputType_dragModifier: any ngAcceptInputType_effectiveViewport
Section titled "ngAcceptInputType_effectiveViewport"ngAcceptInputType_effectiveViewport: any ngAcceptInputType_fireMouseLeaveOnManipulationStart
Section titled "ngAcceptInputType_fireMouseLeaveOnManipulationStart"ngAcceptInputType_fireMouseLeaveOnManipulationStart: string | boolean ngAcceptInputType_focusDismissDelayMilliseconds
Section titled "ngAcceptInputType_focusDismissDelayMilliseconds"ngAcceptInputType_focusDismissDelayMilliseconds: string | number ngAcceptInputType_focusedSeriesItems
Section titled "ngAcceptInputType_focusedSeriesItems"ngAcceptInputType_focusedSeriesItems: string | IgxChartSelectedItemCollection ngAcceptInputType_focusMode
Section titled "ngAcceptInputType_focusMode"ngAcceptInputType_focusMode: string | SeriesSelectionMode ngAcceptInputType_focusTransitionDuration
Section titled "ngAcceptInputType_focusTransitionDuration"ngAcceptInputType_focusTransitionDuration: string | number ngAcceptInputType_fullSeries
Section titled "ngAcceptInputType_fullSeries"ngAcceptInputType_fullSeries: string | IgxSeriesCollection ngAcceptInputType_highlightedValuesDisplayMode
Section titled "ngAcceptInputType_highlightedValuesDisplayMode"ngAcceptInputType_highlightedValuesDisplayMode: any ngAcceptInputType_highlightingBehavior
Section titled "ngAcceptInputType_highlightingBehavior"ngAcceptInputType_highlightingBehavior: string | SeriesHighlightingBehavior ngAcceptInputType_highlightingDismissDelayMilliseconds
Section titled "ngAcceptInputType_highlightingDismissDelayMilliseconds"ngAcceptInputType_highlightingDismissDelayMilliseconds: string | number ngAcceptInputType_highlightingFadeOpacity
Section titled "ngAcceptInputType_highlightingFadeOpacity"ngAcceptInputType_highlightingFadeOpacity: string | number ngAcceptInputType_highlightingMode
Section titled "ngAcceptInputType_highlightingMode"ngAcceptInputType_highlightingMode: string | SeriesHighlightingMode ngAcceptInputType_highlightingTransitionDuration
Section titled "ngAcceptInputType_highlightingTransitionDuration"ngAcceptInputType_highlightingTransitionDuration: string | number ngAcceptInputType_horizontalViewScrollbarCornerRadius
Section titled "ngAcceptInputType_horizontalViewScrollbarCornerRadius"ngAcceptInputType_horizontalViewScrollbarCornerRadius: string | number ngAcceptInputType_horizontalViewScrollbarHeight
Section titled "ngAcceptInputType_horizontalViewScrollbarHeight"ngAcceptInputType_horizontalViewScrollbarHeight: string | number ngAcceptInputType_horizontalViewScrollbarInset
Section titled "ngAcceptInputType_horizontalViewScrollbarInset"ngAcceptInputType_horizontalViewScrollbarInset: string | number ngAcceptInputType_horizontalViewScrollbarMaxOpacity
Section titled "ngAcceptInputType_horizontalViewScrollbarMaxOpacity"ngAcceptInputType_horizontalViewScrollbarMaxOpacity: string | number ngAcceptInputType_horizontalViewScrollbarMode
Section titled "ngAcceptInputType_horizontalViewScrollbarMode"ngAcceptInputType_horizontalViewScrollbarMode: string | SeriesViewerScrollbarMode ngAcceptInputType_horizontalViewScrollbarPosition
Section titled "ngAcceptInputType_horizontalViewScrollbarPosition"ngAcceptInputType_horizontalViewScrollbarPosition: string | SeriesViewerHorizontalScrollbarPosition ngAcceptInputType_horizontalViewScrollbarShouldAddAutoTrackInsets
Section titled "ngAcceptInputType_horizontalViewScrollbarShouldAddAutoTrackInsets"ngAcceptInputType_horizontalViewScrollbarShouldAddAutoTrackInsets: string | boolean ngAcceptInputType_horizontalViewScrollbarStrokeThickness
Section titled "ngAcceptInputType_horizontalViewScrollbarStrokeThickness"ngAcceptInputType_horizontalViewScrollbarStrokeThickness: string | number ngAcceptInputType_horizontalViewScrollbarTrackEndInset
Section titled "ngAcceptInputType_horizontalViewScrollbarTrackEndInset"ngAcceptInputType_horizontalViewScrollbarTrackEndInset: string | number ngAcceptInputType_horizontalViewScrollbarTrackStartInset
Section titled "ngAcceptInputType_horizontalViewScrollbarTrackStartInset"ngAcceptInputType_horizontalViewScrollbarTrackStartInset: string | number ngAcceptInputType_interactionOverride
Section titled "ngAcceptInputType_interactionOverride"ngAcceptInputType_interactionOverride: any ngAcceptInputType_interactionPixelScalingRatio
Section titled "ngAcceptInputType_interactionPixelScalingRatio"ngAcceptInputType_interactionPixelScalingRatio: string | number ngAcceptInputType_isAntiAliasingEnabledDuringInteraction
Section titled "ngAcceptInputType_isAntiAliasingEnabledDuringInteraction"ngAcceptInputType_isAntiAliasingEnabledDuringInteraction: string | boolean ngAcceptInputType_isDetached
Section titled "ngAcceptInputType_isDetached"ngAcceptInputType_isDetached: string | boolean ngAcceptInputType_isInCreateAnnotationMode
Section titled "ngAcceptInputType_isInCreateAnnotationMode"ngAcceptInputType_isInCreateAnnotationMode: string | boolean ngAcceptInputType_isInDeleteAnnotationMode
Section titled "ngAcceptInputType_isInDeleteAnnotationMode"ngAcceptInputType_isInDeleteAnnotationMode: string | boolean ngAcceptInputType_isMap
Section titled "ngAcceptInputType_isMap"ngAcceptInputType_isMap: string | boolean ngAcceptInputType_isPagePanningAllowed
Section titled "ngAcceptInputType_isPagePanningAllowed"ngAcceptInputType_isPagePanningAllowed: string | boolean ngAcceptInputType_isSurfaceInteractionDisabled
Section titled "ngAcceptInputType_isSurfaceInteractionDisabled"ngAcceptInputType_isSurfaceInteractionDisabled: string | boolean ngAcceptInputType_isUserAnnotationsEnabled
Section titled "ngAcceptInputType_isUserAnnotationsEnabled"ngAcceptInputType_isUserAnnotationsEnabled: string | boolean ngAcceptInputType_isWindowSyncedToVisibleRange
Section titled "ngAcceptInputType_isWindowSyncedToVisibleRange"ngAcceptInputType_isWindowSyncedToVisibleRange: string | boolean ngAcceptInputType_leftMargin
Section titled "ngAcceptInputType_leftMargin"ngAcceptInputType_leftMargin: string | number ngAcceptInputType_legendHighlightingMode
Section titled "ngAcceptInputType_legendHighlightingMode"ngAcceptInputType_legendHighlightingMode: string | LegendHighlightingMode ngAcceptInputType_legendItemBadgeMode
Section titled "ngAcceptInputType_legendItemBadgeMode"ngAcceptInputType_legendItemBadgeMode: any ngAcceptInputType_legendItemBadgeShape
Section titled "ngAcceptInputType_legendItemBadgeShape"ngAcceptInputType_legendItemBadgeShape: any ngAcceptInputType_markerAutomaticBehavior
Section titled "ngAcceptInputType_markerAutomaticBehavior"ngAcceptInputType_markerAutomaticBehavior: string | MarkerAutomaticBehavior ngAcceptInputType_markerBrushes
Section titled "ngAcceptInputType_markerBrushes"ngAcceptInputType_markerBrushes: string | string[] ngAcceptInputType_markerOutlines
Section titled "ngAcceptInputType_markerOutlines"ngAcceptInputType_markerOutlines: string | string[] ngAcceptInputType_outlines
Section titled "ngAcceptInputType_outlines"ngAcceptInputType_outlines: string | string[] ngAcceptInputType_panModifier
Section titled "ngAcceptInputType_panModifier"ngAcceptInputType_panModifier: any ngAcceptInputType_pixelScalingRatio
Section titled "ngAcceptInputType_pixelScalingRatio"ngAcceptInputType_pixelScalingRatio: string | number ngAcceptInputType_preferHigherResolutionTiles
Section titled "ngAcceptInputType_preferHigherResolutionTiles"ngAcceptInputType_preferHigherResolutionTiles: string | boolean ngAcceptInputType_previewPathOpacity
Section titled "ngAcceptInputType_previewPathOpacity"ngAcceptInputType_previewPathOpacity: string | number ngAcceptInputType_previewRect
Section titled "ngAcceptInputType_previewRect"ngAcceptInputType_previewRect: any ngAcceptInputType_resizeIdleMilliseconds
Section titled "ngAcceptInputType_resizeIdleMilliseconds"ngAcceptInputType_resizeIdleMilliseconds: string | number ngAcceptInputType_rightButtonDefaultInteraction
Section titled "ngAcceptInputType_rightButtonDefaultInteraction"ngAcceptInputType_rightButtonDefaultInteraction: any ngAcceptInputType_rightMargin
Section titled "ngAcceptInputType_rightMargin"ngAcceptInputType_rightMargin: string | number ngAcceptInputType_scrollbarsAnimationDuration
Section titled "ngAcceptInputType_scrollbarsAnimationDuration"ngAcceptInputType_scrollbarsAnimationDuration: string | number ngAcceptInputType_selectedSeriesItems
Section titled "ngAcceptInputType_selectedSeriesItems"ngAcceptInputType_selectedSeriesItems: string | IgxChartSelectedItemCollection ngAcceptInputType_selectionBehavior
Section titled "ngAcceptInputType_selectionBehavior"ngAcceptInputType_selectionBehavior: string | SeriesSelectionBehavior ngAcceptInputType_selectionDismissDelayMilliseconds
Section titled "ngAcceptInputType_selectionDismissDelayMilliseconds"ngAcceptInputType_selectionDismissDelayMilliseconds: string | number ngAcceptInputType_selectionMode
Section titled "ngAcceptInputType_selectionMode"ngAcceptInputType_selectionMode: string | SeriesSelectionMode ngAcceptInputType_selectionModifier
Section titled "ngAcceptInputType_selectionModifier"ngAcceptInputType_selectionModifier: any ngAcceptInputType_selectionTransitionDuration
Section titled "ngAcceptInputType_selectionTransitionDuration"ngAcceptInputType_selectionTransitionDuration: string | number ngAcceptInputType_seriesValueLayerUseLegend
Section titled "ngAcceptInputType_seriesValueLayerUseLegend"ngAcceptInputType_seriesValueLayerUseLegend: string | boolean ngAcceptInputType_shouldMatchZOrderToSeriesOrder
Section titled "ngAcceptInputType_shouldMatchZOrderToSeriesOrder"ngAcceptInputType_shouldMatchZOrderToSeriesOrder: string | boolean ngAcceptInputType_shouldPanOnMaximumZoom
Section titled "ngAcceptInputType_shouldPanOnMaximumZoom"ngAcceptInputType_shouldPanOnMaximumZoom: string | boolean ngAcceptInputType_shouldSimulateHoverMoveCrosshairPoint
Section titled "ngAcceptInputType_shouldSimulateHoverMoveCrosshairPoint"ngAcceptInputType_shouldSimulateHoverMoveCrosshairPoint: string | boolean ngAcceptInputType_subtitleBottomMargin
Section titled "ngAcceptInputType_subtitleBottomMargin"ngAcceptInputType_subtitleBottomMargin: string | number ngAcceptInputType_subtitleHorizontalAlignment
Section titled "ngAcceptInputType_subtitleHorizontalAlignment"ngAcceptInputType_subtitleHorizontalAlignment: any ngAcceptInputType_subtitleLeftMargin
Section titled "ngAcceptInputType_subtitleLeftMargin"ngAcceptInputType_subtitleLeftMargin: string | number ngAcceptInputType_subtitleRightMargin
Section titled "ngAcceptInputType_subtitleRightMargin"ngAcceptInputType_subtitleRightMargin: string | number ngAcceptInputType_subtitleTopMargin
Section titled "ngAcceptInputType_subtitleTopMargin"ngAcceptInputType_subtitleTopMargin: string | number ngAcceptInputType_titleBottomMargin
Section titled "ngAcceptInputType_titleBottomMargin"ngAcceptInputType_titleBottomMargin: string | number ngAcceptInputType_titleHorizontalAlignment
Section titled "ngAcceptInputType_titleHorizontalAlignment"ngAcceptInputType_titleHorizontalAlignment: any ngAcceptInputType_titleLeftMargin
Section titled "ngAcceptInputType_titleLeftMargin"ngAcceptInputType_titleLeftMargin: string | number ngAcceptInputType_titleRightMargin
Section titled "ngAcceptInputType_titleRightMargin"ngAcceptInputType_titleRightMargin: string | number ngAcceptInputType_titleTopMargin
Section titled "ngAcceptInputType_titleTopMargin"ngAcceptInputType_titleTopMargin: string | number ngAcceptInputType_topMargin
Section titled "ngAcceptInputType_topMargin"ngAcceptInputType_topMargin: string | number ngAcceptInputType_useTiledZooming
Section titled "ngAcceptInputType_useTiledZooming"ngAcceptInputType_useTiledZooming: string | boolean ngAcceptInputType_verticalViewScrollbarCornerRadius
Section titled "ngAcceptInputType_verticalViewScrollbarCornerRadius"ngAcceptInputType_verticalViewScrollbarCornerRadius: string | number ngAcceptInputType_verticalViewScrollbarInset
Section titled "ngAcceptInputType_verticalViewScrollbarInset"ngAcceptInputType_verticalViewScrollbarInset: string | number ngAcceptInputType_verticalViewScrollbarMaxOpacity
Section titled "ngAcceptInputType_verticalViewScrollbarMaxOpacity"ngAcceptInputType_verticalViewScrollbarMaxOpacity: string | number ngAcceptInputType_verticalViewScrollbarMode
Section titled "ngAcceptInputType_verticalViewScrollbarMode"ngAcceptInputType_verticalViewScrollbarMode: string | SeriesViewerScrollbarMode ngAcceptInputType_verticalViewScrollbarPosition
Section titled "ngAcceptInputType_verticalViewScrollbarPosition"ngAcceptInputType_verticalViewScrollbarPosition: string | SeriesViewerVerticalScrollbarPosition ngAcceptInputType_verticalViewScrollbarShouldAddAutoTrackInsets
Section titled "ngAcceptInputType_verticalViewScrollbarShouldAddAutoTrackInsets"ngAcceptInputType_verticalViewScrollbarShouldAddAutoTrackInsets: string | boolean ngAcceptInputType_verticalViewScrollbarStrokeThickness
Section titled "ngAcceptInputType_verticalViewScrollbarStrokeThickness"ngAcceptInputType_verticalViewScrollbarStrokeThickness: string | number ngAcceptInputType_verticalViewScrollbarTrackEndInset
Section titled "ngAcceptInputType_verticalViewScrollbarTrackEndInset"ngAcceptInputType_verticalViewScrollbarTrackEndInset: string | number ngAcceptInputType_verticalViewScrollbarTrackStartInset
Section titled "ngAcceptInputType_verticalViewScrollbarTrackStartInset"ngAcceptInputType_verticalViewScrollbarTrackStartInset: string | number ngAcceptInputType_verticalViewScrollbarWidth
Section titled "ngAcceptInputType_verticalViewScrollbarWidth"ngAcceptInputType_verticalViewScrollbarWidth: string | number ngAcceptInputType_viewportRect
Section titled "ngAcceptInputType_viewportRect"ngAcceptInputType_viewportRect: any ngAcceptInputType_windowPositionHorizontal
Section titled "ngAcceptInputType_windowPositionHorizontal"ngAcceptInputType_windowPositionHorizontal: string | number ngAcceptInputType_windowPositionVertical
Section titled "ngAcceptInputType_windowPositionVertical"ngAcceptInputType_windowPositionVertical: string | number ngAcceptInputType_windowRect
Section titled "ngAcceptInputType_windowRect"ngAcceptInputType_windowRect: any ngAcceptInputType_windowRectMinHeight
Section titled "ngAcceptInputType_windowRectMinHeight"ngAcceptInputType_windowRectMinHeight: string | number ngAcceptInputType_windowRectMinWidth
Section titled "ngAcceptInputType_windowRectMinWidth"ngAcceptInputType_windowRectMinWidth: string | number ngAcceptInputType_windowResponse
Section titled "ngAcceptInputType_windowResponse"ngAcceptInputType_windowResponse: string | WindowResponse ngAcceptInputType_windowSizeMinHeight
Section titled "ngAcceptInputType_windowSizeMinHeight"ngAcceptInputType_windowSizeMinHeight: string | number ngAcceptInputType_windowSizeMinWidth
Section titled "ngAcceptInputType_windowSizeMinWidth"ngAcceptInputType_windowSizeMinWidth: string | number ngAcceptInputType_zoomCoercionMode
Section titled "ngAcceptInputType_zoomCoercionMode"ngAcceptInputType_zoomCoercionMode: string | ZoomCoercionMode ngAcceptInputType_zoomTileCacheSize
Section titled "ngAcceptInputType_zoomTileCacheSize"ngAcceptInputType_zoomTileCacheSize: string | number ɵcmp: ɵɵComponentDeclaration<IgxSeriesViewerComponent, "ng-component", never, object, object, never, never, true, never> ɵfac: ɵɵFactoryDeclaration<IgxSeriesViewerComponent, never> Accessors
Section titled "Accessors"actualContentHitTestMode
Section titled "actualContentHitTestMode"Resolved method of hit testing used when the pointer is over elements in the chart.
let actualContentHitTestMode: ChartHitTestMode =this.chart.actualContentHitTestMode; get actualContentHitTestMode(): ChartHitTestMode
Returns ChartHitTestMode
actualInteractionPixelScalingRatio
Section titled "actualInteractionPixelScalingRatio"Resolved method of pixel scaling to use during end user interaction with the chart.
let actualInteractionPixelScalingRatio: number = this.chart.actualInteractionPixelScalingRatio; get actualInteractionPixelScalingRatio(): number
Returns number
set actualInteractionPixelScalingRatio(v: number): void Parameters
- v:
number
Returns void
actualPixelScalingRatio
Section titled "actualPixelScalingRatio"Gets the resolved pixel scaling ratio.
A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control to appear blurry
let actualPixelScalingRatio: number = this.chart.actualPixelScalingRatio; get actualPixelScalingRatio(): number
Returns number
set actualPixelScalingRatio(v: number): void Parameters
- v:
number
Returns void
actualWindowPositionHorizontal
Section titled "actualWindowPositionHorizontal"A number between 0 and 1 determining the position of the horizontal scroll. This property is effectively a shortcut to the Left of the ActualWindowRect property.
let actualWindowPositionHorizontal: number = this.chart.actualWindowPositionHorizontal; get actualWindowPositionHorizontal(): number
Returns number
set actualWindowPositionHorizontal(v: number): void Parameters
- v:
number
Returns void
actualWindowPositionVertical
Section titled "actualWindowPositionVertical"A number between 0 and 1 determining the position of the vertical scroll. This property is effectively a shortcut to the Top of the ActualWindowRect property.
let actualWindowPositionVertical: number = this.chart.actualWindowPositionVertical;
`` get actualWindowPositionVertical(): number
Returns number
set actualWindowPositionVertical(v: number): void Parameters
- v:
number
Returns void
actualWindowRect
Section titled "actualWindowRect"Gets the actual value of the window rectangle, which represents the current zoom level.
let actualWindowRect: IgxRect = this.chart.actualWindowRect;
`` get actualWindowRect(): IgRect
Returns IgRect
set actualWindowRect(v: IgRect): void Parameters
- v:
IgRect
Returns void
actualWindowRectChanged
Section titled "actualWindowRectChanged"Raised when the actual window rectangle of the SeriesViewer changes.
get actualWindowRectChanged(): EventEmitter<object>
Returns EventEmitter<object>
actualWindowRectMinHeight
Section titled "actualWindowRectMinHeight"Gets the actual minimum height that the window rect is allowed to reach before being clamped.
get actualWindowRectMinHeight(): number
Returns number
set actualWindowRectMinHeight(v: number): void Parameters
- v:
number
Returns void
actualWindowRectMinWidth
Section titled "actualWindowRectMinWidth"Gets the actual minimum width that the window rect is allowed to reach before being clamped.
get actualWindowRectMinWidth(): number
Returns number
set actualWindowRectMinWidth(v: number): void Parameters
- v:
number
Returns void
animateSeriesWhenAxisRangeChanges
Section titled "animateSeriesWhenAxisRangeChanges"Gets or sets whether the series animations should be allowed when a range change has been detected on an axis.
AnimateSeriesWhenAxisRangeChanges is a Boolean property to override the default behavior in which series do not animate if an axis range changes.
<igx-data-chart
[dataSource]="data"
animateSeriesWhenAxisRangeChanges=true>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value"
transitionInMode="accordionFromBottom"
isTransitionInEnabled=true
transitionInSpeedType="indexScaled"
transitionDuration=1000>
</igx-column-series>
</igx-data-chart>this.chart.animateSeriesWhenAxisRangeChanges = true; get animateSeriesWhenAxisRangeChanges(): boolean
Returns boolean
set animateSeriesWhenAxisRangeChanges(v: boolean): void Parameters
- v:
boolean
Returns void
autoMarginHeight
Section titled "autoMarginHeight"Sets or gets the automatic height to add when automatically adding margins to the chart.
<igx-data-chart
[dataSource]="data"
autoMarginHeight=50>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.autoMarginHeight = 50; get autoMarginHeight(): number
Returns number
set autoMarginHeight(v: number): void Parameters
- v:
number
Returns void
autoMarginWidth
Section titled "autoMarginWidth"Sets or gets the automatic width to add when automatically adding margins to the chart.
The autoMarginWidth propertry is used find the automatic width to add when automatically adding margins to the chart.
<igx-data-chart
[dataSource]="data"
autoMarginWidth=50>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.autoMarginWidth = 50; get autoMarginWidth(): number
Returns number
set autoMarginWidth(v: number): void Parameters
- v:
number
Returns void
axisLabelMouseClick
Section titled "axisLabelMouseClick"get axisLabelMouseClick(): EventEmitter<object>
Returns EventEmitter<object>
axisLabelMouseDown
Section titled "axisLabelMouseDown"get axisLabelMouseDown(): EventEmitter<object>
Returns EventEmitter<object>
axisLabelMouseEnter
Section titled "axisLabelMouseEnter"get axisLabelMouseEnter(): EventEmitter<object>
Returns EventEmitter<object>
axisLabelMouseLeave
Section titled "axisLabelMouseLeave"get axisLabelMouseLeave(): EventEmitter<object>
Returns EventEmitter<object>
axisLabelMouseOver
Section titled "axisLabelMouseOver"get axisLabelMouseOver(): EventEmitter<object>
Returns EventEmitter<object>
axisLabelMouseUp
Section titled "axisLabelMouseUp"get axisLabelMouseUp(): EventEmitter<object>
Returns EventEmitter<object>
axisPanelMouseClick
Section titled "axisPanelMouseClick"get axisPanelMouseClick(): EventEmitter<object>
Returns EventEmitter<object>
axisPanelMouseDown
Section titled "axisPanelMouseDown"get axisPanelMouseDown(): EventEmitter<object>
Returns EventEmitter<object>
axisPanelMouseEnter
Section titled "axisPanelMouseEnter"get axisPanelMouseEnter(): EventEmitter<object>
Returns EventEmitter<object>
axisPanelMouseLeave
Section titled "axisPanelMouseLeave"get axisPanelMouseLeave(): EventEmitter<object>
Returns EventEmitter<object>
axisPanelMouseOver
Section titled "axisPanelMouseOver"get axisPanelMouseOver(): EventEmitter<object>
Returns EventEmitter<object>
axisPanelMouseUp
Section titled "axisPanelMouseUp"get axisPanelMouseUp(): EventEmitter<object>
Returns EventEmitter<object>
bottomMargin
Section titled "bottomMargin"Sets or gets the bottom margin to use around the chart content.
The bottomMargin property is used to gets/set the bottom margin around the chart content in the canvas.
this.chart.bottomMargin = 50;<igx-data-chart
[dataSource]="data"
bottomMargin=50>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart> get bottomMargin(): number
Returns number
set bottomMargin(v: number): void Parameters
- v:
number
Returns void
brushes
Section titled "brushes"Gets or sets the palette of brushes used for fill of plotted series. These brushes are automatically assigned to series based on the index of series.
get brushes(): string[]
Returns string[]
set brushes(v: string[]): void Parameters
- v:
string[]
Returns void
chartTitle
Section titled "chartTitle"Text to display above the plot area.
The Title property is used to set the title to display for the component.
<igx-data-chart
[dataSource]="data"
title="Items Sold">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.title="Items Sold"; get chartTitle(): string
Returns string
set chartTitle(v: string): void Parameters
- v:
string
Returns void
contentHitTestMode
Section titled "contentHitTestMode"Determines the method of hit testing used when mousing over elements in the chart.
this.chart.contentHitTestMode = ChartHitTestMode.Computational; get contentHitTestMode(): ChartHitTestMode
Returns ChartHitTestMode
contentViewport
Section titled "contentViewport"Represents the subset area within the viewport into which content should be mapped. This is the projection of the current EffectiveViewport into the viewport at current zoom level.
let contentViewport: IgxRect = this.chart.contentViewport; get contentViewport(): IgRect
Returns IgRect
crosshairPoint
Section titled "crosshairPoint"Gets or sets the cross hair point (in world coordinates) Either or both of the crosshair point's X and Y may be set to double.NaN, in which case the relevant crosshair line is hidden.
The CrosshairPoint property is used to gets/sets the cross hair point (in world coordinates).
<igx-data-chart
[dataSource]="data"
crosshairVisibility="visible"
crosshairPoint={x:.8,y:.2}>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.crosshairPoint = {x:.8,y:.2}; get crosshairPoint(): IgPoint
Returns IgPoint
set crosshairPoint(v: IgPoint): void Parameters
- v:
IgPoint
Returns void
crosshairVisibility
Section titled "crosshairVisibility"Gets or sets the current SeriesViewer's crosshair visibility override.
The CrosshairVisibility property is used to gets or sets the current Chart's crosshair visibility override. Note: setting this property does not affect the mobile browser version of the chart.
<igx-data-chart
[dataSource]="data"
crosshairVisibility="visible">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.crosshairVisibility = Visibility.Visible; get crosshairVisibility(): Visibility
Returns Visibility
set crosshairVisibility(v: Visibility): void Parameters
- v:
Visibility
Returns void
defaultInteraction
Section titled "defaultInteraction"Gets or sets the DefaultInteraction property. The default interaction state defines the SeriesViewer's response to mouse events.
The default interaction state defines the chart's response to mouse events.
<igx-data-chart
[dataSource]="data"
isHorizontalZoomEnabled=true
defaultInteraction="dragPan">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.defaultInteraction = InteractionState.DragPan; get defaultInteraction(): InteractionState
Returns InteractionState
set defaultInteraction(v: InteractionState): void Parameters
- v:
InteractionState
Returns void
dragModifier
Section titled "dragModifier"Gets or sets the current SeriesViewer's DragModifier property.
DragModifier is useful to enable zooming when zooming is not the default interaction.
<igx-data-chart
[dataSource]="data"
isHorizontalZoomEnabled=true
defaultInteraction="dragPan"
dragModifier="alt">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.dragModifier = ModifierKeys.Alt; get dragModifier(): ModifierKeys
Returns ModifierKeys
set dragModifier(v: ModifierKeys): void Parameters
- v:
ModifierKeys
Returns void
effectiveViewport
Section titled "effectiveViewport"Gets the EffectiveViewport rectangle, representing the effective viewport area after margins have been subtracted.
``ts let viewport: IgxRect = this.chart.effectiveViewport;
get effectiveViewport(): IgRect
Returns IgRect
set effectiveViewport(v: IgRect): void Parameters
- v:
IgRect
Returns void
fireMouseLeaveOnManipulationStart
Section titled "fireMouseLeaveOnManipulationStart"Gets or sets how the mouse leave event fires when a manipulation is started.
get fireMouseLeaveOnManipulationStart(): boolean
Returns boolean
set fireMouseLeaveOnManipulationStart(v: boolean): void Parameters
- v:
boolean
Returns void
focusBrush
Section titled "focusBrush"Gets or sets the Focus brush to use for the series.
get focusBrush(): string
Returns string
set focusBrush(v: string): void Parameters
- v:
string
Returns void
focusDismissDelayMilliseconds
Section titled "focusDismissDelayMilliseconds"Gets or sets the amount of time to delay before dismissing a selection effect.
get focusDismissDelayMilliseconds(): number
Returns number
set focusDismissDelayMilliseconds(v: number): void Parameters
- v:
number
Returns void
focusedSeriesItems
Section titled "focusedSeriesItems"Gets the currently focused data items. Adding or removing data items from this collection will focus or blur the visuals associated with those items.
get focusedSeriesItems(): IgxChartSelectedItemCollection
Returns IgxChartSelectedItemCollection
focusedSeriesItemsChanged
Section titled "focusedSeriesItemsChanged"Raised when the SelectedItems collection has changed.
get focusedSeriesItemsChanged(): EventEmitter<object>
Returns EventEmitter<object>
focusMode
Section titled "focusMode"Gets or sets the focus mode to use for the series in the component, when supported.
get focusMode(): SeriesSelectionMode
Returns SeriesSelectionMode
focusTransitionDuration
Section titled "focusTransitionDuration"Gets or sets the duration the Focus/de-Focus effects.
get focusTransitionDuration(): number
Returns number
set focusTransitionDuration(v: number): void Parameters
- v:
number
Returns void
fullSeries
Section titled "fullSeries"get fullSeries(): IgxSeriesCollection
Returns IgxSeriesCollection
gridAreaRectChanged
Section titled "gridAreaRectChanged"Occurs just after the current SeriesViewer's grid area rectangle is changed. The grid area may change as the result of the SeriesViewer being resized, or of an axis being added or changing size, possibly in another SeriesViewer.
get gridAreaRectChanged(): EventEmitter<object>
Returns EventEmitter<object>
highlightedValuesDisplayMode
Section titled "highlightedValuesDisplayMode"Gets or sets whether and how to display highlighted values for the series by default. Note, this is distinct from the highlighting feature that indicates what is closest or under the mouse.
get highlightedValuesDisplayMode(): SeriesHighlightedValuesDisplayMode
Returns SeriesHighlightedValuesDisplayMode
set highlightedValuesDisplayMode(v: SeriesHighlightedValuesDisplayMode): void Parameters
- v:
SeriesHighlightedValuesDisplayMode
Returns void
highlightingBehavior
Section titled "highlightingBehavior"Gets or sets the highlighting Behavior to use for the series in the component, when supported. This takes precedence over the series level IsHighlightingEnabled.
get highlightingBehavior(): SeriesHighlightingBehavior
Returns SeriesHighlightingBehavior
highlightingDismissDelayMilliseconds
Section titled "highlightingDismissDelayMilliseconds"Gets or sets the amount of time to delay before dismissing a selection effect.
get highlightingDismissDelayMilliseconds(): number
Returns number
set highlightingDismissDelayMilliseconds(v: number): void Parameters
- v:
number
Returns void
highlightingFadeOpacity
Section titled "highlightingFadeOpacity"Gets or sets the target opacity to fade to for fade style highlighting.
get highlightingFadeOpacity(): number
Returns number
set highlightingFadeOpacity(v: number): void Parameters
- v:
number
Returns void
highlightingMode
Section titled "highlightingMode"Gets or sets the highlighting mode to use for the series in the component, when supported. This takes precedence over the series level IsHighlightingEnabled.
get highlightingMode(): SeriesHighlightingMode
Returns SeriesHighlightingMode
highlightingTransitionDuration
Section titled "highlightingTransitionDuration"Gets or sets the duration the highlighting/de-highlighting effects.
The HighlightingTransitionDuration property is used to set the time for highlighting transition in milliseconds .
<igx-data-chart
[dataSource]="data"
HighlightingTransitionDuration=500 >
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value" >
</igx-column-series>
</igx-data-chart>chart.HighlightingTransitionDuration=500; get highlightingTransitionDuration(): number
Returns number
set highlightingTransitionDuration(v: number): void Parameters
- v:
number
Returns void
horizontalCrosshairBrush
Section titled "horizontalCrosshairBrush"Gets or sets the current SeriesViewer's crosshair horizontal brush override.
get horizontalCrosshairBrush(): string
Returns string
set horizontalCrosshairBrush(v: string): void Parameters
- v:
string
Returns void
horizontalViewScrollbarCornerRadius
Section titled "horizontalViewScrollbarCornerRadius"Gets or sets the corner radius to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarCornerRadius(): number
Returns number
set horizontalViewScrollbarCornerRadius(v: number): void Parameters
- v:
number
Returns void
horizontalViewScrollbarFill
Section titled "horizontalViewScrollbarFill"Gets or sets the fill to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarFill(): string
Returns string
set horizontalViewScrollbarFill(v: string): void Parameters
- v:
string
Returns void
horizontalViewScrollbarHeight
Section titled "horizontalViewScrollbarHeight"Gets or sets the height to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarHeight(): number
Returns number
set horizontalViewScrollbarHeight(v: number): void Parameters
- v:
number
Returns void
horizontalViewScrollbarInset
Section titled "horizontalViewScrollbarInset"Gets or sets the inset distance to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarInset(): number
Returns number
set horizontalViewScrollbarInset(v: number): void Parameters
- v:
number
Returns void
horizontalViewScrollbarMaxOpacity
Section titled "horizontalViewScrollbarMaxOpacity"Gets or sets the max opacity to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarMaxOpacity(): number
Returns number
set horizontalViewScrollbarMaxOpacity(v: number): void Parameters
- v:
number
Returns void
horizontalViewScrollbarMode
Section titled "horizontalViewScrollbarMode"Gets or sets the horizontal scrollbar mode to use for the series viewer.
get horizontalViewScrollbarMode(): SeriesViewerScrollbarMode
Returns SeriesViewerScrollbarMode
horizontalViewScrollbarOutline
Section titled "horizontalViewScrollbarOutline"Gets or sets the outline to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarOutline(): string
Returns string
set horizontalViewScrollbarOutline(v: string): void Parameters
- v:
string
Returns void
horizontalViewScrollbarPosition
Section titled "horizontalViewScrollbarPosition"Gets or sets the position to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarPosition(): SeriesViewerHorizontalScrollbarPosition set horizontalViewScrollbarPosition(v: SeriesViewerHorizontalScrollbarPosition): void Parameters
Returns void
horizontalViewScrollbarShouldAddAutoTrackInsets
Section titled "horizontalViewScrollbarShouldAddAutoTrackInsets"Gets or sets whether to use automatic track insets for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarShouldAddAutoTrackInsets(): boolean
Returns boolean
set horizontalViewScrollbarShouldAddAutoTrackInsets(v: boolean): void Parameters
- v:
boolean
Returns void
horizontalViewScrollbarStrokeThickness
Section titled "horizontalViewScrollbarStrokeThickness"Gets or sets the stroke thickness to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarStrokeThickness(): number
Returns number
set horizontalViewScrollbarStrokeThickness(v: number): void Parameters
- v:
number
Returns void
horizontalViewScrollbarTrackEndInset
Section titled "horizontalViewScrollbarTrackEndInset"Gets or sets the track end inset to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarTrackEndInset(): number
Returns number
set horizontalViewScrollbarTrackEndInset(v: number): void Parameters
- v:
number
Returns void
horizontalViewScrollbarTrackStartInset
Section titled "horizontalViewScrollbarTrackStartInset"Gets or sets the track start inset to use for the horizontal scrollbar in the component, when enabled.
get horizontalViewScrollbarTrackStartInset(): number
Returns number
set horizontalViewScrollbarTrackStartInset(v: number): void Parameters
- v:
number
Returns void
imageCaptured
Section titled "imageCaptured"Event raised when an image of the component is saved
get imageCaptured(): EventEmitter<object>
Returns EventEmitter<object>
interactionOverride
Section titled "interactionOverride"Gets or sets the InteractionOverride property. The interaction override overrides the default interaction and modifiers keys and defines the SeriesViewer's response to mouse events.
get interactionOverride(): InteractionState
Returns InteractionState
set interactionOverride(v: InteractionState): void Parameters
- v:
InteractionState
Returns void
interactionPixelScalingRatio
Section titled "interactionPixelScalingRatio"Method of pixel scaling to use during end user interaction with the chart.
get interactionPixelScalingRatio(): number
Returns number
set interactionPixelScalingRatio(v: number): void Parameters
- v:
number
Returns void
isAntiAliasingEnabledDuringInteraction
Section titled "isAntiAliasingEnabledDuringInteraction"Gets or sets the IsAntiAliasingEnabledDuringInteraction property.
get isAntiAliasingEnabledDuringInteraction(): boolean
Returns boolean
set isAntiAliasingEnabledDuringInteraction(v: boolean): void Parameters
- v:
boolean
Returns void
isDetached
Section titled "isDetached"get isDetached(): boolean
Returns boolean
isInCreateAnnotationMode
Section titled "isInCreateAnnotationMode"get isInCreateAnnotationMode(): boolean
Returns boolean
isInDeleteAnnotationMode
Section titled "isInDeleteAnnotationMode"get isInDeleteAnnotationMode(): boolean
Returns boolean
isMap
Section titled "isMap"Indicates if this SeriesViewer is a map.
get isMap(): boolean
Returns boolean
isPagePanningAllowed
Section titled "isPagePanningAllowed"Gets or sets the whether the series viewer can allow the page to pan if a control pan is not possible in the requested direction.
get isPagePanningAllowed(): boolean
Returns boolean
set isPagePanningAllowed(v: boolean): void Parameters
- v:
boolean
Returns void
isSurfaceInteractionDisabled
Section titled "isSurfaceInteractionDisabled"Gets or sets whether all surface interactions with the plot area should be disabled.
The IsSurfaceInteractionDisabled property is used to enable/disable interactions with the plot surface.
<igx-data-chart
[dataSource]="data"
isSurfaceInteractionDisabled=true>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>chart.isSurfaceInteractionDisabled=true; get isSurfaceInteractionDisabled(): boolean
Returns boolean
set isSurfaceInteractionDisabled(v: boolean): void Parameters
- v:
boolean
Returns void
isUserAnnotationsEnabled
Section titled "isUserAnnotationsEnabled"Gets or sets whether initiating user annotations from the toolbar is enabled.
get isUserAnnotationsEnabled(): boolean
Returns boolean
set isUserAnnotationsEnabled(v: boolean): void Parameters
- v:
boolean
Returns void
isWindowSyncedToVisibleRange
Section titled "isWindowSyncedToVisibleRange"Gets or sets whether to sync the vertical aspect of the window with the contained series content. This is only supported for a subset of the available series.
get isWindowSyncedToVisibleRange(): boolean
Returns boolean
set isWindowSyncedToVisibleRange(v: boolean): void Parameters
- v:
boolean
Returns void
leftMargin
Section titled "leftMargin"Sets or gets the left margin to use around the chart content.
The LeftMargin property is used to set the left margin.
<igx-data-chart
[dataSource]="data"
leftMargin=20
rightMargin=20
topMargin=30
bottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.leftMargin = 20; get leftMargin(): number
Returns number
set leftMargin(v: number): void Parameters
- v:
number
Returns void
legendHighlightingMode
Section titled "legendHighlightingMode"Gets or sets the highlighting mode to use for the legend linked to the component, when supported.
get legendHighlightingMode(): LegendHighlightingMode
Returns LegendHighlightingMode
legendItemBadgeMode
Section titled "legendItemBadgeMode"Gets or sets the mode of legend badges representing all series in this chart. This property will be ignored when the LegendItemTemplate or LegendItemBadgeTemplate property is set on a series
get legendItemBadgeMode(): LegendItemBadgeMode
Returns LegendItemBadgeMode
set legendItemBadgeMode(v: LegendItemBadgeMode): void Parameters
- v:
LegendItemBadgeMode
Returns void
legendItemBadgeShape
Section titled "legendItemBadgeShape"Gets or sets type of legend badges representing all series displayed in a legend linked to this component This property will be ignored when the LegendItemTemplate or LegendItemBadgeTemplate property is set on a series
get legendItemBadgeShape(): LegendItemBadgeShape
Returns LegendItemBadgeShape
set legendItemBadgeShape(v: LegendItemBadgeShape): void Parameters
- v:
LegendItemBadgeShape
Returns void
markerAutomaticBehavior
Section titled "markerAutomaticBehavior"Gets or sets the marker mode used for assigning a marker type to series when the marker type is automatic.
get markerAutomaticBehavior(): MarkerAutomaticBehavior
Returns MarkerAutomaticBehavior
markerBrushes
Section titled "markerBrushes"Gets or sets the palette of brushes used for fill of marker series. These brushes are automatically assigned to markers based on the index of series.
get markerBrushes(): string[]
Returns string[]
set markerBrushes(v: string[]): void Parameters
- v:
string[]
Returns void
markerOutlines
Section titled "markerOutlines"Gets or sets the palette of brushes used for outlines of plotted markers. These outlines are automatically assigned to markers based on the index of series.
get markerOutlines(): string[]
Returns string[]
set markerOutlines(v: string[]): void Parameters
- v:
string[]
Returns void
outlines
Section titled "outlines"Gets or sets the palette of brushes used for outlines of plotted series. These outlines are automatically assigned to series based on the index of series.
get outlines(): string[]
Returns string[]
set outlines(v: string[]): void Parameters
- v:
string[]
Returns void
panModifier
Section titled "panModifier"Gets or sets the current SeriesViewer's PanModifier property.
PanModifier is useful to enable panning when panning is not the default interaction.
<igx-data-chart
[dataSource]="data"
isHorizontalZoomEnabled=true
defaultInteraction="dragZoom"
panModifier="alt">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.panModifier = ModifierKeys.Alt; get panModifier(): ModifierKeys
Returns ModifierKeys
set panModifier(v: ModifierKeys): void Parameters
- v:
ModifierKeys
Returns void
pixelScalingRatio
Section titled "pixelScalingRatio"Gets or sets the scaling value used to affect the pixel density of the control. A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control to appear blurry.
get pixelScalingRatio(): number
Returns number
set pixelScalingRatio(v: number): void Parameters
- v:
number
Returns void
plotAreaBackground
Section titled "plotAreaBackground"Gets or sets the brush used as the background for the current SeriesViewer object's plot area.
PlotAreaBackground property set the background brush to the current Chart object's plot area.
<igx-data-chart
[dataSource]="data"
plotAreaBackground="#F0F8FF">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.plotAreaBackground="#F0F8FF"; get plotAreaBackground(): string
Returns string
set plotAreaBackground(v: string): void Parameters
- v:
string
Returns void
plotAreaClicked
Section titled "plotAreaClicked"Occurs when the left mouse button is clicked while the mouse pointer is over the plot area.
get plotAreaClicked(): EventEmitter<object>
Returns EventEmitter<object>
plotAreaMouseEnter
Section titled "plotAreaMouseEnter"Occurs when the pointer enters the plot area.
get plotAreaMouseEnter(): EventEmitter<object>
Returns EventEmitter<object>
plotAreaMouseLeave
Section titled "plotAreaMouseLeave"Occurs when the pointer exits the plot area.
get plotAreaMouseLeave(): EventEmitter<object>
Returns EventEmitter<object>
plotAreaMouseLeftButtonDown
Section titled "plotAreaMouseLeftButtonDown"Occurs when the left mouse button is pressed while the mouse pointer is over the plot area.
get plotAreaMouseLeftButtonDown(): EventEmitter<object>
Returns EventEmitter<object>
plotAreaMouseLeftButtonUp
Section titled "plotAreaMouseLeftButtonUp"Occurs when the left mouse button is pressed while the mouse pointer is over the plot area.
get plotAreaMouseLeftButtonUp(): EventEmitter<object>
Returns EventEmitter<object>
plotAreaMouseOver
Section titled "plotAreaMouseOver"Occurs when the pointer if over the plot area.
get plotAreaMouseOver(): EventEmitter<object>
Returns EventEmitter<object>
preferHigherResolutionTiles
Section titled "preferHigherResolutionTiles"Gets or sets whether the series viewer should prefer selecting higher resolution tiles over lower resolution tiles when performing tile zooming. Setting this to true will lower performance but increase quality.
get preferHigherResolutionTiles(): boolean
Returns boolean
set preferHigherResolutionTiles(v: boolean): void Parameters
- v:
boolean
Returns void
previewPathFill
Section titled "previewPathFill"Gets or sets the brush used as the fill for the current SeriesViewer object's preview path. Null is treated as auto.
get previewPathFill(): string
Returns string
set previewPathFill(v: string): void Parameters
- v:
string
Returns void
previewPathOpacity
Section titled "previewPathOpacity"Gets or sets the opacity used as for the fill for the current SeriesViewer object's preview path. Null is treated as auto.
get previewPathOpacity(): number
Returns number
set previewPathOpacity(v: number): void Parameters
- v:
number
Returns void
previewPathStroke
Section titled "previewPathStroke"Gets or sets the brush used as the border for the current SeriesViewer object's preview path. Null is treated as auto.
get previewPathStroke(): string
Returns string
set previewPathStroke(v: string): void Parameters
- v:
string
Returns void
previewRect
Section titled "previewRect"Gets or sets the preview rectangle. The preview rectangle may be set to Rect.Empty, in which case the visible preview strokePath is hidden.
PreviewRect can be used to highlight an area of importance.
this.chart.previewRect = {left:0,top:0,height:.5,width:.5}; get previewRect(): IgRect
Returns IgRect
set previewRect(v: IgRect): void Parameters
- v:
IgRect
Returns void
refreshCompleted
Section titled "refreshCompleted"Raised when the SeriesViewer's processing for an update has completed.
get refreshCompleted(): EventEmitter<object>
Returns EventEmitter<object>
resizeIdle
Section titled "resizeIdle"get resizeIdle(): EventEmitter<object>
Returns EventEmitter<object>
resizeIdleMilliseconds
Section titled "resizeIdleMilliseconds"Gets or sets the milliseconds before the chart will fire the resize idle event after the last resize.
get resizeIdleMilliseconds(): number
Returns number
set resizeIdleMilliseconds(v: number): void Parameters
- v:
number
Returns void
rightButtonDefaultInteraction
Section titled "rightButtonDefaultInteraction"Gets or sets the RightButtonDefaultInteraction property. The default interaction state defines the SeriesViewer's response to right button mouse events.
get rightButtonDefaultInteraction(): InteractionState
Returns InteractionState
set rightButtonDefaultInteraction(v: InteractionState): void Parameters
- v:
InteractionState
Returns void
rightMargin
Section titled "rightMargin"Sets or gets the right margin to use around the chart content.
The RightMargin property is used to set the left margin around the chart content in the canvas.
<igx-data-chart
[dataSource]="data"
leftMargin=20
rightMargin=20
topMargin=30
bottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.rightMargin=20; get rightMargin(): number
Returns number
set rightMargin(v: number): void Parameters
- v:
number
Returns void
scrollbarsAnimationDuration
Section titled "scrollbarsAnimationDuration"Gets or sets the duration of the scrollbar effects.
get scrollbarsAnimationDuration(): number
Returns number
set scrollbarsAnimationDuration(v: number): void Parameters
- v:
number
Returns void
selectedSeriesItems
Section titled "selectedSeriesItems"Gets the currently selected data items. Adding or removing data items from this collection will select or deselect the visuals associated with those items.
get selectedSeriesItems(): IgxChartSelectedItemCollection
Returns IgxChartSelectedItemCollection
selectedSeriesItemsChanged
Section titled "selectedSeriesItemsChanged"Raised when the SelectedItems collection has changed.
get selectedSeriesItemsChanged(): EventEmitter<object>
Returns EventEmitter<object>
selectionBehavior
Section titled "selectionBehavior"Gets or sets the selection behavior to use for the series in the component, when supported.
get selectionBehavior(): SeriesSelectionBehavior
Returns SeriesSelectionBehavior
selectionBrush
Section titled "selectionBrush"Gets or sets the selection brush to use for the series.
get selectionBrush(): string
Returns string
set selectionBrush(v: string): void Parameters
- v:
string
Returns void
selectionDismissDelayMilliseconds
Section titled "selectionDismissDelayMilliseconds"Gets or sets the amount of time to delay before dismissing a selection effect.
get selectionDismissDelayMilliseconds(): number
Returns number
set selectionDismissDelayMilliseconds(v: number): void Parameters
- v:
number
Returns void
selectionMode
Section titled "selectionMode"Gets or sets the selection mode to use for the series in the component, when supported.
get selectionMode(): SeriesSelectionMode
Returns SeriesSelectionMode
selectionModifier
Section titled "selectionModifier"Gets or sets the current SeriesViewer's SelectionModifier property.
get selectionModifier(): ModifierKeys
Returns ModifierKeys
set selectionModifier(v: ModifierKeys): void Parameters
- v:
ModifierKeys
Returns void
selectionTransitionDuration
Section titled "selectionTransitionDuration"Gets or sets the duration the selection/de-Selection effects.
get selectionTransitionDuration(): number
Returns number
set selectionTransitionDuration(v: number): void Parameters
- v:
number
Returns void
seriesClick
Section titled "seriesClick"Occurs when the left mouse button is released while the mouse pointer is over a Series.
get seriesClick(): EventEmitter<object>
Returns EventEmitter<object>
seriesCursorMouseMove
Section titled "seriesCursorMouseMove"Occurs when the cursors are moved over a series in this SeriesViewer.
get seriesCursorMouseMove(): EventEmitter<object>
Returns EventEmitter<object>
seriesMouseEnter
Section titled "seriesMouseEnter"Occurs when the mouse pointer enters a Series.
The SeriesMouseEnter event occurs when the left mouse pointer enters an element of this chart.
<-- position: content member-->
<igx-data-chart
[dataSource]="data"
(seriesMouseEnter)="onSeriesMouseEnter($event)">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value"
thickness=5>
</igx-line-series>
</igx-data-chart>public onSeriesMouseEnter(event: {sender: any, args: ChartMouseEventArgs})
{
var item = event.args.item;
} get seriesMouseEnter(): EventEmitter<object>
Returns EventEmitter<object>
seriesMouseLeave
Section titled "seriesMouseLeave"Occurs when the mouse pointer leaves a Series.
The SeriesMouseLeave event occurs when the left mouse pointer leaves an element of this chart.
<igx-data-chart
[dataSource]="data"
(seriesMouseLeave)="onSeriesMouseLeave($event)">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value"
thickness=5>
</igx-line-series>
</igx-data-chart>public onSeriesMouseLeave(event: {sender: any, args: ChartMouseEventArgs})
{
var item = event.args.item;
} get seriesMouseLeave(): EventEmitter<object>
Returns EventEmitter<object>
seriesMouseLeftButtonDown
Section titled "seriesMouseLeftButtonDown"Occurs when the left mouse button is pressed while the mouse pointer is over a Series.
The SeriesMouseLeftButtonDown event occurs when the left mouse button is pressed while the mouse pointer is over an element of this chart.
<-- position: content member-->
<igx-data-chart
[dataSource]="data"
(seriesMouseLeftButtonDown)="onSeriesMouseLeftButtonDown($event)">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value"
thickness=5>
</igx-line-series>
</igx-data-chart>public onSeriesMouseLeftButtonDown(event: {sender: any, args: DataChartMouseButtonEventArgs})
{
var item = event.args.item;
} get seriesMouseLeftButtonDown(): EventEmitter<object>
Returns EventEmitter<object>
seriesMouseLeftButtonUp
Section titled "seriesMouseLeftButtonUp"Occurs when the left mouse button is released while the mouse pointer is over a Series.
The SeriesMouseLeftButtonUp event occurs when the left mouse button is released while the mouse pointer is over an element of this chart.
<-- position: content member-->
<igx-data-chart
[dataSource]="data"
(seriesMouseLeftButtonUp)="onSeriesMouseLeftButtonUp($event)">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value"
thickness=5>
</igx-line-series>
</igx-data-chart><-- position: content member-->
public onSeriesMouseLeftButtonUp(event: {sender: any, args: DataChartMouseButtonEventArgs})
{
var item = event.args.item;
}public onSeriesMouseLeftButtonUp =(event: any, args: DataChartMouseButtonEventArgs )
{
} get seriesMouseLeftButtonUp(): EventEmitter<object>
Returns EventEmitter<object>
seriesMouseMove
Section titled "seriesMouseMove"Occurs when the mouse pointer moves while over a Series.
The SeriesMouseMove event occurs when the left mouse pointer moves while over an element of this chart.
<-- position: content member-->
<igx-data-chart
[dataSource]="data"
(seriesMouseMove)="onSeriesMouseMove($event)">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value"
thickness=5>
</igx-line-series>
</igx-data-chart><-- position: content member-->
public onSeriesMouseMove(event: {sender: any, args: ChartMouseEventArgs})
{
var item = event.args.item;
}public onSeriesMouseMove =( event: any, args: ChartMouseEventArgs) => {
} get seriesMouseMove(): EventEmitter<object>
Returns EventEmitter<object>
seriesValueLayerUseLegend
Section titled "seriesValueLayerUseLegend"Gets or sets whether the series animations should be allowed when a range change has been detected on an axis.
get seriesValueLayerUseLegend(): boolean
Returns boolean
set seriesValueLayerUseLegend(v: boolean): void Parameters
- v:
boolean
Returns void
shouldMatchZOrderToSeriesOrder
Section titled "shouldMatchZOrderToSeriesOrder"Gets or sets whether to match the z order of the series to their positional order in the series collection, regardless of mutation.
get shouldMatchZOrderToSeriesOrder(): boolean
Returns boolean
set shouldMatchZOrderToSeriesOrder(v: boolean): void Parameters
- v:
boolean
Returns void
shouldPanOnMaximumZoom
Section titled "shouldPanOnMaximumZoom"Gets or sets a whether the chart should pan its content when zooming in passed max zoom level.
get shouldPanOnMaximumZoom(): boolean
Returns boolean
set shouldPanOnMaximumZoom(v: boolean): void Parameters
- v:
boolean
Returns void
shouldSimulateHoverMoveCrosshairPoint
Section titled "shouldSimulateHoverMoveCrosshairPoint"Gets or sets whether calling SimulateHover should shift the crosshair point.
get shouldSimulateHoverMoveCrosshairPoint(): boolean
Returns boolean
set shouldSimulateHoverMoveCrosshairPoint(v: boolean): void Parameters
- v:
boolean
Returns void
sizeChanged
Section titled "sizeChanged"Occurs after the size of the series viewer changes.
<-- position: content member-->
<igx-data-chart
[dataSource]="data"
(sizeChanged)="onSizeChanged($event)">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart><-- position: content member-->
public onSizeChanged(event: {sender: any, args: RectChangedEventArgs})
{
let newRect: IgxRect = event.args.newRect;
}public onSizeChanged =(event: any, args: RectChangedEventArgs}){
} get sizeChanged(): EventEmitter<object>
Returns EventEmitter<object>
subtitle
Section titled "subtitle"Gets or sets the Subtitle property. The Title property defines the Subtitle of the chart
The Subtitle property is used to display subtitle for the component.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
subtitle="Date of Sale: 1/1/2018">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.subtitle="Date of Sale: 1/1/2018"; get subtitle(): string
Returns string
set subtitle(v: string): void Parameters
- v:
string
Returns void
subtitleBottomMargin
Section titled "subtitleBottomMargin"Margin applied below the subtitle.
The subtitleBottomMargin property is used to set the bottom margin for the subtitle.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
subtitle="date of sale: 1/1/2018"
subtitleLeftMarging=10
subtitleTopMargin=10
subtitleRightMargin=10
subtitleBottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.subtitleBottomMargin = 20; get subtitleBottomMargin(): number
Returns number
set subtitleBottomMargin(v: number): void Parameters
- v:
number
Returns void
subtitleHorizontalAlignment
Section titled "subtitleHorizontalAlignment"Gets or sets the SubtitleHorizontalAlignment property.
The subtitleBottomMargin property is used to set the horizontal alignment for the subtitle.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
subtitle="Date of Sale: 1/1/2018"
titleHorizontalAlignment="left"
subtitleHorizontalAlignment="left">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.subtitleHorizontalAlignment="left"; get subtitleHorizontalAlignment(): HorizontalAlignment
Returns HorizontalAlignment
set subtitleHorizontalAlignment(v: HorizontalAlignment): void Parameters
- v:
HorizontalAlignment
Returns void
subtitleLeftMargin
Section titled "subtitleLeftMargin"Margin applied to the left of the subtitle.
The subtitleLeftMarging property is used to set the left margin for the subtitle.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
subtitle="date of sale: 1/1/2018"
subtitleLeftMarging=10
subtitleTopMargin=10
subtitleRightMargin=10
subtitleBottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.subtitleLeftMarging=10; get subtitleLeftMargin(): number
Returns number
set subtitleLeftMargin(v: number): void Parameters
- v:
number
Returns void
subtitleRightMargin
Section titled "subtitleRightMargin"Margin applied to the right of the subtitle.
The subTitleRightMargin property is used to set the right margin for the subtitle.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
subtitle="date of sale: 1/1/2018"
subtitleLeftMarging=10
subtitleTopMargin=10
subTitleRightMargin=10
subtitleBottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.subtitleLeftMarging=10; get subtitleRightMargin(): number
Returns number
set subtitleRightMargin(v: number): void Parameters
- v:
number
Returns void
subtitleTextColor
Section titled "subtitleTextColor"Gets or sets the Color used for the Subtitle Text.
The subtitleTextColor property is used to set the color for the subtitle.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
subtitle="Date of Sale: 1/1/2018"
subtitleTextColor="blue">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.subtitleTextColor="blue"; get subtitleTextColor(): string
Returns string
set subtitleTextColor(v: string): void Parameters
- v:
string
Returns void
subtitleTextStyle
Section titled "subtitleTextStyle"Font settings for the subtitle.
get subtitleTextStyle(): string
Returns string
set subtitleTextStyle(v: string): void Parameters
- v:
string
Returns void
subtitleTopMargin
Section titled "subtitleTopMargin"Margin applied above the subtitle.
The subtitleTopMargin property is used to set the top margin for the subtitle.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
subtitle="date of sale: 1/1/2018"
subtitleLeftMarging=10
subtitleTopMargin=10
subtitleRightMargin=10
subtitleBottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.subtitleTopMargin =10; get subtitleTopMargin(): number
Returns number
set subtitleTopMargin(v: number): void Parameters
- v:
number
Returns void
titleBottomMargin
Section titled "titleBottomMargin"Margin applied below the title.
The titleBottomMargin property is used to set the bottom margin for the title.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
titleLeftMarging=10
titleTopMargin=10
titleRightMargin=10
titleBottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.titleBottomMargin=20; get titleBottomMargin(): number
Returns number
set titleBottomMargin(v: number): void Parameters
- v:
number
Returns void
titleHorizontalAlignment
Section titled "titleHorizontalAlignment"Gets or sets the TitleHorizontalAlignment property.
The subtitleHorizontalAlignment property is used to set horizontal alignment for the subtitle.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
subtitle="date of sale: 1/1/2018"
titleHorizontalAlignment="left"
subtitleHorizontalAlignment="left">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.titleHorizontalAlignment="left"; get titleHorizontalAlignment(): HorizontalAlignment
Returns HorizontalAlignment
set titleHorizontalAlignment(v: HorizontalAlignment): void Parameters
- v:
HorizontalAlignment
Returns void
titleLeftMargin
Section titled "titleLeftMargin"Margin applied to the left of the title.
The titleLeftMarging property is used to set the left margin for the title.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
titleLeftMarging=10
titleTopMargin=10
titleRightMargin=10
titleBottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.titleLeftMarging=10; get titleLeftMargin(): number
Returns number
set titleLeftMargin(v: number): void Parameters
- v:
number
Returns void
titleRightMargin
Section titled "titleRightMargin"Margin applied to the right of the title.
The titleRightMargin property is used to set the right margin for the title.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
titleLeftMarging=10
titleTopMargin=10
titleRightMargin=10
titleBottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.titleRightMargin=10; get titleRightMargin(): number
Returns number
set titleRightMargin(v: number): void Parameters
- v:
number
Returns void
titleTextColor
Section titled "titleTextColor"Gets or sets the Color used for the Title Text.
The titleTextColor property is used to set the title brush.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
subtitle="date of sale: 1/1/2018"
titleTextColor="blue">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.titleTextColor="blue" ; get titleTextColor(): string
Returns string
set titleTextColor(v: string): void Parameters
- v:
string
Returns void
titleTextStyle
Section titled "titleTextStyle"Font settings for the title.
get titleTextStyle(): string
Returns string
set titleTextStyle(v: string): void Parameters
- v:
string
Returns void
titleTopMargin
Section titled "titleTopMargin"Margin applied above the title.
The titleTopMargin property is used to set the top margin for the title.
<igx-data-chart
[dataSource]="data"
title="Items Sold"
titleLeftMarging=10
titleTopMargin=10
titleRightMargin=10
titleBottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-column-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-column-series>
</igx-data-chart>this.chart.titleTopMargin=10; get titleTopMargin(): number
Returns number
set titleTopMargin(v: number): void Parameters
- v:
number
Returns void
topMargin
Section titled "topMargin"Sets or gets the top margin to use around the chart content.
The topMargin property is used to set the top margin.
<igx-data-chart
[dataSource]="data"
leftMargin=20
rightMargin=20
topMargin=30
bottomMargin=20>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.topMargin=30; get topMargin(): number
Returns number
set topMargin(v: number): void Parameters
- v:
number
Returns void
userAnnotationInformationRequested
Section titled "userAnnotationInformationRequested"get userAnnotationInformationRequested(): EventEmitter<object>
Returns EventEmitter<object>
userAnnotationToolTipContentUpdating
Section titled "userAnnotationToolTipContentUpdating"get userAnnotationToolTipContentUpdating(): EventEmitter<object>
Returns EventEmitter<object>
useTiledZooming
Section titled "useTiledZooming"Gets or sets whether the series viewer should use cached tiles during zooms rather than the default live content.
get useTiledZooming(): boolean
Returns boolean
set useTiledZooming(v: boolean): void Parameters
- v:
boolean
Returns void
verticalCrosshairBrush
Section titled "verticalCrosshairBrush"Gets or sets the current SeriesViewer's crosshair vertical brush override.
get verticalCrosshairBrush(): string
Returns string
set verticalCrosshairBrush(v: string): void Parameters
- v:
string
Returns void
verticalViewScrollbarCornerRadius
Section titled "verticalViewScrollbarCornerRadius"Gets or sets the corner radius to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarCornerRadius(): number
Returns number
set verticalViewScrollbarCornerRadius(v: number): void Parameters
- v:
number
Returns void
verticalViewScrollbarFill
Section titled "verticalViewScrollbarFill"Gets or sets the fill to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarFill(): string
Returns string
set verticalViewScrollbarFill(v: string): void Parameters
- v:
string
Returns void
verticalViewScrollbarInset
Section titled "verticalViewScrollbarInset"Gets or sets the inset distance to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarInset(): number
Returns number
set verticalViewScrollbarInset(v: number): void Parameters
- v:
number
Returns void
verticalViewScrollbarMaxOpacity
Section titled "verticalViewScrollbarMaxOpacity"Gets or sets the max opacity to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarMaxOpacity(): number
Returns number
set verticalViewScrollbarMaxOpacity(v: number): void Parameters
- v:
number
Returns void
verticalViewScrollbarMode
Section titled "verticalViewScrollbarMode"Gets or sets the vertical scrollbar mode to use for the series viewer.
get verticalViewScrollbarMode(): SeriesViewerScrollbarMode
Returns SeriesViewerScrollbarMode
verticalViewScrollbarOutline
Section titled "verticalViewScrollbarOutline"Gets or sets the outline to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarOutline(): string
Returns string
set verticalViewScrollbarOutline(v: string): void Parameters
- v:
string
Returns void
verticalViewScrollbarPosition
Section titled "verticalViewScrollbarPosition"Gets or sets the position to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarPosition(): SeriesViewerVerticalScrollbarPosition set verticalViewScrollbarPosition(v: SeriesViewerVerticalScrollbarPosition): void Parameters
Returns void
verticalViewScrollbarShouldAddAutoTrackInsets
Section titled "verticalViewScrollbarShouldAddAutoTrackInsets"Gets or sets whether to use automatic track insets for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarShouldAddAutoTrackInsets(): boolean
Returns boolean
set verticalViewScrollbarShouldAddAutoTrackInsets(v: boolean): void Parameters
- v:
boolean
Returns void
verticalViewScrollbarStrokeThickness
Section titled "verticalViewScrollbarStrokeThickness"Gets or sets the stroke thickness to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarStrokeThickness(): number
Returns number
set verticalViewScrollbarStrokeThickness(v: number): void Parameters
- v:
number
Returns void
verticalViewScrollbarTrackEndInset
Section titled "verticalViewScrollbarTrackEndInset"Gets or sets the track end inset to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarTrackEndInset(): number
Returns number
set verticalViewScrollbarTrackEndInset(v: number): void Parameters
- v:
number
Returns void
verticalViewScrollbarTrackStartInset
Section titled "verticalViewScrollbarTrackStartInset"Gets or sets the track start inset to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarTrackStartInset(): number
Returns number
set verticalViewScrollbarTrackStartInset(v: number): void Parameters
- v:
number
Returns void
verticalViewScrollbarWidth
Section titled "verticalViewScrollbarWidth"Gets or sets the width to use for the vertical scrollbar in the component, when enabled.
get verticalViewScrollbarWidth(): number
Returns number
set verticalViewScrollbarWidth(v: number): void Parameters
- v:
number
Returns void
viewerManipulationEnding
Section titled "viewerManipulationEnding"Raised when an ongoing manipulation of the series viewer is ended.
get viewerManipulationEnding(): EventEmitter<object>
Returns EventEmitter<object>
viewerManipulationStarting
Section titled "viewerManipulationStarting"Raised when an ongoing manipulation of the series viewer is started.
get viewerManipulationStarting(): EventEmitter<object>
Returns EventEmitter<object>
viewportRect
Section titled "viewportRect"Gets the viewport rectangle associated with the SeriesViewer, the physical dimensions of the plot area.
let viewPortRect: IgxRect = this.chart.viewportRect; get viewportRect(): IgRect
Returns IgRect
windowPositionHorizontal
Section titled "windowPositionHorizontal"A number between 0 and 1 determining the position of the horizontal scroll. This property is effectively a shortcut to the X position of the WindowRect property.
this.chart.windowPositionHorizontal = .2; get windowPositionHorizontal(): number
Returns number
set windowPositionHorizontal(v: number): void Parameters
- v:
number
Returns void
windowPositionVertical
Section titled "windowPositionVertical"A number between 0 and 1 determining the position of the vertical scroll. This property is effectively a shortcut to the Y position of the WindowRect property.
this.chart.windowPositionVertical = .2; get windowPositionVertical(): number
Returns number
set windowPositionVertical(v: number): void Parameters
- v:
number
Returns void
windowRect
Section titled "windowRect"A rectangle representing the portion of the SeriesViewer currently in view. A rectangle at X=0, Y=0 with a Height and Width of 1 implies the entire plotting area is in view. A Height and Width of .5 would imply that the view is halfway zoomed in.
You can set the WindowRect to zoom in on an area of interest in the chart.
this.chart.windowRect = {left:0, top:1, width: .5, height: .5}; get windowRect(): IgRect
Returns IgRect
set windowRect(v: IgRect): void Parameters
- v:
IgRect
Returns void
windowRectChanged
Section titled "windowRectChanged"Occurs just after the current SeriesViewer's window rectangle is changed.
<-- position: content member-->
<igx-data-chart
[dataSource]="data"
isHorizontalZoomEnabled=true
(windowRectChanged)="onWindowRectChanged($event)">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart><-- position: content member-->
public onWindowRectChanged(event: {sender: any, args: RectChangedEventArgs})
{
let newRect: IgxRect = event.args.newRect;
}public onWindowRectChanged =( s:any, e: RectChangedEventArgs) => {
} get windowRectChanged(): EventEmitter<object>
Returns EventEmitter<object>
windowRectMinHeight
Section titled "windowRectMinHeight"Sets or gets the minimum height that the window rect is allowed to reach before being clamped. Decrease this value if you want to allow for further zooming into the viewer. If this value is lowered too much it can cause graphical corruption due to floating point arithmetic inaccuracy. This property accepts values between 0.0 (max zooming) and 1.0 (no zooming)
get windowRectMinHeight(): number
Returns number
set windowRectMinHeight(v: number): void Parameters
- v:
number
Returns void
windowRectMinWidth
Section titled "windowRectMinWidth"Sets or gets the minimum width that the window rect is allowed to reach before being clamped. Decrease this value if you want to allow for further zooming into the viewer. If this value is lowered too much it can cause graphical corruption due to floating point arithmetic inaccuracy. This property accepts values between 0.0 (max zooming) and 1.0 (no zooming)
The WindowRectMinWidth property is used to set or get the minimum width that the window rect is allowed to reach before being clamped.
<igx-data-chart
[dataSource]="data"
isHorizontalZoomEnabled=true
windowRectMinWidth=.2>
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.WindowRectMinWidth=".2"; get windowRectMinWidth(): number
Returns number
set windowRectMinWidth(v: number): void Parameters
- v:
number
Returns void
windowResponse
Section titled "windowResponse"The response to user panning and zooming: whether to update the view immediately while the user action is happening, or to defer the update to after the user action is complete. The user action will be an action such as a mouse drag which causes panning and/or zooming to occur.
The WindowResponse property is used to set the response to user panning and zooming: whether to update the view immediately while the user action is happening, or to defer the update to after the user action is complete.
The user action will be an action such as a mouse drag which causes panning and/or zooming to occur.
<igx-data-chart
[dataSource]="data"
isHorizontalZoomEnabled=true
windowResponse="deferred">
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
<igx-line-series
[xAxis]="xAxis"
[yAxis]="yAxis"
valueMemberPath="value">
</igx-line-series>
</igx-data-chart>this.chart.windowResponse="deferred"; get windowResponse(): WindowResponse
Returns WindowResponse
windowSizeMinHeight
Section titled "windowSizeMinHeight"Sets or gets minimum pixel height that the window is allowed to reach before being clamped. Decrease this value if you want to allow for further zooming into the viewer. If this value is lowered too much it can cause graphical corruption due to floating point arithmetic inaccuracy. This property is overridden by the WindowRectMinHeight property
get windowSizeMinHeight(): number
Returns number
set windowSizeMinHeight(v: number): void Parameters
- v:
number
Returns void
windowSizeMinWidth
Section titled "windowSizeMinWidth"Sets or gets minimum pixel width that the window is allowed to reach before being clamped. Decrease this value if you want to allow for further zooming into the viewer. If this value is lowered too much it can cause graphical corruption due to floating point arithmetic inaccuracy. This property is overridden by the WindowRectMinWidth property
get windowSizeMinWidth(): number
Returns number
set windowSizeMinWidth(v: number): void Parameters
- v:
number
Returns void
zoomCoercionMode
Section titled "zoomCoercionMode"Gets or sets zoom is constrained to within the axes. Setting this to false is a preview feature at the present time.
get zoomCoercionMode(): ZoomCoercionMode
Returns ZoomCoercionMode
zoomTileCacheSize
Section titled "zoomTileCacheSize"Gets or sets the maximum number of zoom tiles that the series viewer should cache while in tiled zooming mode.
get zoomTileCacheSize(): number
Returns number
set zoomTileCacheSize(v: number): void Parameters
- v:
number
Returns void
Methods
Section titled "Methods"addCommandAvailabilityListener
Section titled "addCommandAvailabilityListener"addCommandAvailabilityListener(listener: ICommandAvailabilityListener): void Parameters
- listener:
ICommandAvailabilityListener
Returns void
addCommandStateChangedListener
Section titled "addCommandStateChangedListener"addCommandStateChangedListener(listener: ICommandStateChangedListener): void Parameters
- listener:
ICommandStateChangedListener
Returns void
attachSeries
Section titled "attachSeries"Attaches the given series to the chart.
attachSeries(s: IgxSeriesComponent): void Parameters
- s:
IgxSeriesComponent- The series to attach to the chart.
Returns void
cancelAnnotationFlow
Section titled "cancelAnnotationFlow"cancelAnnotationFlow(annotationFlowID: string): void Parameters
- annotationFlowID:
string
Returns void
cancelCreatingAnnotation
Section titled "cancelCreatingAnnotation"cancelCreatingAnnotation(): void Returns void
cancelDeletingAnnotation
Section titled "cancelDeletingAnnotation"cancelDeletingAnnotation(): void Returns void
cancelManipulation
Section titled "cancelManipulation"cancelManipulation(): void Returns void
captureImage
Section titled "captureImage"captureImage(settings: IgxCaptureImageSettings): void Parameters
- settings:
IgxCaptureImageSettings
Returns void
clearTileZoomCache
Section titled "clearTileZoomCache"Clears the tile zoom tile cache so that new tiles will be generated. Only applies if the viewer is using a tile based zoom.
clearTileZoomCache(): void Returns void
destroy
Section titled "destroy"Release any resources held by the control.
destroy(): void Returns void
endTiledZoomingIfRunning
Section titled "endTiledZoomingIfRunning"Manually ends a tiled zoom if one is running.
endTiledZoomingIfRunning(): void Returns void
findByName
Section titled "findByName"findByName(name: string): any Parameters
- name:
string
Returns any
finishAnnotationFlow
Section titled "finishAnnotationFlow"finishAnnotationFlow(info: IgxUserAnnotationInformation): void Parameters
Returns void
finishCreatingAnnotation
Section titled "finishCreatingAnnotation"finishCreatingAnnotation(): void Returns void
finishDeletingAnnotation
Section titled "finishDeletingAnnotation"finishDeletingAnnotation(): void Returns void
flush
Section titled "flush"Use to force the SeriesViewer to finish any deferred work before printing or evaluating its visual. This should only be called if the visual of the SeriesViewer needs to be synchronously saved or evaluated. Calling this method too often will hinder the performance of the SeriesViewer.
this.chart.flush(); flush(): void Returns void
getActualWindowScaleHorizontal
Section titled "getActualWindowScaleHorizontal"Gets actual window scale for horizontal dimension of the control
let actualWindowScaleHorizontal: number = chart.getActualWindowScaleHorizontal(); getActualWindowScaleHorizontal(): number Returns number
getActualWindowScaleVertical
Section titled "getActualWindowScaleVertical"Gets actual window scale for vertical dimension of the control
let actualWindowScaleVertical: number = chart.getActualWindowScaleVertical(); getActualWindowScaleVertical(): number Returns number
getAnimationIdleVersionNumber
Section titled "getAnimationIdleVersionNumber"getAnimationIdleVersionNumber(): number Returns number
getCurrentActualWindowRect
Section titled "getCurrentActualWindowRect"getCurrentActualWindowRect(): IgRect Returns IgRect
getDesiredToolbarActions
Section titled "getDesiredToolbarActions"getDesiredToolbarActions(): ToolActionInfo[] Returns ToolActionInfo[]
hideToolTip
Section titled "hideToolTip"Hides the active main tooltip, if displayed.
this.chart.hideToolTip(); hideToolTip(): void Returns void
isAnimationActive
Section titled "isAnimationActive"isAnimationActive(): boolean Returns boolean
loadAnnotationsFromJson
Section titled "loadAnnotationsFromJson"loadAnnotationsFromJson(jsonString: string): void Parameters
- jsonString:
string
Returns void
ngOnInit
Section titled "ngOnInit"ngOnInit(): void Returns void
notifyClearItems
Section titled "notifyClearItems"Used to manually notify the SeriesViewer that the data source has reset or cleared its items. Invoking this method is only necessary if that datasource is not observable.
notifyClearItems(source_: any): void Parameters
- source_:
any- The data source which was cleared or reset.
this.chart.notifyClearItems(this.data);
Returns void
notifyContainerResized
Section titled "notifyContainerResized"Notification from the containing object that the container has been resized.
notifyContainerResized(): void Returns void
notifyInsertItem
Section titled "notifyInsertItem"notifyInsertItem(source_: any, index: number, newItem: any): void Parameters
- source_:
any - index:
number - newItem:
any
Returns void
notifyRemoveItem
Section titled "notifyRemoveItem"notifyRemoveItem(source_: any, index: number, oldItem: any): void Parameters
- source_:
any - index:
number - oldItem:
any
Returns void
notifySeriesDataChanged
Section titled "notifySeriesDataChanged"notifySeriesDataChanged(): void Returns void
notifySetItem
Section titled "notifySetItem"notifySetItem(source_: any, index: number, oldItem: any, newItem: any): void Parameters
- source_:
any - index:
number - oldItem:
any - newItem:
any
Returns void
queueForAnimationIdle
Section titled "queueForAnimationIdle"queueForAnimationIdle(action: object, version: number): void Parameters
- action:
object - version:
number
Returns void
removeCommandAvailabilityListener
Section titled "removeCommandAvailabilityListener"removeCommandAvailabilityListener(listener: ICommandAvailabilityListener): void Parameters
- listener:
ICommandAvailabilityListener
Returns void
removeCommandStateChangedListener
Section titled "removeCommandStateChangedListener"removeCommandStateChangedListener(listener: ICommandStateChangedListener): void Parameters
- listener:
ICommandStateChangedListener
Returns void
renderToImage
Section titled "renderToImage"renderToImage(width: number, height: number): any Parameters
- width:
number - height:
number
Returns any
resetAnnotations
Section titled "resetAnnotations"resetAnnotations(): void Returns void
resetZoom
Section titled "resetZoom"Resets the zoom level to default.
resetZoom(): void Returns void
saveAnnotationsToJson
Section titled "saveAnnotationsToJson"saveAnnotationsToJson(): string Returns string
simulateClick
Section titled "simulateClick"simulateClick(point: IgPoint): void Parameters
- point:
IgPoint
Returns void
simulateHover
Section titled "simulateHover"simulateHover(point: IgPoint): void Parameters
- point:
IgPoint
Returns void
simulateMouseLeave
Section titled "simulateMouseLeave"simulateMouseLeave(): void Returns void
simulatePlotPointerUp
Section titled "simulatePlotPointerUp"simulatePlotPointerUp(point: IgPoint): void Parameters
- point:
IgPoint
Returns void
simulatePressAndHold
Section titled "simulatePressAndHold"simulatePressAndHold(point: IgPoint): void Parameters
- point:
IgPoint
Returns void
startCreatingAnnotation
Section titled "startCreatingAnnotation"startCreatingAnnotation(): void Returns void
startDeletingAnnotation
Section titled "startDeletingAnnotation"startDeletingAnnotation(): void Returns void
startTiledZoomingIfNecessary
Section titled "startTiledZoomingIfNecessary"Manually starts a tiled zoom if one isn't already running.
startTiledZoomingIfNecessary(): void Returns void
zoomIn
Section titled "zoomIn"Performs zoom in action on the chart by specified percentage of current window rect
zoomIn(percentage: number): void Parameters
- percentage:
number
Returns void
zoomOut
Section titled "zoomOut"Performs zoom out action on the chart by specified percentage of current window rect
zoomOut(percentage: number): void Parameters
- percentage:
number
Returns void
_createFromInternal
Section titled "_createFromInternal"_createFromInternal(internal: any): IgxSeriesViewerComponent Parameters
- internal:
any