@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
33 lines (31 loc) • 933 B
TypeScript
/// <reference types="../../index.d.ts" />
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
import { ColorStop, DataSeries } from './interfaces';
export declare class Graph extends LitElement {
/**
* Array of values describing a single color stop ([offset, color, opacity])
* These color stops should be sorted by offset value.
*/
colorStops: ColorStop[];
/**
* Array of tuples describing a single data point ([x, y])
* These data points should be sorted by x-axis value.
*/
data: DataSeries;
/** End of highlight color if highlighting range. */
highlightMax: number;
/** Start of highlight color if highlighting range. */
highlightMin: number;
/**
* Highest point of the range.
*
* @required
*/
max: number;
/**
* Lowest point of the range.
*
* @required
*/
min: number;
}