import * as Cx from '../core'; import { BoundedObject, BoundedObjectProps } from '../svg/BoundedObject'; interface MarkerLineProps extends BoundedObjectProps { /** The `x1` value binding or expression. */ x1?: Cx.NumberProp, /** The `y1` value binding or expression. */ y1?: Cx.NumberProp, /** The `x2` value binding or expression. */ x2?: Cx.NumberProp, /** The `y2` value binding or expression. */ y2?: Cx.NumberProp, /** Index of a color from the standard palette of colors. 0-15. */ colorIndex?: Cx.NumberProp, /** Used to indicate if an item is active or not. Inactive items are shown only in the legend. */ active?: Cx.BooleanProp, /** Name of the item as it will appear in the legend. */ name?: Cx.StringProp, /** Name of the legend to be used. Default is `legend`. */ legend?: Cx.StringProp, /** Shared `x1` and `x2` value binding or expression. */ x?: Cx.NumberProp, /** Shared `y1` and `y2` value binding or expression. */ y?: Cx.NumberProp, /** * Name of the horizontal axis. The value should match one of the horizontal axes set * in the `axes` configuration of the parent `Chart` component. Default value is `x`. */ xAxis?: string, /** * Name of the vertical axis. The value should match one of the vertical axes set * in the axes configuration if the parent Chart component. Default value is y. */ yAxis?: string, /** Base CSS class to be applied to the element. Defaults to `markerline`. */ baseClass?: string, legendAction?: string } export class MarkerLine extends Cx.Widget {}