Class IgxFinancialChartComponent

Represents a chart with an ordinal X-axis and a numeric Y-axis.

Ignite UI for Angular Financial Chart - Documentation

The Ignite UI Financial Chart is a lightweight, highly performant chart. It can be easily configured to display category data using an extremely simple and intuitive API. It offers multiple ways for the user to visualize data, including several display modes for price and volume, and many financial indicators.

<igx-financial-chart [dataSource]="data"
                     width="850px" height="600px">
</igx-financial-chart>

Hierarchy

Implements

  • OnInit
  • AfterViewInit
  • OnDestroy

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new IgxFinancialChartComponent(renderer: Renderer2, _elRef: ViewContainerRef, ngZone: NgZone, injector: Injector, componentFactoryResolver: ComponentFactoryResolver): IgxFinancialChartComponent
  • Parameters

    • renderer: Renderer2
    • _elRef: ViewContainerRef
    • ngZone: NgZone
    • injector: Injector
    • componentFactoryResolver: ComponentFactoryResolver

    Returns IgxFinancialChartComponent

Properties

_defaultTemplates

_dynamicContent

_dynamicContent: ViewContainerRef

_mainElement

_mainElement: ElementRef

_templates

_templates: QueryList<IgxTemplateContentComponent>

_toolbarElement

_toolbarElement: ElementRef

chartTemplate

chartTemplate: TemplateRef<any>

chartTypePickerTemplate

chartTypePickerTemplate: TemplateRef<any>

container

container: Element

indicatorMenuTemplate

indicatorMenuTemplate: TemplateRef<any>

rangeSelectorTemplate

rangeSelectorTemplate: TemplateRef<any>

toolbarTemplate

toolbarTemplate: TemplateRef<any>

Accessors

alignsGridLinesToPixels

  • get alignsGridLinesToPixels(): boolean
  • set alignsGridLinesToPixels(v: boolean): void
  • Gets or sets a value indicating whether grid and tick lines are aligned to device pixels.

    Use alignsGridLinesToPixels propert to indicat whether grid and tick lines are aligned to device pixels.

    <igx-category-chart
        [dataSource]="data"
        AlignsGridLinesToPixels="true">
    </igx-category-chart>
     this.chart.alignsGridLinesToPixels= true;

    Returns boolean

  • Gets or sets a value indicating whether grid and tick lines are aligned to device pixels.

    Use alignsGridLinesToPixels propert to indicat whether grid and tick lines are aligned to device pixels.

    <igx-category-chart
        [dataSource]="data"
        AlignsGridLinesToPixels="true">
    </igx-category-chart>
     this.chart.alignsGridLinesToPixels= true;

    Parameters

    • v: boolean

    Returns void

animateSeriesWhenAxisRangeChanges

  • get animateSeriesWhenAxisRangeChanges(): boolean
  • set animateSeriesWhenAxisRangeChanges(v: boolean): void

applyCustomIndicators

  • get applyCustomIndicators(): EventEmitter<object>
  • Event raised by the chart when custom indicator data is needed from the application. During series rendering, event will be raised once for each value in the CustomIndicatorNames collection.

    Returns EventEmitter<object>

bottomMargin

  • get bottomMargin(): number
  • set bottomMargin(v: number): void
  • Gets or sets the bottom margin around the chart content.

    Use the bottomMargin property for the bottom margin around the chart content.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          bottomMargin= 20>
        </igx-category-chart>
    this.chart.bottomMargin=20;

    Returns number

  • Gets or sets the bottom margin around the chart content.

    Use the bottomMargin property for the bottom margin around the chart content.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          bottomMargin= 20>
        </igx-category-chart>
    this.chart.bottomMargin=20;

    Parameters

    • v: number

    Returns void

brushes

  • get brushes(): string[]
  • set brushes(v: string[]): void
  • Gets or sets the palette of brushes to use for coloring the chart series. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection

    Use the brushes property to set the brushes.

     <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          Brushes="#ff0000, #cc0000, #aa0000">
        </igx-category-chart>
    this.chart.brushes = ["#ff0000","#00ff00"];

    Returns string[]

  • Gets or sets the palette of brushes to use for coloring the chart series. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection

    Use the brushes property to set the brushes.

     <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          Brushes="#ff0000, #cc0000, #aa0000">
        </igx-category-chart>
    this.chart.brushes = ["#ff0000","#00ff00"];

    Parameters

    • v: string[]

    Returns void

calloutStyleUpdating

  • get calloutStyleUpdating(): EventEmitter<object>

calloutStyleUpdatingEventEnabled

  • get calloutStyleUpdatingEventEnabled(): boolean
  • set calloutStyleUpdatingEventEnabled(v: boolean): void

calloutsContentMemberPath

  • get calloutsContentMemberPath(): string
  • set calloutsContentMemberPath(v: string): void

calloutsDataSource

  • get calloutsDataSource(): Array<any>
  • set calloutsDataSource(value: Array<any>): void

calloutsLabelMemberPath

  • get calloutsLabelMemberPath(): string
  • set calloutsLabelMemberPath(v: string): void

calloutsVisible

  • get calloutsVisible(): boolean
  • set calloutsVisible(v: boolean): void

calloutsXMemberPath

  • get calloutsXMemberPath(): string
  • set calloutsXMemberPath(v: string): void

calloutsYMemberPath

  • get calloutsYMemberPath(): string
  • set calloutsYMemberPath(v: string): void

chartTitle

  • get chartTitle(): string
  • set chartTitle(v: string): void
  • Gets or sets text to display above the plot area.

    Use the chartTitle property to display the text above the plot area.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        title="This is a Title">
    </igx-category-chart>
     this.chart.title= "This is a Title";

    Returns string

  • Gets or sets text to display above the plot area.

    Use the chartTitle property to display the text above the plot area.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        title="This is a Title">
    </igx-category-chart>
     this.chart.title= "This is a Title";

    Parameters

    • v: string

    Returns void

chartType

  • The type of price series to display in the main chart.

    Use the chartType property to set a type of series that will be used to render prices in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        chartType="Candle">
    </igx-financial-chart>

    Returns FinancialChartType

  • The type of price series to display in the main chart.

    Use the chartType property to set a type of series that will be used to render prices in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        chartType="Candle">
    </igx-financial-chart>

    Parameters

    Returns void

crosshairsAnnotationEnabled

  • get crosshairsAnnotationEnabled(): boolean
  • set crosshairsAnnotationEnabled(v: boolean): void

crosshairsDisplayMode

crosshairsSnapToData

  • get crosshairsSnapToData(): boolean
  • set crosshairsSnapToData(v: boolean): void
  • Gets or sets whether crosshairs will snap to the nearest data point.

    Returns boolean

  • Gets or sets whether crosshairs will snap to the nearest data point.

    Parameters

    • v: boolean

    Returns void

customIndicatorNames

  • get customIndicatorNames(): CustomIndicatorNameCollection
  • set customIndicatorNames(v: CustomIndicatorNameCollection): void
  • The names of custom indicators to add to the chart. When CustomIndicatorNames is set, the ApplyCustomIndicators event will be raised for each custom indicator name.

    Returns CustomIndicatorNameCollection

  • The names of custom indicators to add to the chart. When CustomIndicatorNames is set, the ApplyCustomIndicators event will be raised for each custom indicator name.

    Parameters

    • v: CustomIndicatorNameCollection

    Returns void

dataSource

  • get dataSource(): Array<any>
  • set dataSource(value: Array<any>): void
  • Returns Array<any>

  • Parameters

    • value: Array<any>

    Returns void

excludedProperties

  • get excludedProperties(): string[]
  • set excludedProperties(v: string[]): void
  • Gets or sets a set of property paths that should be excluded from consideration by the category chart.

    The excludedProperties property used for the property paths that should be excluded from consideration by the category chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        excludedProperties="ID">
    </igx-category-chart>
    this.chart.excludedProperties = ["ID", "Discount"];

    Returns string[]

  • Gets or sets a set of property paths that should be excluded from consideration by the category chart.

    The excludedProperties property used for the property paths that should be excluded from consideration by the category chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        excludedProperties="ID">
    </igx-category-chart>
    this.chart.excludedProperties = ["ID", "Discount"];

    Parameters

    • v: string[]

    Returns void

finalValueAnnotationsVisible

  • get finalValueAnnotationsVisible(): boolean
  • set finalValueAnnotationsVisible(v: boolean): void

height

  • get height(): string
  • set height(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

i

  • get i(): FinancialChart
  • Returns FinancialChart

includedProperties

  • get includedProperties(): string[]
  • set includedProperties(v: string[]): void
  • Gets or sets a set of property paths that should be included for consideration by the category chart, leaving the remainder excluded. If null, all properties will be considered.

    The includedProperties property used to include the properties for the consideration of the category chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        includedProperties="ProductName,Cost" >
    </igx-category-chart>
    this.chart.includedProperties = ["ProductName", "Cost"];

    Returns string[]

  • Gets or sets a set of property paths that should be included for consideration by the category chart, leaving the remainder excluded. If null, all properties will be considered.

    The includedProperties property used to include the properties for the consideration of the category chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        includedProperties="ProductName,Cost" >
    </igx-category-chart>
    this.chart.includedProperties = ["ProductName", "Cost"];

    Parameters

    • v: string[]

    Returns void

indicatorBrushes

  • get indicatorBrushes(): string[]
  • set indicatorBrushes(v: string[]): void
  • Brushes to use for financial indicators.

    Use the indicatorBrushes property to set a collection of brushes that will be used to render positive elements of indicators in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange"
        indicatorBrushes="Green, Blue">
    </igx-financial-chart>

    Returns string[]

  • Brushes to use for financial indicators.

    Use the indicatorBrushes property to set a collection of brushes that will be used to render positive elements of indicators in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange"
        indicatorBrushes="Green, Blue">
    </igx-financial-chart>

    Parameters

    • v: string[]

    Returns void

indicatorDisplayTypes

  • get indicatorDisplayTypes(): IndicatorDisplayTypeCollection
  • set indicatorDisplayTypes(v: IndicatorDisplayTypeCollection): void
  • The display types of financial indicators.

    Use the indicatorDisplayTypes property to set display types that will determine whether render all indicators as area, lines, or columns in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange"
        indicatorDisplayTypes="Line, Line">
    </igx-financial-chart>

    Returns IndicatorDisplayTypeCollection

  • The display types of financial indicators.

    Use the indicatorDisplayTypes property to set display types that will determine whether render all indicators as area, lines, or columns in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange"
        indicatorDisplayTypes="Line, Line">
    </igx-financial-chart>

    Parameters

    • v: IndicatorDisplayTypeCollection

    Returns void

indicatorLongPeriod

  • get indicatorLongPeriod(): number
  • set indicatorLongPeriod(v: number): void
  • The long period of financial indicators, where applicable.

    The indicatorLongPeriod property applies only to these indicator types:

    • AbsoluteVolumeOscillator,
    • ChaikinOscillator,
    • MovingAverageConvergenceDivergence,
    • PercentagePriceOscillator,
    • PercentageVolumeOscillator,
    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="ChaikinOscillator"
        indicatorLongPeriod="8">
    </igx-financial-chart>

    Returns number

  • The long period of financial indicators, where applicable.

    The indicatorLongPeriod property applies only to these indicator types:

    • AbsoluteVolumeOscillator,
    • ChaikinOscillator,
    • MovingAverageConvergenceDivergence,
    • PercentagePriceOscillator,
    • PercentageVolumeOscillator,
    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="ChaikinOscillator"
        indicatorLongPeriod="8">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

indicatorMultiplier

  • get indicatorMultiplier(): number
  • set indicatorMultiplier(v: number): void
  • The multiplier of financial indicators, where applicable.

    The indicatorMultiplier property applies to only to BollingerBandWidth indicator type.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="BollingerBandWidth"
        indicatorMultiplier="8">
    </igx-financial-chart>

    Returns number

  • The multiplier of financial indicators, where applicable.

    The indicatorMultiplier property applies to only to BollingerBandWidth indicator type.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="BollingerBandWidth"
        indicatorMultiplier="8">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

indicatorNegativeBrushes

  • get indicatorNegativeBrushes(): string[]
  • set indicatorNegativeBrushes(v: string[]): void
  • Brushes to use for negative elements in financial indicators.

    Use the indicatorNegativeBrushes property to set a collection of brushes that will be used to render negative elements of indicators in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange"
        indicatorNegativeBrushes="Red, Orange">
    </igx-financial-chart>

    Returns string[]

  • Brushes to use for negative elements in financial indicators.

    Use the indicatorNegativeBrushes property to set a collection of brushes that will be used to render negative elements of indicators in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange"
        indicatorNegativeBrushes="Red, Orange">
    </igx-financial-chart>

    Parameters

    • v: string[]

    Returns void

indicatorPeriod

  • get indicatorPeriod(): number
  • set indicatorPeriod(v: number): void
  • The period of financial indicators, where applicable.

    The indicatorPeriod property applies to only the BollingerBands overlay as well as to these indicators types: AverageDirectionalIndex, AverageTrueRange, BollingerBandWidth, ChaikinVolatility, CommodityChannelIndex, DetrendedPriceOscillator, FastStochasticOscillator, ForceIndex, FullStochasticOscillator, MoneyFlowIndex, IgxPriceChannelOverlayComponent, RateOfChangeAndMomentum, RelativeStrengthIndex, SlowStochasticOscillator, StandardDeviation, StochRSI, TRIX, WilliamsPercentR

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="AverageTrueRange"
        indicatorPeriod="8">
    </igx-financial-chart>

    Returns number

  • The period of financial indicators, where applicable.

    The indicatorPeriod property applies to only the BollingerBands overlay as well as to these indicators types: AverageDirectionalIndex, AverageTrueRange, BollingerBandWidth, ChaikinVolatility, CommodityChannelIndex, DetrendedPriceOscillator, FastStochasticOscillator, ForceIndex, FullStochasticOscillator, MoneyFlowIndex, IgxPriceChannelOverlayComponent, RateOfChangeAndMomentum, RelativeStrengthIndex, SlowStochasticOscillator, StandardDeviation, StochRSI, TRIX, WilliamsPercentR

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="AverageTrueRange"
        indicatorPeriod="8">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

indicatorShortPeriod

  • get indicatorShortPeriod(): number
  • set indicatorShortPeriod(v: number): void
  • The short period of financial indicators, where applicable.

    The indicatorShortPeriod property applies only to these indicator types:

    • AbsoluteVolumeOscillator,
    • ChaikinOscillator,
    • MovingAverageConvergenceDivergence,
    • PercentagePriceOscillator,
    • PercentageVolumeOscillator,
    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="ChaikinOscillator"
        indicatorShortPeriod="8">
    </igx-financial-chart>

    Returns number

  • The short period of financial indicators, where applicable.

    The indicatorShortPeriod property applies only to these indicator types:

    • AbsoluteVolumeOscillator,
    • ChaikinOscillator,
    • MovingAverageConvergenceDivergence,
    • PercentagePriceOscillator,
    • PercentageVolumeOscillator,
    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="ChaikinOscillator"
        indicatorShortPeriod="8">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

indicatorSignalPeriod

  • get indicatorSignalPeriod(): number
  • set indicatorSignalPeriod(v: number): void
  • The signal period of financial indicators, where applicable.

    The indicatorSignalPeriod property applies to only to MovingAverageConvergenceDivergence indicator type.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MovingAverageConvergenceDivergence"
        indicatorSignalPeriod="8">
    </igx-financial-chart>

    Returns number

  • The signal period of financial indicators, where applicable.

    The indicatorSignalPeriod property applies to only to MovingAverageConvergenceDivergence indicator type.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MovingAverageConvergenceDivergence"
        indicatorSignalPeriod="8">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

indicatorSmoothingPeriod

  • get indicatorSmoothingPeriod(): number
  • set indicatorSmoothingPeriod(v: number): void
  • The smoothing period of financial indicators, where applicable.

    The indicatorSmoothingPeriod property applies to only to FullStochasticOscillator indicator type.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="FullStochasticOscillator"
        indicatorSmoothingPeriod="8">
    </igx-financial-chart>

    Returns number

  • The smoothing period of financial indicators, where applicable.

    The indicatorSmoothingPeriod property applies to only to FullStochasticOscillator indicator type.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="FullStochasticOscillator"
        indicatorSmoothingPeriod="8">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

indicatorThickness

  • get indicatorThickness(): number
  • set indicatorThickness(v: number): void
  • The outline or stroke thickness of financial indicators.

    Use the indicatorThickness property to set a number that will be used to render outline thickness of all indicators in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange"
        indicatorThickness="2.5">
    </igx-financial-chart>

    Returns number

  • The outline or stroke thickness of financial indicators.

    Use the indicatorThickness property to set a number that will be used to render outline thickness of all indicators in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange"
        indicatorThickness="2.5">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

indicatorTypes

  • get indicatorTypes(): FinancialIndicatorTypeCollection
  • set indicatorTypes(v: FinancialIndicatorTypeCollection): void
  • A collection indicating what financial indicator types to display on the Financial Chart.

    Use the indicatorTypes property to set types of indicators that will be rendered below the price pane in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange">
    </igx-financial-chart>

    Returns FinancialIndicatorTypeCollection

  • A collection indicating what financial indicator types to display on the Financial Chart.

    Use the indicatorTypes property to set types of indicators that will be rendered below the price pane in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        indicatorTypes="MoneyFlowIndex, AverageTrueRange">
    </igx-financial-chart>

    Parameters

    • v: FinancialIndicatorTypeCollection

    Returns void

isHorizontalZoomEnabled

  • get isHorizontalZoomEnabled(): boolean
  • set isHorizontalZoomEnabled(v: boolean): void

isLegendVisible

  • get isLegendVisible(): boolean
  • set isLegendVisible(v: boolean): void
  • Gets or sets weather or not a legend is visible between toolbar and chart's plot area

    Returns boolean

  • Gets or sets weather or not a legend is visible between toolbar and chart's plot area

    Parameters

    • v: boolean

    Returns void

isSeriesHighlightingEnabled

  • get isSeriesHighlightingEnabled(): boolean
  • set isSeriesHighlightingEnabled(v: boolean): void
  • Gets or sets whether the chart can highlight series through user interactions. This property applies to Category Chart and Financial Chart controls.

    Returns boolean

  • Gets or sets whether the chart can highlight series through user interactions. This property applies to Category Chart and Financial Chart controls.

    Parameters

    • v: boolean

    Returns void

isToolbarVisible

  • get isToolbarVisible(): boolean
  • set isToolbarVisible(v: boolean): void
  • A boolean property controlling the visibility of the toolbar.

    The isToolbarVisible property is used to hide the toolbar.

    Returns boolean

  • A boolean property controlling the visibility of the toolbar.

    The isToolbarVisible property is used to hide the toolbar.

    Parameters

    • v: boolean

    Returns void

isVerticalZoomEnabled

  • get isVerticalZoomEnabled(): boolean
  • set isVerticalZoomEnabled(v: boolean): void

isWindowSyncedToVisibleRange

  • get isWindowSyncedToVisibleRange(): boolean
  • set isWindowSyncedToVisibleRange(v: boolean): void
  • A boolean indicating whether the chart should automatically zoom in vertically on the currently visible range of data. When this property is set to true, panning and zooming along the X-axis will result in a corresponding zoom on the Y-axis, so that the visible range of data fills the zoom window as fully as possible.

    Returns boolean

  • A boolean indicating whether the chart should automatically zoom in vertically on the currently visible range of data. When this property is set to true, panning and zooming along the X-axis will result in a corresponding zoom on the Y-axis, so that the visible range of data fills the zoom window as fully as possible.

    Parameters

    • v: boolean

    Returns void

leftMargin

  • get leftMargin(): number
  • set leftMargin(v: number): void

legend

  • get legend(): any
  • set legend(v: any): void

markerBrushes

  • get markerBrushes(): string[]
  • set markerBrushes(v: string[]): void
  • Gets or sets the palette of brushes used for rendering fill area of data point markers. This property applies only to these chart types: point, line, spline, bubble, and polygon

    markerBrushes property used for rendering fill area of data point markers.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        markerBrushes="#ff0000, #cc0000, #aa0000">
    </igx-category-chart>
     this.chart.markerBrushes=[ "#ff0000", "#ffff00", "#00ffff" ];

    Returns string[]

  • Gets or sets the palette of brushes used for rendering fill area of data point markers. This property applies only to these chart types: point, line, spline, bubble, and polygon

    markerBrushes property used for rendering fill area of data point markers.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        markerBrushes="#ff0000, #cc0000, #aa0000">
    </igx-category-chart>
     this.chart.markerBrushes=[ "#ff0000", "#ffff00", "#00ffff" ];

    Parameters

    • v: string[]

    Returns void

markerMaxCount

  • get markerMaxCount(): number
  • set markerMaxCount(v: number): void
  • Gets or sets the maximum number of markers displyed in the plot area of the chart.

    markerMaxCount property used to display maximum number of markers in the plot area of the chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        markerMaxCount=100 >
    </igx-category-chart>
     this.chart.markerMaxCount = 100 ;

    Returns number

  • Gets or sets the maximum number of markers displyed in the plot area of the chart.

    markerMaxCount property used to display maximum number of markers in the plot area of the chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        markerMaxCount=100 >
    </igx-category-chart>
     this.chart.markerMaxCount = 100 ;

    Parameters

    • v: number

    Returns void

markerOutlines

  • get markerOutlines(): string[]
  • set markerOutlines(v: string[]): void
  • Gets or sets the palette of brushes used for rendering outlines of data point markers. This property applies only to these chart types: point, line, spline, bubble, and polygon

    markerOutlines property used for rendering outlines of data point markers.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        markerOutlines="#ff0000, #cc0000, #aa0000">
    </igx-category-chart>
    this.chart.markerOutlines= ["#ff0000", "#ffff00", "#00ffff"] ;

    Returns string[]

  • Gets or sets the palette of brushes used for rendering outlines of data point markers. This property applies only to these chart types: point, line, spline, bubble, and polygon

    markerOutlines property used for rendering outlines of data point markers.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        markerOutlines="#ff0000, #cc0000, #aa0000">
    </igx-category-chart>
    this.chart.markerOutlines= ["#ff0000", "#ffff00", "#00ffff"] ;

    Parameters

    • v: string[]

    Returns void

markerTypes

  • get markerTypes(): MarkerTypeCollection
  • set markerTypes(v: MarkerTypeCollection): void
  • Gets or sets the marker shapes used for indicating location of data points in this chart. This property applies only to these chart types: point, line, spline, bubble, and polygon

    Returns MarkerTypeCollection

  • Gets or sets the marker shapes used for indicating location of data points in this chart. This property applies only to these chart types: point, line, spline, bubble, and polygon

    Parameters

    • v: MarkerTypeCollection

    Returns void

negativeBrushes

  • get negativeBrushes(): string[]
  • set negativeBrushes(v: string[]): void
  • Gets or sets the palette used for coloring negative items of Waterfall chart type.

    Use the negativeBrushes property to set a collection of brushes that will be used to render fill area of negative elements in the price pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        negativeBrushes="Red, Orange">
    </igx-financial-chart>

    Returns string[]

  • Gets or sets the palette used for coloring negative items of Waterfall chart type.

    Use the negativeBrushes property to set a collection of brushes that will be used to render fill area of negative elements in the price pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        negativeBrushes="Red, Orange">
    </igx-financial-chart>

    Parameters

    • v: string[]

    Returns void

negativeOutlines

  • get negativeOutlines(): string[]
  • set negativeOutlines(v: string[]): void
  • Brushes to use for drawing negative elements, when using a chart type with contextual coloring, such as Waterfall.

    Use the negativeOutlines property to set a collection of brushes that will be used to render outline of negative elements in the price pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        negativeOutlines="Red, Orange">
    </igx-financial-chart>

    Returns string[]

  • Brushes to use for drawing negative elements, when using a chart type with contextual coloring, such as Waterfall.

    Use the negativeOutlines property to set a collection of brushes that will be used to render outline of negative elements in the price pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        negativeOutlines="Red, Orange">
    </igx-financial-chart>

    Parameters

    • v: string[]

    Returns void

outlines

  • get outlines(): string[]
  • set outlines(v: string[]): void
  • Gets or sets the palette of brushes to use for outlines on the chart series. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection

    Use the outlines property to sets the palette of brushes to use for outlines on the chart series

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        outlines="#ff0000, #cc0000, #aa0000">
    </igx-category-chart>

    Returns string[]

  • Gets or sets the palette of brushes to use for outlines on the chart series. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection

    Use the outlines property to sets the palette of brushes to use for outlines on the chart series

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        outlines="#ff0000, #cc0000, #aa0000">
    </igx-category-chart>

    Parameters

    • v: string[]

    Returns void

overlayBrushes

  • get overlayBrushes(): string[]
  • set overlayBrushes(v: string[]): void
  • Brushes to use for filling financial overlays.

    Use the overlayBrushes property to set a collection of brushes that will be used to render fill area of overlays in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        overlayTypes="BollingerBands"
        overlayBrushes="Green">
    </igx-financial-chart>

    Returns string[]

  • Brushes to use for filling financial overlays.

    Use the overlayBrushes property to set a collection of brushes that will be used to render fill area of overlays in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        overlayTypes="BollingerBands"
        overlayBrushes="Green">
    </igx-financial-chart>

    Parameters

    • v: string[]

    Returns void

overlayOutlines

  • get overlayOutlines(): string[]
  • set overlayOutlines(v: string[]): void
  • Brushes to use for outlining financial overlays.

    Use the overlayOutlines property to set a collection of brushes that will be used to render outlines of overlays in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        overlayTypes="BollingerBands"
        overlayOutlines="Green">
    </igx-financial-chart>

    Returns string[]

  • Brushes to use for outlining financial overlays.

    Use the overlayOutlines property to set a collection of brushes that will be used to render outlines of overlays in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        overlayTypes="BollingerBands"
        overlayOutlines="Green">
    </igx-financial-chart>

    Parameters

    • v: string[]

    Returns void

overlayThickness

  • get overlayThickness(): number
  • set overlayThickness(v: number): void
  • The outline thickness of financial overlays.

    Use the overlayThickness property to set a number that will be used to render outline thickness of all overlays in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        overlayTypes="BollingerBands"
        overlayThickness="2.5">
    </igx-financial-chart>

    Returns number

  • The outline thickness of financial overlays.

    Use the overlayThickness property to set a number that will be used to render outline thickness of all overlays in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        overlayTypes="BollingerBands"
        overlayThickness="2.5">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

overlayTypes

  • get overlayTypes(): FinancialOverlayTypeCollection
  • set overlayTypes(v: FinancialOverlayTypeCollection): void
  • A collection indicating what financial overlay types to display on the Financial Chart.

    Use the overlayTypes property to set types of overlays that will be rendered behind price series in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        overlayTypes="BollingerBands">
    </igx-financial-chart>

    Returns FinancialOverlayTypeCollection

  • A collection indicating what financial overlay types to display on the Financial Chart.

    Use the overlayTypes property to set types of overlays that will be rendered behind price series in the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        overlayTypes="BollingerBands">
    </igx-financial-chart>

    Parameters

    • v: FinancialOverlayTypeCollection

    Returns void

pixelScalingRatio

  • get pixelScalingRatio(): number
  • set pixelScalingRatio(v: number): void
  • 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.

    Returns number

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

    Parameters

    • v: number

    Returns void

rangeSelectorOptions

  • get rangeSelectorOptions(): FinancialChartRangeSelectorOptionCollection
  • set rangeSelectorOptions(v: FinancialChartRangeSelectorOptionCollection): void
  • A FinancialChartRangeSelectorOptionCollection containing the available range selector options on the toolbar.

    Returns FinancialChartRangeSelectorOptionCollection

  • A FinancialChartRangeSelectorOptionCollection containing the available range selector options on the toolbar.

    Parameters

    • v: FinancialChartRangeSelectorOptionCollection

    Returns void

resolution

  • get resolution(): number
  • set resolution(v: number): void
  • Gets or sets the rendering resolution for all series in this chart. Where n = Resolution, for every n horizontal pixels, combine all items into a single datapoint. When Resolution = 0, all datapoints will be rendered as graphical objects. Charts with a higher resolution will have faster performance.

    Returns number

  • Gets or sets the rendering resolution for all series in this chart. Where n = Resolution, for every n horizontal pixels, combine all items into a single datapoint. When Resolution = 0, all datapoints will be rendered as graphical objects. Charts with a higher resolution will have faster performance.

    Parameters

    • v: number

    Returns void

rightMargin

  • get rightMargin(): number
  • set rightMargin(v: number): void
  • Gets or sets the right margin of the chart content.

    Use rightMargin property for the right margin of the chart content.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        rightMargin=20>
    </igx-category-chart>
      this.chart.rightMargin = 20 ;

    Returns number

  • Gets or sets the right margin of the chart content.

    Use rightMargin property for the right margin of the chart content.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        rightMargin=20>
    </igx-category-chart>
      this.chart.rightMargin = 20 ;

    Parameters

    • v: number

    Returns void

seriesAdded

  • get seriesAdded(): EventEmitter<object>
  • Event raised when a series is initialized and added to this chart.

    SeriesAdded event raised when a series is initialized and added to this chart.

     <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          (seriesAdded)="CategoryChart_SeriesAdded()"
         >
    </igx-category-chart>
    CategoryChart_SeriesAdded(sender:any ,aregs:ChartSeriesEventArgs)
    {
    }

    Returns EventEmitter<object>

seriesPointerDown

  • get seriesPointerDown(): EventEmitter<object>
  • Occurs when the pointer is pressed down over a Series.

    SeriesPointerDown event raised when the pointer is pressed down over a Series

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          (seriesPointerDown)="CategoryChart_seriesPointerDown()" >
    </igx-category-chart>
    CategoryChart_seriesPointerDown(sender: any , aregs: ChartSeriesEventArgs)
      {
    
      }

    Returns EventEmitter<object>

seriesPointerEnter

  • get seriesPointerEnter(): EventEmitter<object>
  • Occurs when the pointer enters a Series.

    SeriesPointerEnter event raised when the pointer enters a Series.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          (seriesPointerEnter)="CategoryChart_seriesPointerEnter()" >
    </igx-category-chart>
    CategoryChart_seriesPointerEnter(sender: any , aregs: ChartSeriesEventArgs)
      {
    
      }

    Returns EventEmitter<object>

seriesPointerLeave

  • get seriesPointerLeave(): EventEmitter<object>
  • Occurs when the pointer leaves a Series.

    SeriesPointerLeave event raised when the pointer leaves a Series.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          (seriesPointerLeave)= "CategoryChart_seriesPointerLeave()" >
    </igx-category-chart>
    CategoryChart_seriesPointerLeave(sender: any , aregs: ChartSeriesEventArgs)
      {
    
      }

    Returns EventEmitter<object>

seriesPointerMove

  • get seriesPointerMove(): EventEmitter<object>
  • Occurs when the pointer moves over a Series.

    SeriesPointerMove event raised when the pointer moves over a Series.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
           (seriesPointerMove)="CategoryChart_seriesPointerMove()">
    </igx-category-chart>
     CategoryChart_seriesPointerMove(sender: any , aregs: ChartSeriesEventArgs)
      {
    
      }

    Returns EventEmitter<object>

seriesPointerUp

  • get seriesPointerUp(): EventEmitter<object>
  • Occurs when the pointer is released over a Series.

    SeriesPointerUp event raised when the pointer is released over a Series.

     CategoryChart_seriesPointerUp(sender: any , aregs: ChartSeriesEventArgs)
      {
    
      }
    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          (seriesPointerUp)="CategoryChart_seriesPointerUp()" >
    </igx-category-chart>

    Returns EventEmitter<object>

seriesRemoved

  • get seriesRemoved(): EventEmitter<object>
  • Event raised when a series is removed from this chart.

    SeriesRemoved event raised when a series is removed from this chart.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          (seriesRemoved)="CategoryChart_seriesRemoved()">
    </igx-category-chart>
     CategoryChart_seriesRemoved(sender: any , aregs: ChartSeriesEventArgs)
      {
    
      }

    Returns EventEmitter<object>

subtitle

  • get subtitle(): string
  • set subtitle(v: string): void
  • Gets or sets text to display below the Title, above the plot area.

    Use the subtitle property to display the text below and above the plot area.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitle= "This is a subtitle">
    </igx-category-chart>
     this.chart.subtitle ="CategoryChart Subtitle" ;

    Returns string

  • Gets or sets text to display below the Title, above the plot area.

    Use the subtitle property to display the text below and above the plot area.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitle= "This is a subtitle">
    </igx-category-chart>
     this.chart.subtitle ="CategoryChart Subtitle" ;

    Parameters

    • v: string

    Returns void

subtitleAlignment

  • Gets or sets horizontal alignment which determines the subtitle position, relative to the left and right edges of the control.

    Use the subtitleAlignment property to Gets or sets horizontal alignment.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitleAlignment= "center">
    </igx-category-chart>
    this.chart.subtitleAlignment = HorizontalAlignment.Right;

    Returns HorizontalAlignment

  • Gets or sets horizontal alignment which determines the subtitle position, relative to the left and right edges of the control.

    Use the subtitleAlignment property to Gets or sets horizontal alignment.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitleAlignment= "center">
    </igx-category-chart>
    this.chart.subtitleAlignment = HorizontalAlignment.Right;

    Parameters

    Returns void

subtitleBottomMargin

  • get subtitleBottomMargin(): number
  • set subtitleBottomMargin(v: number): void
  • Gets or sets the bottom margin of chart subtitle

    Use subtitleBottomMargin property for the bottom margin of chart subtitle.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitleBottomMargin=10>
    </igx-category-chart>
    this.chart.subtitleBottomMargin = 10 ;

    Returns number

  • Gets or sets the bottom margin of chart subtitle

    Use subtitleBottomMargin property for the bottom margin of chart subtitle.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitleBottomMargin=10>
    </igx-category-chart>
    this.chart.subtitleBottomMargin = 10 ;

    Parameters

    • v: number

    Returns void

subtitleLeftMargin

  • get subtitleLeftMargin(): number
  • set subtitleLeftMargin(v: number): void
  • Gets or sets the left margin of chart subtitle

    Use subtitleLeftMargin property for the left margin of chart subtitle.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitleLeftMargin= 20>
    </igx-category-chart>
    this.chart.subtitleLeftMargin = 20 ;

    Returns number

  • Gets or sets the left margin of chart subtitle

    Use subtitleLeftMargin property for the left margin of chart subtitle.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitleLeftMargin= 20>
    </igx-category-chart>
    this.chart.subtitleLeftMargin = 20 ;

    Parameters

    • v: number

    Returns void

subtitleRightMargin

  • get subtitleRightMargin(): number
  • set subtitleRightMargin(v: number): void
  • Gets or sets the right margin of chart subtitle

    Use subtitleRightMargin property for the right margin of chart subtitle.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitleRightMargin= 10>
    </igx-category-chart>
     this.chart.subtitleRightMargin = 20 ;

    Returns number

  • Gets or sets the right margin of chart subtitle

    Use subtitleRightMargin property for the right margin of chart subtitle.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        subtitleRightMargin= 10>
    </igx-category-chart>
     this.chart.subtitleRightMargin = 20 ;

    Parameters

    • v: number

    Returns void

subtitleTextColor

  • get subtitleTextColor(): string
  • set subtitleTextColor(v: string): void
  • Gets or sets color of chart subtitle

    Use subtitleTextColor property to color the subtitle.

     <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          subtitle= "This is a subtitle"
          subtitleTextColor= 'blue'>
        </igx-category-chart>
    this.chart.subtitleTextColor = "#ff0000" ;

    Returns string

  • Gets or sets color of chart subtitle

    Use subtitleTextColor property to color the subtitle.

     <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          subtitle= "This is a subtitle"
          subtitleTextColor= 'blue'>
        </igx-category-chart>
    this.chart.subtitleTextColor = "#ff0000" ;

    Parameters

    • v: string

    Returns void

subtitleTextStyle

  • get subtitleTextStyle(): string
  • set subtitleTextStyle(v: string): void
  • Gets or sets CSS font property for the chart subtitle

    Use subtitleTextStyle property for the CSS font of the chart subtitle.

     <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          subtitle= "This is a subtitle"
          subtitleTextStyle ="16pt Verdona">
        </igx-category-chart>
    this.chart.subtitleTextStyle= "16pt Verdona";

    Returns string

  • Gets or sets CSS font property for the chart subtitle

    Use subtitleTextStyle property for the CSS font of the chart subtitle.

     <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          subtitle= "This is a subtitle"
          subtitleTextStyle ="16pt Verdona">
        </igx-category-chart>
    this.chart.subtitleTextStyle= "16pt Verdona";

    Parameters

    • v: string

    Returns void

subtitleTopMargin

  • get subtitleTopMargin(): number
  • set subtitleTopMargin(v: number): void
  • Gets or sets the top margin of chart subtitle

    Use subtitleTopMargin property for the top margin of chart subtitle.

       <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          subtitle= "This is a subtitle"
          subtitleTopMargin=10>
        </igx-category-chart>
    this.chart.subtitleTopMargin = 10;

    Returns number

  • Gets or sets the top margin of chart subtitle

    Use subtitleTopMargin property for the top margin of chart subtitle.

       <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          subtitle= "This is a subtitle"
          subtitleTopMargin=10>
        </igx-category-chart>
    this.chart.subtitleTopMargin = 10;

    Parameters

    • v: number

    Returns void

thickness

  • get thickness(): number
  • set thickness(v: number): void
  • Gets or sets the thickness for all series in this chart. Depending on the ChartType, this can be the main brush used, or just the outline.

    Use the thickness property for the thickness of all the series in this chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        thickness=5>
    </igx-category-chart>
    this.chart.thickness = 5;

    Returns number

  • Gets or sets the thickness for all series in this chart. Depending on the ChartType, this can be the main brush used, or just the outline.

    Use the thickness property for the thickness of all the series in this chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        thickness=5>
    </igx-category-chart>
    this.chart.thickness = 5;

    Parameters

    • v: number

    Returns void

titleAlignment

  • Gets or sets horizontal alignment which determines the title position, relative to the left and right edges of the control.

    Use the titleAlignment property for the horizontal alignment of the title.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        titleAlignment= "center">
    </igx-category-chart>
    this.chart.titleAlignment = HorizontalAlignment.Center;

    Returns HorizontalAlignment

  • Gets or sets horizontal alignment which determines the title position, relative to the left and right edges of the control.

    Use the titleAlignment property for the horizontal alignment of the title.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        titleAlignment= "center">
    </igx-category-chart>
    this.chart.titleAlignment = HorizontalAlignment.Center;

    Parameters

    Returns void

titleBottomMargin

  • get titleBottomMargin(): number
  • set titleBottomMargin(v: number): void
  • Gets or sets the bottom margin of chart title

    Use titleBottomMargin property for the bottom margin of chart title.

    <igx-category-chart
       yAxisMinimumValue="0"
       [dataSource]="data"
       titleBottomMargin= 10 >
    </igx-category-chart>
     this.chart.titleBottomMargin = 5;

    Returns number

  • Gets or sets the bottom margin of chart title

    Use titleBottomMargin property for the bottom margin of chart title.

    <igx-category-chart
       yAxisMinimumValue="0"
       [dataSource]="data"
       titleBottomMargin= 10 >
    </igx-category-chart>
     this.chart.titleBottomMargin = 5;

    Parameters

    • v: number

    Returns void

titleLeftMargin

  • get titleLeftMargin(): number
  • set titleLeftMargin(v: number): void
  • Gets or sets the left margin of chart title

    Use titleLeftMargin property for the left margin of chart title.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        titleLeftMargin= 10>
    </igx-category-chart>
    this.chart.titleLeftMargin = 10;

    Returns number

  • Gets or sets the left margin of chart title

    Use titleLeftMargin property for the left margin of chart title.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        titleLeftMargin= 10>
    </igx-category-chart>
    this.chart.titleLeftMargin = 10;

    Parameters

    • v: number

    Returns void

titleRightMargin

  • get titleRightMargin(): number
  • set titleRightMargin(v: number): void
  • Gets or sets the right margin of chart title

    Use titleLeftMargin property for the right margin of chart title.

    <igx-category-chart
            yAxisMinimumValue="0"
            [dataSource]="data"
            titleRightMargin= 10>
    </igx-category-chart>
    this.chart.titleRightMargin = 10;

    Returns number

  • Gets or sets the right margin of chart title

    Use titleLeftMargin property for the right margin of chart title.

    <igx-category-chart
            yAxisMinimumValue="0"
            [dataSource]="data"
            titleRightMargin= 10>
    </igx-category-chart>
    this.chart.titleRightMargin = 10;

    Parameters

    • v: number

    Returns void

titleTextColor

  • get titleTextColor(): string
  • set titleTextColor(v: string): void
  • Gets or sets color of chart title

    Use titleTextColor property to color the chart title

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          titleTextColor= "red">
    </igx-category-chart>
     this.chart.titleTextColor="red" ;

    Returns string

  • Gets or sets color of chart title

    Use titleTextColor property to color the chart title

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          titleTextColor= "red">
    </igx-category-chart>
     this.chart.titleTextColor="red" ;

    Parameters

    • v: string

    Returns void

titleTextStyle

  • get titleTextStyle(): string
  • set titleTextStyle(v: string): void
  • Gets or sets CSS font property for the chart title

    Use titleTextStyle property for the CSS font property of the chart title

     <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          titleTextStyle= "24pt Verdona">
        </igx-category-chart>
    this.chart.titleTextStyle = "24pt Verdona";

    Returns string

  • Gets or sets CSS font property for the chart title

    Use titleTextStyle property for the CSS font property of the chart title

     <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          titleTextStyle= "24pt Verdona">
        </igx-category-chart>
    this.chart.titleTextStyle = "24pt Verdona";

    Parameters

    • v: string

    Returns void

titleTopMargin

  • get titleTopMargin(): number
  • set titleTopMargin(v: number): void
  • Gets or sets the top margin of chart title

    Use titleTopMargin property for the top margin of chart title.

    <igx-category-chart
         yAxisMinimumValue="0"
         [dataSource]="data"
         title="Countries"
         titleTopMargin=10 >
    </igx-category-chart>
    this.chart.titleTopMargin = 10;

    Returns number

  • Gets or sets the top margin of chart title

    Use titleTopMargin property for the top margin of chart title.

    <igx-category-chart
         yAxisMinimumValue="0"
         [dataSource]="data"
         title="Countries"
         titleTopMargin=10 >
    </igx-category-chart>
    this.chart.titleTopMargin = 10;

    Parameters

    • v: number

    Returns void

toolTipType

toolbarHeight

  • get toolbarHeight(): number
  • set toolbarHeight(v: number): void
  • Returns number

  • Parameters

    • v: number

    Returns void

tooltipTemplate

  • get tooltipTemplate(): TemplateRef<any>
  • set tooltipTemplate(v: TemplateRef<any>): void
  • Sets or gets the template reference to use for tooltips for all the series.

    Returns TemplateRef<any>

  • Sets or gets the template reference to use for tooltips for all the series.

    Parameters

    • v: TemplateRef<any>

    Returns void

tooltipTemplates

  • get tooltipTemplates(): TemplateRef<any>[]
  • set tooltipTemplates(v: TemplateRef<any>[]): void
  • Sets or gets the template references to use for tooltips for all the series, in order.

    Returns TemplateRef<any>[]

  • Sets or gets the template references to use for tooltips for all the series, in order.

    Parameters

    • v: TemplateRef<any>[]

    Returns void

topMargin

  • get topMargin(): number
  • set topMargin(v: number): void
  • Gets or sets the top margin of the chart content.

    Use topMargin property for the margin of the chart content.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        topMargin= 20>
    </igx-category-chart>
    this.chart.topMargin=20;

    Returns number

  • Gets or sets the top margin of the chart content.

    Use topMargin property for the margin of the chart content.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        topMargin= 20>
    </igx-category-chart>
    this.chart.topMargin=20;

    Parameters

    • v: number

    Returns void

transitionDuration

  • get transitionDuration(): number
  • set transitionDuration(v: number): void
  • Gets or sets the duration used for animating series plots when the data is changing

    Use the transitionDuration property to animating between data values.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        transitionDuration="500">
    </igx-category-chart>
    this.chart.transitionDuration= 500;

    Returns number

  • Gets or sets the duration used for animating series plots when the data is changing

    Use the transitionDuration property to animating between data values.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        transitionDuration="500">
    </igx-category-chart>
    this.chart.transitionDuration= 500;

    Parameters

    • v: number

    Returns void

transitionEasingFunction

  • get transitionEasingFunction(): function
  • set transitionEasingFunction(v: function): void
  • Gets or sets the easing function used for animating series plots when the data is changing. This can be set to one of the known values "linear" or "cubic," or it can be set to an easing function which takes a single numeric parameter and returns a number.

    The 'transitionInEasingFunction' property used for easing function for animating series plots when the chart is loading into view.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        transitionInEasingFunction= "cubic">
    </igx-category-chart>
    this.chart.transitionInEasingFunction=  this.cubicFunc;
    
    cubicFunc(time: number) : number
      {
        return time;
      }

    Returns function

      • (time: number): number
      • Parameters

        • time: number

        Returns number

  • Gets or sets the easing function used for animating series plots when the data is changing. This can be set to one of the known values "linear" or "cubic," or it can be set to an easing function which takes a single numeric parameter and returns a number.

    The 'transitionInEasingFunction' property used for easing function for animating series plots when the chart is loading into view.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        transitionInEasingFunction= "cubic">
    </igx-category-chart>
    this.chart.transitionInEasingFunction=  this.cubicFunc;
    
    cubicFunc(time: number) : number
      {
        return time;
      }

    Parameters

    • v: function
        • (time: number): number
        • Parameters

          • time: number

          Returns number

    Returns void

trendLineBrushes

  • get trendLineBrushes(): string[]
  • set trendLineBrushes(v: string[]): void
  • Gets or sets the palette of brushes to used for coloring trend lines in this chart. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection

    Use the trendLineBrushes property for coloring trend lines in the chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        trendLineBrushes="#ff0000,#aa0000">
    </igx-category-chart>
    this.chart.trendLineBrushes=["#ff0000", "#ffff00", "#00ffff"]    ;

    Returns string[]

  • Gets or sets the palette of brushes to used for coloring trend lines in this chart. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection

    Use the trendLineBrushes property for coloring trend lines in the chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        trendLineBrushes="#ff0000,#aa0000">
    </igx-category-chart>
    this.chart.trendLineBrushes=["#ff0000", "#ffff00", "#00ffff"]    ;

    Parameters

    • v: string[]

    Returns void

trendLinePeriod

  • get trendLinePeriod(): number
  • set trendLinePeriod(v: number): void

trendLineThickness

  • get trendLineThickness(): number
  • set trendLineThickness(v: number): void
  • Gets or sets the thickness of the trend lines in this chart. This property applies only to these chart types: point, line, spline, and bubble

    Use the trendLineThickness property for the thickness of the trend lines in the chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        trendLineThickness= 2>
    </igx-category-chart>
    this.chart.trendLineThickness=2;

    Returns number

  • Gets or sets the thickness of the trend lines in this chart. This property applies only to these chart types: point, line, spline, and bubble

    Use the trendLineThickness property for the thickness of the trend lines in the chart.

    <igx-category-chart
        yAxisMinimumValue="0"
        [dataSource]="data"
        trendLineThickness= 2>
    </igx-category-chart>
    this.chart.trendLineThickness=2;

    Parameters

    • v: number

    Returns void

trendLineType

  • Gets or sets the formula used for calculating trend lines in this chart. This property applies only to these chart types: point, line, spline, and bubble

    Use the trendLineType property for calculating trend lines.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          trendLineType= "cubicFit">
    </igx-category-chart>
    this.chart.trendLineType = TrendLineType.CubicFit;

    Returns TrendLineType

  • Gets or sets the formula used for calculating trend lines in this chart. This property applies only to these chart types: point, line, spline, and bubble

    Use the trendLineType property for calculating trend lines.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          trendLineType= "cubicFit">
    </igx-category-chart>
    this.chart.trendLineType = TrendLineType.CubicFit;

    Parameters

    Returns void

unknownValuePlotting

  • Gets or sets the behavior that determines how unknown values will be plotted on the chart. Null and Double.NaN are two examples of unknown values.

    Use the unknownValuePlotting property to determines the behavior that how unknown values will be plotted on the chart.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          unknownValuePlotting= "dontPlot">
    </igx-category-chart>
    this.chart.unknownValuePlotting =UnknownValuePlotting.DontPlot;

    Returns UnknownValuePlotting

  • Gets or sets the behavior that determines how unknown values will be plotted on the chart. Null and Double.NaN are two examples of unknown values.

    Use the unknownValuePlotting property to determines the behavior that how unknown values will be plotted on the chart.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          unknownValuePlotting= "dontPlot">
    </igx-category-chart>
    this.chart.unknownValuePlotting =UnknownValuePlotting.DontPlot;

    Parameters

    Returns void

viewport

  • Gets a rectangle representing the bounds of the plot area.

    viewport property representing the bounds of the plot area.

    let viewport:Rect =  this.chart.viewport;

    Returns IgRect

volumeBrushes

  • get volumeBrushes(): string[]
  • set volumeBrushes(v: string[]): void
  • Brushes to use for filling volume series in the volume pane.

    Use the volumeBrushes property to set a collection of brushes that will be used to render fill area of multiple series in the volume pane of the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        volumeBrushes="Green, Blue">
    </igx-financial-chart>

    Returns string[]

  • Brushes to use for filling volume series in the volume pane.

    Use the volumeBrushes property to set a collection of brushes that will be used to render fill area of multiple series in the volume pane of the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        volumeBrushes="Green, Blue">
    </igx-financial-chart>

    Parameters

    • v: string[]

    Returns void

volumeOutlines

  • get volumeOutlines(): string[]
  • set volumeOutlines(v: string[]): void
  • Brushes to use for outlining volume series in the volume pane.

    Use the volumeOutlines property to set a collection of brushes that will be used to render outline of multiple series in the volume pane of the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        volumeOutlines="Green, Blue">
    </igx-financial-chart>

    Returns string[]

  • Brushes to use for outlining volume series in the volume pane.

    Use the volumeOutlines property to set a collection of brushes that will be used to render outline of multiple series in the volume pane of the Financial Chart control, e.g.

    <igx-financial-chart
        [dataSource]="data"
        volumeOutlines="Green, Blue">
    </igx-financial-chart>

    Parameters

    • v: string[]

    Returns void

volumeThickness

  • get volumeThickness(): number
  • set volumeThickness(v: number): void
  • The outline thickness of volume series in the volume pane.

    Use the volumeThickness property to set a number that will be used to render outline thickness of all series in the volume pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        volumeThickness="2.5">
    </igx-financial-chart>

    Returns number

  • The outline thickness of volume series in the volume pane.

    Use the volumeThickness property to set a number that will be used to render outline thickness of all series in the volume pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        volumeThickness="2.5">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

volumeType

  • The type of series to display in the volume pane.

    Use the volumeType property to set a type of all series that will be rendered in the volume pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        volumeType="Column">
    </igx-financial-chart>

    Returns FinancialChartVolumeType

  • The type of series to display in the volume pane.

    Use the volumeType property to set a type of all series that will be rendered in the volume pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        volumeType="Column">
    </igx-financial-chart>

    Parameters

    Returns void

width

  • get width(): string
  • set width(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

windowRect

  • Gets or sets the rectangle representing the current scroll and zoom state of the chart. WindowRect is expressed as a Rectangle with coordinates and sizes between 0 and 1.

    Use windowRect property representing the current scroll and zoom state of the chart.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          WindowRect=[0,0,1,1]>
    </igx-category-chart>
    this.chart.windowRect =[0,0,1,1];

    Returns IgRect

  • Gets or sets the rectangle representing the current scroll and zoom state of the chart. WindowRect is expressed as a Rectangle with coordinates and sizes between 0 and 1.

    Use windowRect property representing the current scroll and zoom state of the chart.

    <igx-category-chart
          yAxisMinimumValue="0"
          [dataSource]="data"
          WindowRect=[0,0,1,1]>
    </igx-category-chart>
    this.chart.windowRect =[0,0,1,1];

    Parameters

    Returns void

xAxisBreaks

  • TimeAxisBreaks to apply to this chart when in time axis mode, representing spans of time to omit, such as weekends.

    Returns IgCollection<any, any>

  • TimeAxisBreaks to apply to this chart when in time axis mode, representing spans of time to omit, such as weekends.

    Parameters

    Returns void

xAxisExtent

  • get xAxisExtent(): number
  • set xAxisExtent(v: number): void
  • Gets or sets the distance between the X-axis and the bottom of the chart.

    To allocate space between the x-axis and the edge of the chart, set the xAxisExtent property.

    <igx-category-chart
        [dataSource]="data"
        xAxisExtent="250">
    </igx-category-chart>

    Returns number

  • Gets or sets the distance between the X-axis and the bottom of the chart.

    To allocate space between the x-axis and the edge of the chart, set the xAxisExtent property.

    <igx-category-chart
        [dataSource]="data"
        xAxisExtent="250">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisFormatLabel

  • get xAxisFormatLabel(): function
  • set xAxisFormatLabel(v: function): void
  • Gets or sets function which takes an context object and returns a formatted label for the X-axis.

    To customize the text of the x-axis label, set xAxisFormatLabel to a single-parameter function. The argument passed to that function will be your data item.

    <igx-category-chart
        [dataSource]="data"
        [xAxisFormatLabel]="formatX"
        xAxisExtent="250">
    </igx-category-chart>
    formatX(item: any): string {
        return "[ " + item.label + "! ]";
    }

    Returns function

      • (item: any): string
      • Parameters

        • item: any

        Returns string

  • Gets or sets function which takes an context object and returns a formatted label for the X-axis.

    To customize the text of the x-axis label, set xAxisFormatLabel to a single-parameter function. The argument passed to that function will be your data item.

    <igx-category-chart
        [dataSource]="data"
        [xAxisFormatLabel]="formatX"
        xAxisExtent="250">
    </igx-category-chart>
    formatX(item: any): string {
        return "[ " + item.label + "! ]";
    }

    Parameters

    • v: function
        • (item: any): string
        • Parameters

          • item: any

          Returns string

    Returns void

xAxisInverted

  • get xAxisInverted(): boolean
  • set xAxisInverted(v: boolean): void
  • Gets or sets whether to invert the direction of the X-axis by placing the first data items on the right side of the chart.

    To reverse the direction of items along the x-axis, set the xAxisInverted property to true.

    <igx-category-chart
        [dataSource]="data"
        xAxisInverted="true">
    </igx-category-chart>

    Returns boolean

  • Gets or sets whether to invert the direction of the X-axis by placing the first data items on the right side of the chart.

    To reverse the direction of items along the x-axis, set the xAxisInverted property to true.

    <igx-category-chart
        [dataSource]="data"
        xAxisInverted="true">
    </igx-category-chart>

    Parameters

    • v: boolean

    Returns void

xAxisLabel

  • get xAxisLabel(): any
  • set xAxisLabel(v: any): void
  • Gets or sets the format for labels along the X-axis.

    Returns any

  • Gets or sets the format for labels along the X-axis.

    Parameters

    • v: any

    Returns void

xAxisLabelAngle

  • get xAxisLabelAngle(): number
  • set xAxisLabelAngle(v: number): void
  • Gets or sets the angle of rotation for labels along the X-axis.

    To control the rotation of labels on the x-axis, set the xAxisLabelAngle property to a number of rotational degrees.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelAngle="45">
    </igx-category-chart>

    Returns number

  • Gets or sets the angle of rotation for labels along the X-axis.

    To control the rotation of labels on the x-axis, set the xAxisLabelAngle property to a number of rotational degrees.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelAngle="45">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisLabelBottomMargin

  • get xAxisLabelBottomMargin(): number
  • set xAxisLabelBottomMargin(v: number): void
  • Gets or sets the bottom margin of labels on the X-axis

    Use the xAxisLabelBottomMargin property to apply a margin below the x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelBottomMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the bottom margin of labels on the X-axis

    Use the xAxisLabelBottomMargin property to apply a margin below the x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelBottomMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisLabelHorizontalAlignment

xAxisLabelLeftMargin

  • get xAxisLabelLeftMargin(): number
  • set xAxisLabelLeftMargin(v: number): void
  • Gets or sets the left margin of labels on the X-axis

    Use the xAxisLabelLeftMargin property to apply a margin left of the x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelLeftMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the left margin of labels on the X-axis

    Use the xAxisLabelLeftMargin property to apply a margin left of the x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelLeftMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisLabelRightMargin

  • get xAxisLabelRightMargin(): number
  • set xAxisLabelRightMargin(v: number): void
  • Gets or sets the right margin of labels on the X-axis

    Use the xAxisLabelRightMargin property to apply a margin right of the x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelRightMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the right margin of labels on the X-axis

    Use the xAxisLabelRightMargin property to apply a margin right of the x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelRightMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisLabelTextColor

  • get xAxisLabelTextColor(): string
  • set xAxisLabelTextColor(v: string): void
  • Gets or sets color of labels on the X-axis

    To change the color of x-axis labels, set the xAxisLabelTextColor property to a color string.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelTextColor="green">
    </igx-category-chart>

    Returns string

  • Gets or sets color of labels on the X-axis

    To change the color of x-axis labels, set the xAxisLabelTextColor property to a color string.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelTextColor="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisLabelTextStyle

  • get xAxisLabelTextStyle(): string
  • set xAxisLabelTextStyle(v: string): void
  • Gets or sets CSS font property for labels on X-axis

    To change the font of x-axis labels, set the xAxisLabelTextStyle property.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelTextStyle="italic 15px arial, sans-serif">
    </igx-category-chart>

    Returns string

  • Gets or sets CSS font property for labels on X-axis

    To change the font of x-axis labels, set the xAxisLabelTextStyle property.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelTextStyle="italic 15px arial, sans-serif">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisLabelTopMargin

  • get xAxisLabelTopMargin(): number
  • set xAxisLabelTopMargin(v: number): void
  • Gets or sets the top margin of labels on the X-axis

    Use the xAxisLabelTopMargin property to apply a margin above the x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleTopMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the top margin of labels on the X-axis

    Use the xAxisLabelTopMargin property to apply a margin above the x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleTopMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisLabelVerticalAlignment

  • Gets or sets Vertical alignment of X-axis labels.

    Use the xAxisLabelVerticalAlignment property to change the vertical position of x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisExtent="250"
        xAxisLabelVerticalAlignment="bottom">
    </igx-category-chart>

    Returns VerticalAlignment

  • Gets or sets Vertical alignment of X-axis labels.

    Use the xAxisLabelVerticalAlignment property to change the vertical position of x-axis labels.

    <igx-category-chart
        [dataSource]="data"
        xAxisExtent="250"
        xAxisLabelVerticalAlignment="bottom">
    </igx-category-chart>

    Parameters

    Returns void

xAxisLabelVisibility

  • Gets or sets Visibility of X-axis labels.

    To hide the x-axis labels, set xAxisLabelVisibility to collapsed.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelVisibility="collapsed">
    </igx-category-chart>

    Returns Visibility

  • Gets or sets Visibility of X-axis labels.

    To hide the x-axis labels, set xAxisLabelVisibility to collapsed.

    <igx-category-chart
        [dataSource]="data"
        xAxisLabelVisibility="collapsed">
    </igx-category-chart>

    Parameters

    Returns void

xAxisMajorStroke

  • get xAxisMajorStroke(): string
  • set xAxisMajorStroke(v: string): void
  • Gets or sets the color to apply to major gridlines along the X-axis.

    Set xAxisMajorStroke to control the color of major gridlines extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisMajorStroke="green">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to major gridlines along the X-axis.

    Set xAxisMajorStroke to control the color of major gridlines extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisMajorStroke="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisMajorStrokeThickness

  • get xAxisMajorStrokeThickness(): number
  • set xAxisMajorStrokeThickness(v: number): void
  • Gets or sets the thickness to apply to major gridlines along the X-axis.

    Set xAxisMajorStrokeThickness to control the thickness of major gridlines extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisMajorStroke="green"
        xAxisMajorStrokeThickness="3">
    </igx-category-chart>

    Returns number

  • Gets or sets the thickness to apply to major gridlines along the X-axis.

    Set xAxisMajorStrokeThickness to control the thickness of major gridlines extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisMajorStroke="green"
        xAxisMajorStrokeThickness="3">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisMaximumValue

  • get xAxisMaximumValue(): Date
  • set xAxisMaximumValue(v: Date): void
  • Gets or sets maximum value on x-axis

    Returns Date

  • Gets or sets maximum value on x-axis

    Parameters

    • v: Date

    Returns void

xAxisMinimumValue

  • get xAxisMinimumValue(): Date
  • set xAxisMinimumValue(v: Date): void
  • Gets or sets minimum value on x-axis

    Returns Date

  • Gets or sets minimum value on x-axis

    Parameters

    • v: Date

    Returns void

xAxisMinorStroke

  • get xAxisMinorStroke(): string
  • set xAxisMinorStroke(v: string): void
  • Gets or sets the color to apply to minor gridlines along the X-axis.

    Set xAxisMinorStroke to control the color of minor gridlines extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisMinorStroke="green">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to minor gridlines along the X-axis.

    Set xAxisMinorStroke to control the color of minor gridlines extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisMinorStroke="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisMinorStrokeThickness

  • get xAxisMinorStrokeThickness(): number
  • set xAxisMinorStrokeThickness(v: number): void
  • Gets or sets the thickness to apply to minor gridlines along the X-axis.

    Set xAxisMinorStrokeThickness to control the thickness of minor gridlines extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisMinorStroke="green"
        xAxisMinorStrokeThickness="3">
    </igx-category-chart>

    Returns number

  • Gets or sets the thickness to apply to minor gridlines along the X-axis.

    Set xAxisMinorStrokeThickness to control the thickness of minor gridlines extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisMinorStroke="green"
        xAxisMinorStrokeThickness="3">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisMode

  • The scaling mode of the X-axis.

    Use the xAxisMode property to plot data items without any breaks in data range (Ordinal mode) or with breaks in data range (Time mode) such as weekends/holidays. Note that the Ordinal axis mode is less expensive to use in the financial chart than the Time axis mode.

    <igx-financial-chart
        [dataSource]="data"
        xAxisMode="Time">
    </igx-financial-chart>

    Returns FinancialChartXAxisMode

  • The scaling mode of the X-axis.

    Use the xAxisMode property to plot data items without any breaks in data range (Ordinal mode) or with breaks in data range (Time mode) such as weekends/holidays. Note that the Ordinal axis mode is less expensive to use in the financial chart than the Time axis mode.

    <igx-financial-chart
        [dataSource]="data"
        xAxisMode="Time">
    </igx-financial-chart>

    Parameters

    Returns void

xAxisStrip

  • get xAxisStrip(): string
  • set xAxisStrip(v: string): void
  • Gets or sets the color to apply to stripes along the X-axis.

    Set xAxisStrip to control the alternating color of stripes extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisStrip="green">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to stripes along the X-axis.

    Set xAxisStrip to control the alternating color of stripes extending vertically from the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisStrip="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisStroke

  • get xAxisStroke(): string
  • set xAxisStroke(v: string): void
  • Gets or sets the color to apply to the X-axis line.

    Set xAxisStroke to control the color of the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisStroke="green">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to the X-axis line.

    Set xAxisStroke to control the color of the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisStroke="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisStrokeThickness

  • get xAxisStrokeThickness(): number
  • set xAxisStrokeThickness(v: number): void
  • Gets or sets the thickness to apply to the X-axis line.

    Set xAxisStrokeThickness to control the thickness of the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisStrokeThickness="3">
    </igx-category-chart>

    Returns number

  • Gets or sets the thickness to apply to the X-axis line.

    Set xAxisStrokeThickness to control the thickness of the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisStrokeThickness="3">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisTickLength

  • get xAxisTickLength(): number
  • set xAxisTickLength(v: number): void
  • Gets or sets the length of tickmarks along the X-axis.

    Set xAxisTickLength to control the length of tickmarks extending vertically from the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisTickLength="23">
    </igx-category-chart>

    Returns number

  • Gets or sets the length of tickmarks along the X-axis.

    Set xAxisTickLength to control the length of tickmarks extending vertically from the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisTickLength="23">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisTickStroke

  • get xAxisTickStroke(): string
  • set xAxisTickStroke(v: string): void
  • Gets or sets the color to apply to tickmarks along the X-axis.

    Set xAxisTickStroke to control the color of tickmarks extending vertically from the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisTickStroke="green">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to tickmarks along the X-axis.

    Set xAxisTickStroke to control the color of tickmarks extending vertically from the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisTickStroke="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisTickStrokeThickness

  • get xAxisTickStrokeThickness(): number
  • set xAxisTickStrokeThickness(v: number): void
  • Gets or sets the thickness to apply to tickmarks along the X-axis.

    Set xAxisTickStrokeThickness to control the thickness of tickmarks extending vertically from the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisTickStrokeThickness="10">
    </igx-category-chart>

    Returns number

  • Gets or sets the thickness to apply to tickmarks along the X-axis.

    Set xAxisTickStrokeThickness to control the thickness of tickmarks extending vertically from the x-axis line.

    <igx-category-chart
        [dataSource]="data"
        xAxisTickStrokeThickness="10">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisTitle

  • get xAxisTitle(): string
  • set xAxisTitle(v: string): void
  • Gets or sets the Text to display below the X-axis.

    Set xAxisTitle to display a label adjacent to the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis">
    </igx-category-chart>

    Returns string

  • Gets or sets the Text to display below the X-axis.

    Set xAxisTitle to display a label adjacent to the x-axis.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisTitleAlignment

  • Gets or sets Horizontal alignment of the X-axis title.

    Set xAxisTitleAlignment to control the horizontal alignment of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleAlignment="right">
    </igx-category-chart>

    Returns HorizontalAlignment

  • Gets or sets Horizontal alignment of the X-axis title.

    Set xAxisTitleAlignment to control the horizontal alignment of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleAlignment="right">
    </igx-category-chart>

    Parameters

    Returns void

xAxisTitleAngle

  • get xAxisTitleAngle(): number
  • set xAxisTitleAngle(v: number): void
  • Gets or sets the angle of rotation for the X-axis title.

    Set xAxisTitleAngle to control the rotation of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleAngle="45">
    </igx-category-chart>

    Returns number

  • Gets or sets the angle of rotation for the X-axis title.

    Set xAxisTitleAngle to control the rotation of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleAngle="45">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisTitleBottomMargin

  • get xAxisTitleBottomMargin(): number
  • set xAxisTitleBottomMargin(v: number): void
  • Gets or sets the bottom margin of a title on the X-axis

    Use the xAxisTitleBottomMargin property to apply a margin below the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleBottomMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the bottom margin of a title on the X-axis

    Use the xAxisTitleBottomMargin property to apply a margin below the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleBottomMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisTitleLeftMargin

  • get xAxisTitleLeftMargin(): number
  • set xAxisTitleLeftMargin(v: number): void
  • Gets or sets the left margin of a title on the X-axis

    Use the xAxisTitleLeftMargin property to apply a margin left of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleAlignment="left"
        xAxisTitleLeftMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the left margin of a title on the X-axis

    Use the xAxisTitleLeftMargin property to apply a margin left of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleAlignment="left"
        xAxisTitleLeftMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisTitleMargin

  • get xAxisTitleMargin(): number
  • set xAxisTitleMargin(v: number): void
  • Gets or sets the margin around a title on the X-axis

    Use the xAxisTitleMargin property to set a margin around the y-axis title.

    Returns number

  • Gets or sets the margin around a title on the X-axis

    Use the xAxisTitleMargin property to set a margin around the y-axis title.

    Parameters

    • v: number

    Returns void

xAxisTitleRightMargin

  • get xAxisTitleRightMargin(): number
  • set xAxisTitleRightMargin(v: number): void
  • Gets or sets the right margin of a title on the X-axis

    Use the xAxisTitleRightMargin property to apply a margin right of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleAlignment="right"
        xAxisTitleRightMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the right margin of a title on the X-axis

    Use the xAxisTitleRightMargin property to apply a margin right of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleAlignment="right"
        xAxisTitleRightMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

xAxisTitleTextColor

  • get xAxisTitleTextColor(): string
  • set xAxisTitleTextColor(v: string): void
  • Gets or sets color of title on the X-axis

    To change the color of the x-axis title, set the xAxisTitleTextColor property to a color string.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleTextColor="green">
    </igx-category-chart>

    Returns string

  • Gets or sets color of title on the X-axis

    To change the color of the x-axis title, set the xAxisTitleTextColor property to a color string.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleTextColor="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisTitleTextStyle

  • get xAxisTitleTextStyle(): string
  • set xAxisTitleTextStyle(v: string): void
  • Gets or sets CSS font property for title on X-axis

    To change the font of the x-axis title, set the xAxisTitleTextStyle property.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleTextStyle="italic 15px arial, sans-serif">
    </igx-category-chart>

    Returns string

  • Gets or sets CSS font property for title on X-axis

    To change the font of the x-axis title, set the xAxisTitleTextStyle property.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleTextStyle="italic 15px arial, sans-serif">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

xAxisTitleTopMargin

  • get xAxisTitleTopMargin(): number
  • set xAxisTitleTopMargin(v: number): void
  • Gets or sets the top margin of a title on the X-axis

    Use the xAxisTitleTopMargin property to apply a margin above the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleTopMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the top margin of a title on the X-axis

    Use the xAxisTitleTopMargin property to apply a margin above the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="x axis"
        xAxisTitleTopMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisAbbreviateLargeNumbers

  • get yAxisAbbreviateLargeNumbers(): boolean
  • set yAxisAbbreviateLargeNumbers(v: boolean): void
  • Gets or sets whether the large numbers on the Y-axis labels are abbreviated.

    Returns boolean

  • Gets or sets whether the large numbers on the Y-axis labels are abbreviated.

    Parameters

    • v: boolean

    Returns void

yAxisActualMaximum

  • get yAxisActualMaximum(): number
  • Gets the current maximum value for the Y-axis.

    Returns number

yAxisActualMinimum

  • get yAxisActualMinimum(): number
  • Gets the current minimum value for the Y-axis.

    Returns number

yAxisExtent

  • get yAxisExtent(): number
  • set yAxisExtent(v: number): void
  • Gets or sets the distance between the Y-axis and the left edge of the chart.

    To allocate space between the x-axis and the edge of the chart, set the xAxisExtent property.

    <igx-category-chart
        [dataSource]="data"
        xAxisExtent="250">
    </igx-category-chart>

    Returns number

  • Gets or sets the distance between the Y-axis and the left edge of the chart.

    To allocate space between the x-axis and the edge of the chart, set the xAxisExtent property.

    <igx-category-chart
        [dataSource]="data"
        xAxisExtent="250">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisFormatLabel

  • get yAxisFormatLabel(): function
  • set yAxisFormatLabel(v: function): void
  • Gets or sets function which takes a context object and returns a formatted label for the Y-axis.

    To customize the text of the y-axis label, set yAxisFormatLabel to a single-parameter function. The argument passed to that function will be the numeric value corresponding to a position on the y-axis.

    <igx-category-chart
        [dataSource]="data"
        [yAxisFormatLabel]="formatY">
    </igx-category-chart>
    formatY(value: any): string {
        return "[ " + value+ "! ]";
    }

    Returns function

      • (item: any): string
      • Parameters

        • item: any

        Returns string

  • Gets or sets function which takes a context object and returns a formatted label for the Y-axis.

    To customize the text of the y-axis label, set yAxisFormatLabel to a single-parameter function. The argument passed to that function will be the numeric value corresponding to a position on the y-axis.

    <igx-category-chart
        [dataSource]="data"
        [yAxisFormatLabel]="formatY">
    </igx-category-chart>
    formatY(value: any): string {
        return "[ " + value+ "! ]";
    }

    Parameters

    • v: function
        • (item: any): string
        • Parameters

          • item: any

          Returns string

    Returns void

yAxisInterval

  • get yAxisInterval(): number
  • set yAxisInterval(v: number): void
  • Gets or sets the distance between each label and grid line along the Y-axis.

    The yAxisInterval determines how often to show a label, tickmark, and/or gridline along the y-axis. Set this property to a number less than the numeric range of the y-axis.

    <igx-financial-chart
        [dataSource]="data"
        yAxisInterval="10">
    </igx-financial-chart>

    Returns number

  • Gets or sets the distance between each label and grid line along the Y-axis.

    The yAxisInterval determines how often to show a label, tickmark, and/or gridline along the y-axis. Set this property to a number less than the numeric range of the y-axis.

    <igx-financial-chart
        [dataSource]="data"
        yAxisInterval="10">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

yAxisInverted

  • get yAxisInverted(): boolean
  • set yAxisInverted(v: boolean): void
  • Gets or sets whether to invert the direction of the Y-axis by placing the minimum numeric value at the top of the chart.

    You can use yAxisInverted to invert the scale of the y axis like this:

    <igx-category-chart
        [dataSource]="data"
        yAxisInverted="true"
    >
    
    </igx-category-chart>

    The default value of yAxisInverted is false.

    Returns boolean

  • Gets or sets whether to invert the direction of the Y-axis by placing the minimum numeric value at the top of the chart.

    You can use yAxisInverted to invert the scale of the y axis like this:

    <igx-category-chart
        [dataSource]="data"
        yAxisInverted="true"
    >
    
    </igx-category-chart>

    The default value of yAxisInverted is false.

    Parameters

    • v: boolean

    Returns void

yAxisIsLogarithmic

  • get yAxisIsLogarithmic(): boolean
  • set yAxisIsLogarithmic(v: boolean): void
  • Gets or sets whether the Y-axis should use a logarithmic scale instead of a linear one. Since log(-1) is imaginary and log(0) is undefined, it is recommended to enable this property only when the Y-axis minimum is greater than zero.

    Returns boolean

  • Gets or sets whether the Y-axis should use a logarithmic scale instead of a linear one. Since log(-1) is imaginary and log(0) is undefined, it is recommended to enable this property only when the Y-axis minimum is greater than zero.

    Parameters

    • v: boolean

    Returns void

yAxisLabel

  • get yAxisLabel(): any
  • set yAxisLabel(v: any): void
  • Gets or sets the property or string from which the labels are derived.

    Returns any

  • Gets or sets the property or string from which the labels are derived.

    Parameters

    • v: any

    Returns void

yAxisLabelAngle

  • get yAxisLabelAngle(): number
  • set yAxisLabelAngle(v: number): void
  • Gets or sets the angle of rotation for labels along the Y-axis.

    To control the rotation of labels on the y-axis, set the yAxisLabelAngle property to a number of rotational degrees.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelAngle="45">
    </igx-category-chart>

    Returns number

  • Gets or sets the angle of rotation for labels along the Y-axis.

    To control the rotation of labels on the y-axis, set the yAxisLabelAngle property to a number of rotational degrees.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelAngle="45">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisLabelBottomMargin

  • get yAxisLabelBottomMargin(): number
  • set yAxisLabelBottomMargin(v: number): void
  • Gets or sets the bottom margin of labels on the Y-axis

    Use the yAxisLabelBottomMargin property to apply a margin below the y-axis labels.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelBottomMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the bottom margin of labels on the Y-axis

    Use the yAxisLabelBottomMargin property to apply a margin below the y-axis labels.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelBottomMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisLabelHorizontalAlignment

yAxisLabelLeftMargin

  • get yAxisLabelLeftMargin(): number
  • set yAxisLabelLeftMargin(v: number): void
  • Gets or sets the left margin of labels on the Y-axis

    Use the yAxisLabelLeftMargin property to apply a margin left of the y-axis labels.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelLeftMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the left margin of labels on the Y-axis

    Use the yAxisLabelLeftMargin property to apply a margin left of the y-axis labels.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelLeftMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisLabelLocation

yAxisLabelRightMargin

  • get yAxisLabelRightMargin(): number
  • set yAxisLabelRightMargin(v: number): void
  • Gets or sets the right margin of labels on the Y-axis

    Use the yAxisLabelRightMargin property to apply a margin right of the y-axis labels.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelRightMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the right margin of labels on the Y-axis

    Use the yAxisLabelRightMargin property to apply a margin right of the y-axis labels.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelRightMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisLabelTextColor

  • get yAxisLabelTextColor(): string
  • set yAxisLabelTextColor(v: string): void
  • Gets or sets color of labels on the Y-axis

    To change the color of y-axis labels, set the yAxisLabelTextColor property to a color string.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelTextColor="green">
    </igx-category-chart>

    Returns string

  • Gets or sets color of labels on the Y-axis

    To change the color of y-axis labels, set the yAxisLabelTextColor property to a color string.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelTextColor="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisLabelTextStyle

  • get yAxisLabelTextStyle(): string
  • set yAxisLabelTextStyle(v: string): void
  • Gets or sets CSS font property for labels on Y-axis

    To change the font of x-axis labels, set the yAxisLabelTextStyle property.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelTextStyle="italic 15px arial, sans-serif">
    </igx-category-chart>

    Returns string

  • Gets or sets CSS font property for labels on Y-axis

    To change the font of x-axis labels, set the yAxisLabelTextStyle property.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelTextStyle="italic 15px arial, sans-serif">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisLabelTopMargin

  • get yAxisLabelTopMargin(): number
  • set yAxisLabelTopMargin(v: number): void
  • Gets or sets the top margin of labels on the Y-axis

    Use the yAxisLabelTopMargin property to apply a margin above the y-axis labels.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelTopMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the top margin of labels on the Y-axis

    Use the yAxisLabelTopMargin property to apply a margin above the y-axis labels.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelTopMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisLabelVerticalAlignment

yAxisLabelVisibility

  • Gets or sets Visibility of Y-axis labels.

    To hide the y-axis labels, set yAxisLabelVisibility to collapsed.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelVisibility="collapsed">
    </igx-category-chart>

    Returns Visibility

  • Gets or sets Visibility of Y-axis labels.

    To hide the y-axis labels, set yAxisLabelVisibility to collapsed.

    <igx-category-chart
        [dataSource]="data"
        yAxisLabelVisibility="collapsed">
    </igx-category-chart>

    Parameters

    Returns void

yAxisLogarithmBase

  • get yAxisLogarithmBase(): number
  • set yAxisLogarithmBase(v: number): void
  • Gets or sets the base value to use in the log function when mapping the position of data items along the Y-axis. This property is effective only when YAxisIsLogarithmic is true.

    Returns number

  • Gets or sets the base value to use in the log function when mapping the position of data items along the Y-axis. This property is effective only when YAxisIsLogarithmic is true.

    Parameters

    • v: number

    Returns void

yAxisMajorStroke

  • get yAxisMajorStroke(): string
  • set yAxisMajorStroke(v: string): void
  • Gets or sets the color to apply to major gridlines along the Y-axis.

    Set yAxisMajorStroke to control the color of major gridlines extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisMajorStroke="green">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to major gridlines along the Y-axis.

    Set yAxisMajorStroke to control the color of major gridlines extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisMajorStroke="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisMajorStrokeThickness

  • get yAxisMajorStrokeThickness(): number
  • set yAxisMajorStrokeThickness(v: number): void
  • Gets or sets the thickness to apply to major gridlines along the Y-axis.

    Set yAxisMajorStrokeThickness to control the thickness of major gridlines extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisMajorStrokeThickness="3">
    </igx-category-chart>

    Returns number

  • Gets or sets the thickness to apply to major gridlines along the Y-axis.

    Set yAxisMajorStrokeThickness to control the thickness of major gridlines extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisMajorStrokeThickness="3">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisMaximumValue

  • get yAxisMaximumValue(): number
  • set yAxisMaximumValue(v: number): void
  • Gets or sets the data value corresponding to the maximum value of the Y-axis.

    The yAxisMaximumValue determines ending value of labels, tickmarks, and gridlines on the y-axis.

    <igx-financial-chart
        [dataSource]="data"
        yAxisMaximumValue="100">
    </igx-financial-chart>

    Returns number

  • Gets or sets the data value corresponding to the maximum value of the Y-axis.

    The yAxisMaximumValue determines ending value of labels, tickmarks, and gridlines on the y-axis.

    <igx-financial-chart
        [dataSource]="data"
        yAxisMaximumValue="100">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

yAxisMinimumValue

  • get yAxisMinimumValue(): number
  • set yAxisMinimumValue(v: number): void
  • Gets or sets the data value corresponding to the minimum value of the Y-axis.

    The yAxisMinimumValue determines starting value of labels, tickmarks, and gridlines on the y-axis.

    <igx-financial-chart
        [dataSource]="data"
        yAxisMinimumValue="10">
    </igx-financial-chart>

    Returns number

  • Gets or sets the data value corresponding to the minimum value of the Y-axis.

    The yAxisMinimumValue determines starting value of labels, tickmarks, and gridlines on the y-axis.

    <igx-financial-chart
        [dataSource]="data"
        yAxisMinimumValue="10">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

yAxisMinorInterval

  • get yAxisMinorInterval(): number
  • set yAxisMinorInterval(v: number): void
  • Gets or sets the frequency of displayed minor lines along the Y-axis.

    The yAxisMinorInterval determines how often to show minor gridline along the y-axis. Set this property to a number less than the yAxisInterval and the numeric range of the y-axis.

    <igx-financial-chart
        [dataSource]="data"
        yAxisMinorInterval="5">
    </igx-financial-chart>

    Returns number

  • Gets or sets the frequency of displayed minor lines along the Y-axis.

    The yAxisMinorInterval determines how often to show minor gridline along the y-axis. Set this property to a number less than the yAxisInterval and the numeric range of the y-axis.

    <igx-financial-chart
        [dataSource]="data"
        yAxisMinorInterval="5">
    </igx-financial-chart>

    Parameters

    • v: number

    Returns void

yAxisMinorStroke

  • get yAxisMinorStroke(): string
  • set yAxisMinorStroke(v: string): void
  • Gets or sets the color to apply to minor gridlines along the Y-axis.

    Set yAxisMinorStroke to control the color of minor gridlines extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisMinorStroke="green"
        yAxisMinorStrokeThickness="1">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to minor gridlines along the Y-axis.

    Set yAxisMinorStroke to control the color of minor gridlines extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisMinorStroke="green"
        yAxisMinorStrokeThickness="1">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisMinorStrokeThickness

  • get yAxisMinorStrokeThickness(): number
  • set yAxisMinorStrokeThickness(v: number): void
  • Gets or sets the thickness to apply to minor gridlines along the Y-axis.

    Set yAxisMinorStrokeThickness to control the thickness of minor gridlines extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisMinorStroke="green"
        yAxisMinorStrokeThickness="3">
    </igx-category-chart>

    Returns number

  • Gets or sets the thickness to apply to minor gridlines along the Y-axis.

    Set yAxisMinorStrokeThickness to control the thickness of minor gridlines extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisMinorStroke="green"
        yAxisMinorStrokeThickness="3">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisMode

  • The scaling mode of the Y-axis.

    Use the yAxisMode property to plot data items using their actual values (Numeric) or using percent changes from the first data point (PercentChange), e.g.

    <igx-financial-chart
        [dataSource]="data"
        yAxisMode="PercentChange">
    </igx-financial-chart>

    Returns FinancialChartYAxisMode

  • The scaling mode of the Y-axis.

    Use the yAxisMode property to plot data items using their actual values (Numeric) or using percent changes from the first data point (PercentChange), e.g.

    <igx-financial-chart
        [dataSource]="data"
        yAxisMode="PercentChange">
    </igx-financial-chart>

    Parameters

    Returns void

yAxisStrip

  • get yAxisStrip(): string
  • set yAxisStrip(v: string): void
  • Gets or sets the color to apply to stripes along the Y-axis.

    Set yAxisStrip to control the alternating color of stripes extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisStrip="green">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to stripes along the Y-axis.

    Set yAxisStrip to control the alternating color of stripes extending horizontally from the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisStrip="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisStroke

  • get yAxisStroke(): string
  • set yAxisStroke(v: string): void
  • Gets or sets the color to apply to the Y-axis line.

    Set yAxisStroke to control the color of the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisStroke="green">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to the Y-axis line.

    Set yAxisStroke to control the color of the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisStroke="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisStrokeThickness

  • get yAxisStrokeThickness(): number
  • set yAxisStrokeThickness(v: number): void
  • Gets or sets the thickness to apply to the Y-axis line.

    Set yAxisStrokeThickness to control the thickness of the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisStroke="green"
        yAxisStrokeThickness="3">
    </igx-category-chart>

    Returns number

  • Gets or sets the thickness to apply to the Y-axis line.

    Set yAxisStrokeThickness to control the thickness of the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisStroke="green"
        yAxisStrokeThickness="3">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisTickLength

  • get yAxisTickLength(): number
  • set yAxisTickLength(v: number): void
  • Gets or sets the length of tickmarks along the Y-axis.

    Set yAxisTickLength to control the length of tickmarks extending horizontally from the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisTickLength="23">
    </igx-category-chart>

    Returns number

  • Gets or sets the length of tickmarks along the Y-axis.

    Set yAxisTickLength to control the length of tickmarks extending horizontally from the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisTickLength="23">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisTickStroke

  • get yAxisTickStroke(): string
  • set yAxisTickStroke(v: string): void
  • Gets or sets the color to apply to tickmarks along the Y-axis.

    Set yAxisTickStroke to control the color of tickmarks extending horizontally from the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisTickLength="5"
        yAxisTickStroke="green">
    </igx-category-chart>

    Returns string

  • Gets or sets the color to apply to tickmarks along the Y-axis.

    Set yAxisTickStroke to control the color of tickmarks extending horizontally from the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisTickLength="5"
        yAxisTickStroke="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisTickStrokeThickness

  • get yAxisTickStrokeThickness(): number
  • set yAxisTickStrokeThickness(v: number): void
  • Gets or sets the thickness to apply to tickmarks along the Y-axis.

    Set yAxisTickStrokeThickness to control the thickness of tickmarks extending vertically from the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisTickLength="5"
        yAxisTickStrokeThickness="10">
    </igx-category-chart>

    Returns number

  • Gets or sets the thickness to apply to tickmarks along the Y-axis.

    Set yAxisTickStrokeThickness to control the thickness of tickmarks extending vertically from the y-axis line.

    <igx-category-chart
        [dataSource]="data"
        yAxisTickLength="5"
        yAxisTickStrokeThickness="10">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisTitle

  • get yAxisTitle(): string
  • set yAxisTitle(v: string): void
  • Gets or sets the Text to display to the left of the Y-axis.

    Set yAxisTitle to display a label adjacent to the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis">
    </igx-category-chart>

    Returns string

  • Gets or sets the Text to display to the left of the Y-axis.

    Set yAxisTitle to display a label adjacent to the y-axis.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisTitleAlignment

  • Gets or sets Vertical alignment of the Y-axis title.

    Set yAxisTitleAlignment to control the vertical alignment of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleAlignment="bottom">
    </igx-category-chart>

    Returns VerticalAlignment

  • Gets or sets Vertical alignment of the Y-axis title.

    Set yAxisTitleAlignment to control the vertical alignment of the x-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleAlignment="bottom">
    </igx-category-chart>

    Parameters

    Returns void

yAxisTitleAngle

  • get yAxisTitleAngle(): number
  • set yAxisTitleAngle(v: number): void
  • Gets or sets the angle of rotation for the Y-axis title.

    Set yAxisTitleAngle to control the rotation of the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleAngle="45">
    </igx-category-chart>

    Returns number

  • Gets or sets the angle of rotation for the Y-axis title.

    Set yAxisTitleAngle to control the rotation of the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleAngle="45">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisTitleBottomMargin

  • get yAxisTitleBottomMargin(): number
  • set yAxisTitleBottomMargin(v: number): void
  • Gets or sets the bottom margin of a title on the Y-axis

    Use the yAxisTitleBottomMargin property to apply a margin below the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleAlignment="bottom"
        yAxisTitleBottomMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the bottom margin of a title on the Y-axis

    Use the yAxisTitleBottomMargin property to apply a margin below the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleAlignment="bottom"
        yAxisTitleBottomMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisTitleLeftMargin

  • get yAxisTitleLeftMargin(): number
  • set yAxisTitleLeftMargin(v: number): void
  • Gets or sets the left margin of a title on the Y-axis

    Use the yAxisTitleLeftMargin property to apply a margin left of the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleLeftMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the left margin of a title on the Y-axis

    Use the yAxisTitleLeftMargin property to apply a margin left of the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleLeftMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisTitleMargin

  • get yAxisTitleMargin(): number
  • set yAxisTitleMargin(v: number): void
  • Gets or sets the margin around a title on the Y-axis

    Use the yAxisTitleMargin property to set a margin around the y-axis title.

    Returns number

  • Gets or sets the margin around a title on the Y-axis

    Use the yAxisTitleMargin property to set a margin around the y-axis title.

    Parameters

    • v: number

    Returns void

yAxisTitleRightMargin

  • get yAxisTitleRightMargin(): number
  • set yAxisTitleRightMargin(v: number): void
  • Gets or sets the right margin of a title on the Y-axis

    Use the yAxisTitleRightMargin property to apply a margin right of the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleRightMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the right margin of a title on the Y-axis

    Use the yAxisTitleRightMargin property to apply a margin right of the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleRightMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

yAxisTitleTextColor

  • get yAxisTitleTextColor(): string
  • set yAxisTitleTextColor(v: string): void
  • Gets or sets color of title on the Y-axis

    To change the color of the y-axis title, set the yAxisTitleTextColor property to a color string.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleTextColor="green">
    </igx-category-chart>

    Returns string

  • Gets or sets color of title on the Y-axis

    To change the color of the y-axis title, set the yAxisTitleTextColor property to a color string.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleTextColor="green">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisTitleTextStyle

  • get yAxisTitleTextStyle(): string
  • set yAxisTitleTextStyle(v: string): void
  • Gets or sets CSS font property for title on Y-axis

    To change the font of the x-axis title, set the yAxisTitleTextStyle property.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="y axis"
        yAxisTitleTextStyle="italic 15px arial, sans-serif">
    </igx-category-chart>

    Returns string

  • Gets or sets CSS font property for title on Y-axis

    To change the font of the x-axis title, set the yAxisTitleTextStyle property.

    <igx-category-chart
        [dataSource]="data"
        xAxisTitle="y axis"
        yAxisTitleTextStyle="italic 15px arial, sans-serif">
    </igx-category-chart>

    Parameters

    • v: string

    Returns void

yAxisTitleTopMargin

  • get yAxisTitleTopMargin(): number
  • set yAxisTitleTopMargin(v: number): void
  • Gets or sets the top margin of a title on the Y-axis

    Use the yAxisTitleTopMargin property to apply a margin above the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleAlignment="top"
        yAxisTitleTopMargin="100">
    </igx-category-chart>

    Returns number

  • Gets or sets the top margin of a title on the Y-axis

    Use the yAxisTitleTopMargin property to apply a margin above the y-axis title.

    <igx-category-chart
        [dataSource]="data"
        yAxisTitle="y axis"
        yAxisTitleAlignment="top"
        yAxisTitleTopMargin="100">
    </igx-category-chart>

    Parameters

    • v: number

    Returns void

zoomSliderType

  • Gets or sets type of series to display in the zoom slider pane.

    Use the zoomSliderType property to set a type of all series that will be rendered in the zoom pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        zoomSliderType="Candle">
    </igx-financial-chart>

    Returns FinancialChartZoomSliderType

  • Gets or sets type of series to display in the zoom slider pane.

    Use the zoomSliderType property to set a type of all series that will be rendered in the zoom pane, e.g.

    <igx-financial-chart
        [dataSource]="data"
        zoomSliderType="Candle">
    </igx-financial-chart>

    Parameters

    Returns void

zoomSliderXAxisMajorStroke

  • get zoomSliderXAxisMajorStroke(): string
  • set zoomSliderXAxisMajorStroke(v: string): void
  • Gets or sets stroke brush of major gridlines on x-axis of the zoom slider pane

    Returns string

  • Gets or sets stroke brush of major gridlines on x-axis of the zoom slider pane

    Parameters

    • v: string

    Returns void

zoomSliderXAxisMajorStrokeThickness

  • get zoomSliderXAxisMajorStrokeThickness(): number
  • set zoomSliderXAxisMajorStrokeThickness(v: number): void
  • Gets or sets thickness of major gridlines on x-axis of the zoom slider pane

    Returns number

  • Gets or sets thickness of major gridlines on x-axis of the zoom slider pane

    Parameters

    • v: number

    Returns void

Methods

bindCalloutsData

  • bindCalloutsData(): void

bindData

  • bindData(): void
  • Returns void

destroy

  • destroy(): void
  • Destroy this control

    Use the destroy property to destroy the chart.

    this.chart.destroy();

    Returns void

exportSerializedVisualData

  • exportSerializedVisualData(): string
  • Returns visuals as a serialized string.

    Returns string

flush

  • flush(): void
  • Forces any pending refresh to the chart to be finished.

    Method flush used to Forces any pending deferred work to render on the chart before continuing.

    this.chart.flush();

    Returns void

getScaledValueX

  • getScaledValueX(unscaledValue: number): number
  • Converts the given visual location to a data value.

    Parameters

    • unscaledValue: number
      • The x-coordinate of the location to scale.

    Returns number

getScaledValueY

  • getScaledValueY(unscaledValue: number): number
  • Converts the given visual location to a data value.

    Parameters

    • unscaledValue: number
      • The y-coordinate of the location to scale.

    Returns number

getUnscaledValueX

  • getUnscaledValueX(scaledValue: number): number
  • Converts the given data value to a visual location.

    Parameters

    • scaledValue: number
      • The data value to un-scale.

    Returns number

getUnscaledValueY

  • getUnscaledValueY(scaledValue: number): number
  • Converts the given data value to a visual location.

    Parameters

    • scaledValue: number
      • The data value to un-scale.

    Returns number

hideToolTip

  • hideToolTip(): void
  • Hides the active main tooltip, if displayed.

    Use the hideToolTip method to hide the active tooltip.

    this.chart.hideToolTip();

    Returns void

ngAfterViewInit

  • ngAfterViewInit(): void
  • Returns void

ngOnDestroy

  • ngOnDestroy(): void
  • Returns void

ngOnInit

  • ngOnInit(): void

notifyClearItems

  • notifyClearItems(source_: any): void

notifyInsertItem

  • notifyInsertItem(source_: any, index: number, newItem: any): void

notifyRemoveItem

  • notifyRemoveItem(source_: any, index: number, oldItem: any): void

notifyResized

  • notifyResized(): void
  • Called when the control has been resized.

    notifyResized method Called when the control has been resized.

    this.chart.notifyResized();

    Returns void

notifySetItem

  • notifySetItem(source_: any, index: number, oldItem: any, newItem: any): void
  • Parameters

    • source_: any
    • index: number
    • oldItem: any
    • newItem: any

    Returns void

notifyVisualPropertiesChanged

  • notifyVisualPropertiesChanged(): void

provideContainer

  • provideContainer(container: any): void
  • Called by the UI framework to provide a UI container for rendering this control.

    Parameters

    • container: any
      • The UI container element.

    Returns void