IgrSparkline

new IgrSparkline(props: IIgrSparklineProps): IgrSparkline

Returns IgrSparkline

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
tooltipTemplate: 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
get nativeElement(): HTMLElement

Returns HTMLElement

componentDidMount(): void

Returns void

componentWillUnmount(): void

Returns void

destroy(): void

Returns void

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

initializeContent(): void

Returns void

Used to manually notify the SparklineComponent 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

render(): DetailedReactHTMLElement<object, HTMLDivElement>

Returns DetailedReactHTMLElement<object, HTMLDivElement>

shouldComponentUpdate(nextProps: any, nextState: any): boolean

Parameters

  • nextProps: any
  • nextState: any

Returns boolean

_createFromInternal(internal: any): IgrSparkline

Parameters

  • internal: any

Returns IgrSparkline