Static
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ngStatic
ɵcmpStatic
ɵfacGets the actual palette of brushes to use for coloring the chart series.
Gets the actual palette of brushes to use for outlines on the chart series.
Gets the actual color of labels on the X-axis
Gets the actual color of labels on the Y-axis
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;
Gets or sets whether the series animations should be allowed when a range change has been detected on an axis.
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.
Gets or sets the fill opacity for all series that have area visuals in this chart. For example, Area, SplineArea, Column chart types
Gets or sets if the auto value callouts should be displayed.
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;
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"];
Occurs when the style of a callout is updated.
Occurs when the style of a callout is updated.
Gets or sets if event annotations should be displayed.
Gets or sets the allowed positions that the callout layer is allowed to use.
Gets or sets the member path of the content data for the callouts.
Gets or sets the member path of the label data for the callouts.
Gets or sets if callouts should be displayed.
Gets or sets the member path of the X data for the callouts.
Gets or sets the member path of the Y data for the callouts.
Gets or sets text to display above the plot area.
Use the Title
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";
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>
Gets or sets mode to use for automatically calculating the plot area margin.
Gets or sets whether annotations are shown along the axis for crosshair values
Gets or sets the background of crosshair annotation on x-axis.
Gets or sets precision on interpolated values of crosshairs on x-axis.
Gets or sets the text color of crosshair annotation on x-axis.
Gets or sets the background of crosshair annotation on y-axis.
Gets or sets precision on interpolated values of crosshairs on y-axis.
Gets or sets the text color of crosshair annotation on y-axis.
Gets or sets the crosshairs to be displayed.
Gets or sets the color to apply to horizontal crosshairs line.
Gets or sets thickness of crosshairs lines.
Gets or sets the color to apply to vertical crosshairs line.
Gets or sets whether crosshairs will snap to the nearest data point.
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.
Gets or sets the BadgeShape for the data legend.
Gets or sets the offset of the tooltip layer on the X axis.
Gets or sets the offset of the tooltip layer on the Y axis.
Gets or sets names of data columns or their labels to exclude from displaying in the data legend, e.g. "High, Low" or "H, L" The ExcludedColumns property takes precedences over values of IncludedColumns property
Gets or sets indexes or names of series to exclude from displaying in the data legend, e.g. "0, 1" The ExcludedSeries property takes precedences over values of IncludedSeries property
Gets or sets the tooltip position mode on the X axis for grouped series.
Gets or sets the tooltip position mode on the Y axis for grouped series.
Gets or sets globalization culture when displaying header as date time This property is ignored when setting HeaderFormatSpecifiers or HeaderFormatString properties
Gets or sets date format for the header This property is ignored when setting HeaderFormatSpecifiers or HeaderFormatString properties
Gets or sets the format specifiers to use with the HeaderFormatString string.
Gets or sets the format string for header text displayed in the data legend.
Gets or sets time format for the header This property is ignored when setting HeaderFormatSpecifiers or HeaderFormatString properties
Gets or sets whether to show Header row.
Gets or sets the HeaderText for the data legend.
Gets or sets the header text color.
Gets or Sets the style to use for the header text.
Gets or sets names of data columns or their labels to include in displaying in the data legend, e.g. "High, Low" or "H, L" The ExcludedColumns property takes precedences over values of IncludedColumns property
Gets or sets indexes or names of series to include in displaying in the data legend, e.g. "0, 1"
Gets or sets the mode for displaying labels before series values in the data legend, e.g. O: H: L: C: for financial series
Gets or sets the units text color.
Gets or Sets the style to use for the units text.
Gets or sets the offset of the tooltip layer on the X axis.
Gets or sets the offset of the tooltip layer on the Y axis.
Gets or sets whether the data legend should update when the series data is mutated.
Gets or sets the units text for the data legend.
Gets or sets the units text color.
Gets or Sets the style to use for the units text.
Gets or sets the SummaryTitleText for the data legend.
Gets or sets the summary text color.
Gets or Sets the style to use for the summary text.
Gets or sets the SummaryType for the data legend.
Gets or sets the units text for the data legend.
Gets or sets the units text color.
Gets or Sets the style to use for the units text.
Gets or sets the units text color.
Gets or Sets the style to use for the units text.
Gets or sets the display text color.
Gets or Sets the style to use for the display text.
Gets or sets the UnitsMode for the data legend.
Gets or sets the units text for the data legend.
Gets or sets the units text color.
Gets or Sets the style to use for the units text.
Gets or sets mode for abbreviating large numbers displayed in the legend This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
Gets or sets globalization culture when displaying values as currencies, e.g. use "en-GB" to display British pound symbol when the ValueFormatMode property is set to 'Currency' mode This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
Gets or sets maximum digits for formating numbers displayed in the legend This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
Gets or sets minimum digits for formating numbers displayed in the legend This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
Gets or sets the mode for displaying values in the data legend, e.g. Currency ($500.25), Decimal (500.25), Integer (500)
Gets or sets the format specifiers to use with the ValueFormatString string.
Gets or sets the format string for values displayed in the data legend.
Gets or sets whether or not use grouping separator, e.g, 15,000 for 15000 This property is ignored when setting ValueFormatSpecifiers or ValueFormatString properties
Gets or sets whether to show series rows.
Gets or sets the units text color.
Gets or Sets the style to use for the units text.
Gets or sets whether to use series colors when displaying values in the legend
Gets or sets text displayed when data column is missing a value, e.g. "no data"
Gets domain type of this chart
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"];
Gets the current filter that is applied to the grid. Collection can be updated to modify the filter for the grid. Once filter expresisons are in this collection, the grid will no longer listen for changes on their properties.
Gets or sets the background of final value annotation.
Gets or sets precision on final value annotation.
Gets or sets the text color of final value annotation.
Gets or sets whether annotations for the final value of each series is displayed on the axis.
Gets the current grouping that is applied to the grid. Collection can be updated to modify the grouping for the grid. Once grouping descriptions are in this collection, the grid will no longer listen for changes on their properties.
Gets or sets the sorts to apply after grouping has been applied.
Gets or sets the highlighting Behavior to use for the series in the component, when supported. This takes precedence over the series level IsHightlightingEnabled.
Gets or sets the highlighting mode to use for the series in the component, when supported. This takes precedence over the series level IsHightlightingEnabled.
Gets or sets the corner radius to use for the horizontal scrollbar in the component, when enabled.
Gets or sets the fill to use for the horizontal scrollbar in the component, when enabled.
Gets or sets the height to use for the horizontal scrollbar in the component, when enabled.
Gets or sets the inset distance to use for the horizontal scrollbar in the component, when enabled.
Gets or sets the max opacity to use for the horizontal scrollbar in the component, when enabled.
Gets or sets the horizontal scrollbar mode to use for the series viewer.
Gets or sets the outline to use for the horizontal scrollbar in the component, when enabled.
Gets or sets the position to use for the horizontal scrollbar in the component, when enabled.
Gets or sets whether to use automatic track insets for the horizontal scrollbar in the component, when enabled.
Gets or sets the stroke thickness to use for the horizontal scrollbar in the component, when enabled.
Gets or sets the track end inset to use for the horizontal scrollbar in the component, when enabled.
Gets or sets the track start inset to use for the horizontal scrollbar in the component, when enabled.
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"];
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>
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>
The long period of financial indicators, where applicable.
The IndicatorLongPeriod
property applies only to these indicator types:
<igx-financial-chart
[dataSource]="data"
indicatorTypes="ChaikinOscillator"
indicatorLongPeriod="8">
</igx-financial-chart>
The multiplier of financial indicators, e.g. BollingerBandWidth indicator.
The IndicatorMultiplier
property applies to only to BollingerBandWidth indicator type.
<igx-financial-chart
[dataSource]="data"
indicatorTypes="BollingerBandWidth"
indicatorMultiplier="8">
</igx-financial-chart>
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>
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
, PriceChannelOverlay
, RateOfChangeAndMomentum
, RelativeStrengthIndex
, SlowStochasticOscillator
, StandardDeviation
, StochRSI
, TRIX
, WilliamsPercentR
<igx-financial-chart
[dataSource]="data"
indicatorTypes="AverageTrueRange"
indicatorPeriod="8">
</igx-financial-chart>
The short period of financial indicators, where applicable.
The IndicatorShortPeriod
property applies only to these indicator types:
<igx-financial-chart
[dataSource]="data"
indicatorTypes="ChaikinOscillator"
indicatorShortPeriod="8">
</igx-financial-chart>
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>
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>
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>
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>
Gets the initial groupings that are applied to the chart.
Gets the initial sorts that are applied to the chart after groupings and summaries are applied.
Gets or sets the groupings to apply to the chart. This property will become ignored if sorts are changed outside of this property.
Gets the initial sorts that are applied to the chart.
Gets or sets the sorts to apply to the chart. This property will become ignored if sorts are changed outside of this property.
Gets or sets the summaries to apply to the chart. This property will become ignored if sorts are changed outside of this property.
Gets the initial summaries that are applied to the chart.
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;
Gets or sets weather or not a legend is visible between toolbar and chart's plot area
Gets or sets whether the chart can highlight series through user interactions. This property applies to Category Chart and Financial Chart controls.
A boolean property controlling the visibility of the toolbar.
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;
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.
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;
Gets or sets the highlighting mode to use for the legend linked to the component, when supported.
Gets or sets the mode of legend badges representing all series displayed in a legend linked to this component. This property will be ignored when the LegendItemTemplate or LegendItemBadgeTemplate property is set on a series
Gets or sets the type of legend badges representing all series displayed in a legend linked to this component This property will be ignored when the LegendItemTemplate or LegendItemBadgeTemplate property is set on a series
Gets or sets the default marker type for all series plotted in this chart. This property is ignored when the MarkerTypes property is set
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" ];
Gets or sets the MarkerFillMode for all series that support markers in this chart.
Gets or sets the Marker Fill Opacity for all series that support markers in this chart.
Gets or sets the maximum number of markers displayed 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 ;
Gets or sets the MarkerOutlineMode for all series that support markers in this chart.
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"] ;
Gets or sets the Marker Thickness for all series that support markers in this chart.
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
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>
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>
Gets or sets the OutlineMode for all series in this chart.
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>
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>
The multiplier of financial overlay, e.g. BollingerBands overlay.
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>
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>
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>
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.
Margin applied below the plot area.
Margin applied to the Left of the plot area.
Margin applied to the right of the plot area.
Margin applied to the Top of the plot area.
A FinancialChartRangeSelectorOptionCollection containing the available range selector options on the toolbar.
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.
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 ;
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>
Gets or sets horizontal mode to use for automatically calculating the plot area margin based ont the series.
Gets or sets vertical mode to use for automatically calculating the plot area margin based ont the series.
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>
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)
{
}
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)
{
}
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)
{
}
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>
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)
{
}
Gets or sets whether annotations for the final value of each series is displayed on the axis.
Gets or sets whether the chart should display mock data when the data source has not been provided, if supported for this type of chart.
Gets or sets a whether the chart should pan its content when zooing in passed max zoom level.
Gets or sets whether the chart should use a faded skeleton style for mock data.
Gets the current sort that is applied to the grid. Collection can be updated to modify the sort for the grid. Once sort descriptions are in this collection, the grid will no longer listen for changes on their properties.
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" ;
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;
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 ;
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 ;
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 ;
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" ;
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";
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;
Gets the current summaries that are applied to the grid.
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>
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;
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;
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;
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;
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" ;
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.xAxisTitleTextStyle = "24pt Verdona";
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;
Gets or sets the style of tooltip to be displayed.
Sets or gets the template reference to use for tooltips for all the series.
Sets or gets the template references to use for tooltips for all the series, in order.
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;
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.transitionDuratio= 500;
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;
}
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;
}
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"] ;
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;
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;
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;
Gets or sets what value lines to use in the chart.
Gets or sets the palette of brushes to use for coloring the value lines present in the ValueLines property. 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
Gets or sets thickness of value lines.
Gets or sets the corner radius to use for the vertical scrollbar in the component, when enabled.
Gets or sets the fill to use for the vertical scrollbar in the component, when enabled.
Gets or sets the inset distance to use for the vertical scrollbar in the component, when enabled.
Gets or sets the max opacity to use for the vertical scrollbar in the component, when enabled.
Gets or sets the vertical scrollbar mode to use for the series viewer.
Gets or sets the outline to use for the vertical scrollbar in the component, when enabled.
Gets or sets the position to use for the vertical scrollbar in the component, when enabled.
Gets or sets whether to use automatic track insets for the vertical scrollbar in the component, when enabled.
Gets or sets the stroke thickness to use for the vertical scrollbar in the component, when enabled.
Gets or sets the track end inset to use for the vertical scrollbar in the component, when enabled.
Gets or sets the track start inset to use for the vertical scrollbar in the component, when enabled.
Gets or sets the width to use for the vertical scrollbar in the component, when enabled.
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>
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>
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>
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>
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];
Sets or gets the minimum height that the window rect is allowed to reach before being clamped. Decrease this value if you want to allow for further zooming into the viewer. If this value is lowered too much it can cause graphical corruption due to floating point arithmetic inaccuracy. This property accepts values between 0.0 (max zooming) and 1.0 (no zooming)
Sets or gets the minimum width that the window rect is allowed to reach before being clamped. Decrease this value if you want to allow for further zooming into the viewer. If this value is lowered too much it can cause graphical corruption due to floating point arithmetic inaccuracy. This property accepts values between 0.0 (max zooming) and 1.0 (no zooming)
Sets or gets minimum pixel height that the window is allowed to reach before being clamped. Decrease this value if you want to allow for further zooming into the viewer. If this value is lowered too much it can cause graphical corruption due to floating point arithmetic inaccuracy. This property is overridden by the WindowRectMinHeight property
Sets or gets minimum pixel width that the window is allowed to reach before being clamped. Decrease this value if you want to allow for further zooming into the viewer. If this value is lowered too much it can cause graphical corruption due to floating point arithmetic inaccuracy. This property is overridden by the WindowRectMinWidth property
TimeAxisBreaks to apply to this chart when in time axis mode, representing spans of time to omit, such as weekends.
Gets or sets whether the x axis enhanced interval management should prefer to show all the labels if possible without collisions for supported types of category axes. This is for use with EnhancedIntervalMinimumCharacters = -1 and axes that have an integral interval.
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>
this.chart.xAxisExtent="250";
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 + "! ]";
}
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 + "! ]";
}
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>
this.chart.XAxisInverted="True";
Gets or sets the format for labels along the X-axis.
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>
this.chart.xAxisLabelAngle="45";
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>
this.chart.xAxisLabelBottomMargin ="100";
Gets or sets the format string for the X axis label.
Gets or sets the format specifiers to use with the XAxisLabelFormat string.
Gets or sets Horizontal alignment of X-axis labels.
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>
this.chart.xAxisLabelLeftMargin ="100";
Gets or sets location of X-axis labels, relative to the plot area.
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>
this.chart.xAxisLabelRightMargin="100";
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>
this.chart.xAxisLabelTextColor="green";
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>
this.chart.xAxisLabelTextStyle="italic 15px arial, sans-serif";
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>
this.chart.xAxisTitleTopMargin="250";
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>
this.chart.xAxisLabelVerticalAlignment="bottom";
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>
this.chart.xAxisLabelVisibility="collapsed";
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>
this.chart.xAxisMajorStroke="green";
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>
this.chart.xAxisMajorStrokeThickness="3" ;
Gets or sets maximum value on x-axis
Gets or sets minimum value on x-axis
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>
this.chart.xAxisExtent="250";
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>
this.chart.xAxisMinorStrokeThickness="3";
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>
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>
this.chart.xAxisStrip="green";
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>
this.chart.xAxisStroke="green"";
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>
this.chart.xAxisStrokeThickness="2";
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>
this.chart.xAxisTickLength="25";
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>
this.chart. xAxisTickStroke="green";
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>
this.chart.xAxisTickStrokeThickness="20";
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>
this.chart. xAxisTitle="x axis";
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>
this.chart.xAxisTitleAlignment="right";
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>
this.chart.xAxisTitleAngle="50";
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>
this.chart.xAxisTitleBottomMargin="150";
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>
this.chart.xAxisTitleLeftMargin="150";
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.
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>
this.chart.xAxisTitleRightMargin="100";
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>
this.chart.xAxisTitleTextColor="green";
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>
this.chart.xAxisTitleTextStyle="italic 15px arial, sans-serif";
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>
this.chart.xAxisTitleTopMargin="150";
Gets or sets number of visible categories at maximum zooming level This property works only with ordinal XAxisMode and it is overridden by chart's WindowRectMinWidth property
Gets or sets maximum pixel span of series item that will be visible at maximum zooming level This property ensures that series item does not get stretch above specified value. This property works only with ordinal XAxisMode and it is overridden by chart's WindowRectMinWidth property
Gets or sets number of categories that the chart will zoom in and fill plot area This property is overridden by chart's WindowRect or WindowScaleHorizontal properties
Gets or sets starting category that chart will move its zoom window. Acceptable value is between 0 and number of data items This property works only with ordinal XAxisMode and it is overridden by chart's WindowRect or WindowScaleHorizontal properties
Gets or sets pixel span of series item that will be used to zoom chart such that the item has desired span Chart will automaticlly zoom in until series item has specified pixel span. This property works only with ordinal XAxisMode and it is overridden by chart's WindowRect or WindowScaleHorizontal properties
Gets or sets whether the large numbers on the Y-axis labels are abbreviated.
Gets the current maximum value for the Y-axis.
Gets the current minimum value for the Y-axis.
Gets or sets whether the y axis enhanced interval management should prefer to show all the labels if possible without collisions for supported types of category axes. This is for use with EnhancedIntervalMinimumCharacters = -1 and axes that have an integral interval.
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>
this.chart.xAxisExtent="250";
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+ "! ]";
}
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+ "! ]";
}
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>
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>
this.chart.yAxisInverted="true";
The default value of YAxisInverted
is false.
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.
Gets or sets the property or string from which the labels are derived.
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>
this.chart.yAxisLabelAngle="25";
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>
this.chart.yAxisLabelBottomMargin="250";
Gets or sets the format string for the Y axis label.
Gets or sets the format specifiers to use with the YAxisLabelFormat string.
Gets or sets Horizontal alignment of Y-axis labels.
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>
this.chart. yAxisLabelLeftMargin="250";
Gets or sets location of Y-axis labels, relative to the plot area.
Set the YAxisLabelLocation
property to change the location of the y-axis and its labels.
<igx-category-chart
[dataSource]="data"
yAxisLabelLocation="outsideRight">
</igx-category-chart>
this.chart.yAxisLabelLocation="outsideRight";
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>
this.chart.yAxisLabelRightMargin="250";
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>
this.chart.yAxisLabelTextColor="green";
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>
this.chart. yAxisLabelTextStyle="italic 15px arial, sans-serif";
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>
this.chart.yAxisLabelTopMargin="250";
Gets or sets Vertical alignment of Y-axis labels.
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>
this.chart.yAxisLabelVisibility="collapsed"";
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.
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>
this.chart.yAxisMajorStroke="green";
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>
this.chart.yAxisMajorStrokeThickness="2";
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>
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>
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>
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>
this.chart.yAxisMinorStroke="green";
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>
this.chart.yAxisMinorStrokeThickness="3";
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>
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>
this.chart.yAxisStrip="green";
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>
this.chart.yAxisStroke="green";
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>
this.chart. yAxisStrokeThickness="2";
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>
this.chart.yAxisTickLength="25";
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>
this.chart.yAxisTickStroke="green";
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>
this.chart.yAxisTickStrokeThickness="25";
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>
this.chart.yAxisTitle="y axis";
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>
this.chart.yAxisTitleAlignment="bottom";
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>
this.chart.yAxisTitleAngle="25";
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>
this.chart.yAxisTitleBottomMargin="150";
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>
this.chart.yAxisTitleLeftMargin="150";
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.
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>
this.chart.yAxisTitleRightMargin="150";
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>
this.chart.yAxisTitleTextColor="green";
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>
this.chart.yAxisTitleTextStyle="italic 15px arial, sans-serif";
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>
this.chart.yAxisTitleTopMargin="150";
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>
Gets or sets stroke brush of major gridlines on x-axis of the zoom slider pane
Gets or sets thickness of major gridlines on x-axis of the zoom slider pane
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);
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.