import type AxisType from '../../Core/Axis/AxisType'; /** * Object of shape point. * * @interface Highcharts.AnnotationMockPointOptionsObject */ export interface AnnotationMockPointOptionsObject { /** * The x position of the point. Units can be either in axis * or chart pixel coordinates. * * @type {number} * @name Highcharts.AnnotationMockPointOptionsObject.x */ x?: number; /** * This option defines which `xAxis` the point is connected to. * It refers to either the axis id or the index of the axis in * the `xAxis` array. If the option is not configured or the axis * is not found the point's x coordinate refers to the chart * pixels. * * @type {number|string|null} * @name Highcharts.AnnotationMockPointOptionsObject.xAxis */ xAxis?: (number | string | AxisType | null); /** * The y position of the point. Units can be either in axis * or chart pixel coordinates. * * @type {number|null} * @name Highcharts.AnnotationMockPointOptionsObject.y */ y?: number | null; /** * This option defines which `yAxis` the point is connected to. * It refers to either the axis id or the index of the axis in * the `yAxis` array. If the option is not configured or the axis * is not found the point's y coordinate refers to the chart * pixels. * * @type {number|string|null} * @name Highcharts.AnnotationMockPointOptionsObject.yAxis */ yAxis?: (number | string | AxisType | null); } export default AnnotationMockPointOptionsObject;