import Series from './series'; /** * The Point object. The point objects are generated from the `series.data` * configuration objects or raw numbers. They can be accessed from the * `Series.points` array. Other ways to instantiate points are through * Highcharts.Series#addPoint or Highcharts.Series#setData. */ export default interface Point { /** * The point's current color. */ color?: string; /** * Contains the point's index in the `Series.points` array. */ index: number; /** * The name of the point. The name can be given as the first position of the * point configuration array, or as a `name` property in the configuration: */ name: string; /** * The series object associated with the point. */ series: Series; /** * The x value of the point. */ x: number; /** * The y value of the point. */ y?: number; }