import { XYComponentConfigInterface } from '../../core/xy-component/config'; import { CurveType } from '../../types/curve'; import { ColorAccessor, GenericAccessor, NumericAccessor, StringAccessor } from '../../types/accessor'; import { FillPatternType, LinePatternType } from '../../styles/patterns'; export interface AreaConfigInterface extends XYComponentConfigInterface { /** Area color accessor function. The whole data array will be passed as the first argument. Default: `undefined` */ color?: ColorAccessor; /** Area fill pattern accessor. Resolves to a `FillPatternType`. The whole data array is passed as the first argument. Default: `undefined` */ pattern?: GenericAccessor; /** Curve type from the CurveType enum. Default: `CurveType.MonotoneX` */ curveType?: CurveType | string; /** Baseline value or accessor function. Default: `undefined` */ baseline?: NumericAccessor; /** Opacity value or accessor function. Default: `1` */ opacity?: NumericAccessor; /** Optional area cursor. String or accessor function. Default: `null` */ cursor?: StringAccessor; /** Display a line on the top of the area. Default: `false` */ line?: boolean; /** Line color accessor function. The whole data array will be passed as the first argument. Default: `undefined` */ lineColor?: ColorAccessor; /** Line width in pixels. Default: `2` */ lineWidth?: number; /** Line dash array, see SVG's stroke-dasharray. Default: `undefined` */ lineDashArray?: GenericAccessor; /** Pattern accessor for the area's outline. Resolves to a `LinePatternType`. The whole data array is passed as the first argument. Default: `undefined` */ linePattern?: GenericAccessor; /** If an area is smaller than 1px, extend it to have 1px height. Default: `false` * @deprecated Use minHeight instead */ minHeight1Px?: boolean; /** Minimum height of the area, use carefully. * This setting is useful when some of the area values are zeros or very small so visually they become * practically invisible, but you want to show that the data behind them exists and they're not just empty segments. * Default: `undefined` */ minHeight?: number; /** Whether to stack min height areas or not. Default: `undefined` */ stackMinHeight?: boolean; } export declare const AreaDefaultConfig: AreaConfigInterface;