Class IgxDomainChartComponent

Hierarchy

Implements

  • OnInit

Constructors

constructor

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
  • Gets or sets whether the series animations should be allowed when a range change has been detected on an axis.

    Returns boolean

  • Gets or sets whether the series animations should be allowed when a range change has been detected on an axis.

    Parameters

    • v: boolean

    Returns void

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>
  • Occurs when the style of a callout is updated.

    Returns EventEmitter<object>

calloutStyleUpdatingEventEnabled

  • get calloutStyleUpdatingEventEnabled(): boolean
  • set calloutStyleUpdatingEventEnabled(v: boolean): void
  • Gets or sets if event annotations should be displayed.

    Returns boolean

  • Gets or sets if event annotations should be displayed.

    Parameters

    • v: boolean

    Returns void

calloutsContentMemberPath

  • get calloutsContentMemberPath(): string
  • set calloutsContentMemberPath(v: string): void
  • Gets or sets the member path of the content data for the callouts.

    Returns string

  • Gets or sets the member path of the content data for the callouts.

    Parameters

    • v: string

    Returns void

calloutsDataSource

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

  • Parameters

    • value: Array<any>

    Returns void

calloutsLabelMemberPath

  • get calloutsLabelMemberPath(): string
  • set calloutsLabelMemberPath(v: string): void
  • Gets or sets the member path of the label data for the callouts.

    Returns string

  • Gets or sets the member path of the label data for the callouts.

    Parameters

    • v: string

    Returns void

calloutsVisible

  • get calloutsVisible(): boolean
  • set calloutsVisible(v: boolean): void
  • Gets or sets if callouts should be displayed.

    Returns boolean

  • Gets or sets if callouts should be displayed.

    Parameters

    • v: boolean

    Returns void

calloutsXMemberPath

  • get calloutsXMemberPath(): string
  • set calloutsXMemberPath(v: string): void
  • Gets or sets the member path of the X data for the callouts.

    Returns string

  • Gets or sets the member path of the X data for the callouts.

    Parameters

    • v: string

    Returns void

calloutsYMemberPath

  • get calloutsYMemberPath(): string
  • set calloutsYMemberPath(v: string): void
  • Gets or sets the member path of the Y data for the callouts.

    Returns string

  • Gets or sets the member path of the Y data for the callouts.

    Parameters

    • v: string

    Returns 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

crosshairsAnnotationEnabled

  • get crosshairsAnnotationEnabled(): boolean
  • set crosshairsAnnotationEnabled(v: boolean): void
  • Gets or sets whether annotations are shown along the axis for crosshair values

    Returns boolean

  • Gets or sets whether annotations are shown along the axis for crosshair values

    Parameters

    • v: boolean

    Returns void

crosshairsDisplayMode

  • Gets or sets the crosshairs to be displayed.

    Returns CrosshairsDisplayMode

  • Gets or sets the crosshairs to be displayed.

    Parameters

    Returns void

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

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
  • Gets or sets whether annotations for the final value of each series is displayed on the axis.

    Returns boolean

  • Gets or sets whether annotations for the final value of each series is displayed on the axis.

    Parameters

    • v: boolean

    Returns void

i

  • get i(): DomainChart
  • Returns DomainChart

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

isHorizontalZoomEnabled

  • get isHorizontalZoomEnabled(): boolean
  • set isHorizontalZoomEnabled(v: boolean): void
  • Gets or sets whether the chart can be horizontally zoomed through user interactions.

    Use the isHorizontalZoomEnabled property to allow chart horizontally zoomed .

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

    Returns boolean

  • Gets or sets whether the chart can be horizontally zoomed through user interactions.

    Use the isHorizontalZoomEnabled property to allow chart horizontally zoomed .

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

    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

isVerticalZoomEnabled

  • get isVerticalZoomEnabled(): boolean
  • set isVerticalZoomEnabled(v: boolean): void
  • Gets or sets whether the chart can be vertically zoomed through user interactions.

    Use the isVerticalZoomEnabled property to allow chart zoom vertically.

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

    Returns boolean

  • Gets or sets whether the chart can be vertically zoomed through user interactions.

    Use the isVerticalZoomEnabled property to allow chart zoom vertically.

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

    Parameters

    • v: boolean

    Returns void

leftMargin

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

    Use the 'leftMargin' property for the left margin of the chart content.

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

    Returns number

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

    Use the 'leftMargin' property for the left margin of the chart content.

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

    Parameters

    • v: number

    Returns void

legend

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

  • Parameters

    • v: any

    Returns 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

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

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

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.

    Use the resolution property for all series in this chart.

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

    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.

    Use the resolution property for all series in this chart.

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

    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

  • Gets or sets the style of tooltip to be displayed.

    Returns ToolTipType

  • Gets or sets the style of tooltip to be displayed.

    Parameters

    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
  • Returns number

  • Parameters

    • v: number

    Returns 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

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

Methods

bindCalloutsData

  • bindCalloutsData(): void
  • Returns void

destroy

  • destroy(): void
  • Destroy this control

    Use the destroy property to destroy the chart.

    this.chart.destroy();

    Returns void

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

hideToolTip

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

    Use the hideToolTip method to hide the active tooltip.

    this.chart.hideToolTip();

    Returns void

ngOnInit

  • ngOnInit(): void
  • Returns void

notifyClearItems

  • notifyClearItems(source_: any): void
  • Used to manually notify the chart that the data source has reset or cleared its items.

    Use notifyClearItems method to notifies the chart that the items have been cleared from an associated data source.

    this.chart.notifyClearItems(this.data);

    Parameters

    • source_: any

    Returns void

notifyInsertItem

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

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

    Returns void

notifyRemoveItem

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

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

    Returns 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
  • Returns void

provideContainer

  • provideContainer(container: any): void
  • Provides a container for this control

    provideContainer method provide container for the control.

        this.chart.provideContainer("Container");

    Parameters

    • container: any

    Returns void