Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

FieldSparkline interface

Signature

typescript
export interface FieldSparkline 

Import

typescript
import { FieldSparkline } from '@grafana/data';

Properties

PropertyTypeDescription
highlightIndexnumber
timeRangeTimeRange
xField
yField

highlightIndex property

Signature

typescript
highlightIndex?: number;

timeRange property

Signature

typescript
timeRange?: TimeRange;

x property

Signature

typescript
x?: Field;

y property

Signature

typescript
y: Field;