Represents a sparkline chart.

IgxSparklineComponent

new IgxSparklineComponent(_renderer: Renderer2, _elRef: ViewContainerRef, _ngZone: NgZone, _componentFactoryResolver: ComponentFactoryResolver, _injector: Injector): IgxSparklineComponent

Returns IgxSparklineComponent

_dynamicContent: ViewContainerRef

ngAcceptInputType_actualPixelScalingRatio

Section titled "ngAcceptInputType_actualPixelScalingRatio"
ngAcceptInputType_actualPixelScalingRatio: string | number

ngAcceptInputType_displayNormalRangeInFront

Section titled "ngAcceptInputType_displayNormalRangeInFront"
ngAcceptInputType_displayNormalRangeInFront: string | boolean
ngAcceptInputType_displayType: string | SparklineDisplayType
ngAcceptInputType_firstMarkerSize: string | number

ngAcceptInputType_firstMarkerVisibility

Section titled "ngAcceptInputType_firstMarkerVisibility"
ngAcceptInputType_firstMarkerVisibility: any
ngAcceptInputType_highMarkerSize: string | number

ngAcceptInputType_highMarkerVisibility

Section titled "ngAcceptInputType_highMarkerVisibility"
ngAcceptInputType_highMarkerVisibility: any

ngAcceptInputType_horizontalAxisVisibility

Section titled "ngAcceptInputType_horizontalAxisVisibility"
ngAcceptInputType_horizontalAxisVisibility: any

ngAcceptInputType_horizontalLabelFormatSpecifiers

Section titled "ngAcceptInputType_horizontalLabelFormatSpecifiers"
ngAcceptInputType_horizontalLabelFormatSpecifiers: string | any[]
ngAcceptInputType_lastMarkerSize: string | number

ngAcceptInputType_lastMarkerVisibility

Section titled "ngAcceptInputType_lastMarkerVisibility"
ngAcceptInputType_lastMarkerVisibility: any
ngAcceptInputType_lineThickness: string | number
ngAcceptInputType_lowMarkerSize: string | number

ngAcceptInputType_lowMarkerVisibility

Section titled "ngAcceptInputType_lowMarkerVisibility"
ngAcceptInputType_lowMarkerVisibility: any
ngAcceptInputType_markerSize: string | number
ngAcceptInputType_markerVisibility: any
ngAcceptInputType_maximum: string | number
ngAcceptInputType_minimum: string | number

ngAcceptInputType_negativeMarkerSize

Section titled "ngAcceptInputType_negativeMarkerSize"
ngAcceptInputType_negativeMarkerSize: string | number

ngAcceptInputType_negativeMarkerVisibility

Section titled "ngAcceptInputType_negativeMarkerVisibility"
ngAcceptInputType_negativeMarkerVisibility: any

ngAcceptInputType_normalRangeMaximum

Section titled "ngAcceptInputType_normalRangeMaximum"
ngAcceptInputType_normalRangeMaximum: string | number

ngAcceptInputType_normalRangeMinimum

Section titled "ngAcceptInputType_normalRangeMinimum"
ngAcceptInputType_normalRangeMinimum: string | number

ngAcceptInputType_normalRangeVisibility

Section titled "ngAcceptInputType_normalRangeVisibility"
ngAcceptInputType_normalRangeVisibility: any

ngAcceptInputType_pixelScalingRatio

Section titled "ngAcceptInputType_pixelScalingRatio"
ngAcceptInputType_pixelScalingRatio: string | number
ngAcceptInputType_trendLinePeriod: string | number

ngAcceptInputType_trendLineThickness

Section titled "ngAcceptInputType_trendLineThickness"
ngAcceptInputType_trendLineThickness: string | number
ngAcceptInputType_trendLineType: any

ngAcceptInputType_unknownValuePlotting

Section titled "ngAcceptInputType_unknownValuePlotting"
ngAcceptInputType_unknownValuePlotting: any

ngAcceptInputType_verticalAxisVisibility

Section titled "ngAcceptInputType_verticalAxisVisibility"
ngAcceptInputType_verticalAxisVisibility: any

ngAcceptInputType_verticalLabelFormatSpecifiers

Section titled "ngAcceptInputType_verticalLabelFormatSpecifiers"
ngAcceptInputType_verticalLabelFormatSpecifiers: string | any[]
ɵcmp: ɵɵComponentDeclaration<IgxSparklineComponent, "igx-sparkline", never, object, object, never, never>
ɵfac: ɵɵFactoryDeclaration<IgxSparklineComponent, never>
actualPixelScalingRatio: number
brush: string
dataSource: any
displayNormalRangeInFront: boolean
displayType: SparklineDisplayType
firstMarkerBrush: string
firstMarkerSize: number
firstMarkerVisibility: Visibility
formatLabel: object
height: string
highMarkerBrush: string
highMarkerSize: number
highMarkerVisibility: Visibility
horizontalAxisBrush: string
horizontalAxisLabel: any
horizontalAxisVisibility: Visibility
horizontalLabelFormat: string
horizontalLabelFormatSpecifiers: any[]
labelMemberPath: string
lastMarkerBrush: string
lastMarkerSize: number
lastMarkerVisibility: Visibility
lineThickness: number
lowMarkerBrush: string
lowMarkerSize: number
lowMarkerVisibility: Visibility
markerBrush: string
markerSize: number
markerVisibility: Visibility
maximum: number
minimum: number
negativeBrush: string
negativeMarkerBrush: string
negativeMarkerSize: number
negativeMarkerVisibility: Visibility
normalRangeFill: string
normalRangeMaximum: number
normalRangeMinimum: number
normalRangeVisibility: Visibility
pixelScalingRatio: number
textColor: string
textStyle: string
tooltipTemplate: TemplateRef<any>
trendLineBrush: string
trendLinePeriod: number
trendLineThickness: number
trendLineType: TrendLineType
unknownValuePlotting: UnknownValuePlotting
valueMemberPath: string
verticalAxisBrush: string
verticalAxisLabel: any
verticalAxisVisibility: Visibility
verticalLabelFormat: string
verticalLabelFormatSpecifiers: any[]
width: string

Returns visuals as a serialized string.

exportSerializedVisualData(): string

Returns string

Returns the sparkline visuals expressed as a SparklineVisualData object.

exportVisualData(): SparklineVisualData

Returns SparklineVisualData

findByName(name: string): any

Parameters

  • name: string

Returns any

ngAfterContentInit(): void

Returns void

ngOnDestroy(): void

Returns void

Used to manually notify the IgxSparklineComponent that the data source has reset or cleared its items. Invoking this method is only necessary if that datasource is not observable.

notifyClearItems(source_: any): void

Parameters

  • source_: any
    • The data source which was cleared or reset.

Returns void

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

Parameters

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

Returns void

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

Parameters

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

Returns void

Notify that the control has resized.

notifyResized(): void

Returns void

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

Parameters

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

Returns void

Provides a container to the sparkline control.

provideContainer(container: any): void

Parameters

  • container: any
    • The container.

Returns void

_createFromInternal(internal: any): IgxSparklineComponent

Parameters

  • internal: any

Returns IgxSparklineComponent