import type ColorType from '../../Core/Color/ColorType'; import type ScatterSeriesOptions from '../Scatter/ScatterSeriesOptions'; /** * A contour plot is a graphical representation of three-dimensional data * in two dimensions using contour lines or color-coded regions. * * A contour plot is a graphical representation of three-dimensional data * * @productdesc {highcharts} * Requires `modules/contour`. * * @sample highcharts/demo/contour-mountain/ * Simple contour * * @extends plotOptions.scatter * * @extends series,plotOptions.contour * * @product highcharts highmaps * * @requires modules/coloraxis * * @requires modules/contour */ export default interface ContourSeriesOptions extends ScatterSeriesOptions { /** * Whether to use gradually transitioning color gradients between contour * levels. When disabled, each contour level is filled with a single flat * color. * * @sample {highcharts} highcharts/series-contour/contour-simple/ * Contour plot with smooth coloring * * @default false */ smoothColoring?: boolean; /** * The interval between contour lines. Determines the spacing of value * levels where lines are drawn on the plot. * * @sample {highcharts} highcharts/series-contour/contour-simple/ * Contour plot with lines */ contourInterval?: number; /** * The offset for contour line positioning. Shifts the contour levels so * lines and bands are drawn at `contourOffset + n * contourInterval` * instead of `n * contourInterval`. * * Example: with `contourInterval: 10` and `contourOffset: 5`, levels are * at 5, 15, 25, etc. Use this to align levels with a reference value * without changing the data. Non-positive values are treated as 0. * * @sample {highcharts} highcharts/series-contour/contour-simple/ * Contour plot with lines */ contourOffset?: number; lineColor?: ColorType; }