import type AxisOptions from '../../Core/Axis/AxisOptions'; import type { DeepPartial } from '../../Shared/Types'; declare module '../../Core/Chart/ChartOptions' { interface ChartOptions extends ParallelCoordinatesOptions { } } interface ParallelCoordinatesOptions { /** * Flag to render charts as a parallel coordinates plot. In a parallel * coordinates plot (||-coords) by default all required yAxes are generated * and the legend is disabled. This feature requires * `modules/parallel-coordinates.js`. * * @sample {highcharts} /highcharts/demo/parallel-coordinates/ * Parallel coordinates demo * @sample {highcharts} highcharts/parallel-coordinates/polar/ * Star plot, multivariate data in a polar chart * * @since 6.0.0 * @product highcharts * @requires modules/parallel-coordinates * @default false */ parallelCoordinates?: boolean; /** * Common options for all yAxes rendered in a parallel coordinates plot. * This feature requires `modules/parallel-coordinates.js`. * * The default options are: * ```js * parallelAxes: { * lineWidth: 1, // classic mode only * gridLineWidth: 0, // classic mode only * title: { * text: '', * reserveSpace: false * }, * labels: { * x: 0, * y: 0, * align: 'center', * reserveSpace: false * }, * offset: 0 * } * ``` * * @sample {highcharts} highcharts/parallel-coordinates/parallelaxes/ * Set the same tickAmount for all yAxes * * @extends yAxis * @since 6.0.0 * @product highcharts * @requires modules/parallel-coordinates */ parallelAxes?: ParallelAxesOptions; } interface ParallelAxesOptions extends DeepPartial> { /** * @default 1 */ lineWidth?: AxisOptions['lineWidth']; /** * Visually the parallel coordinates titles are done through * [xAxis.categories](#xAxis.categories). All options for `xAxis.labels` * applies to parallel coordinates titles. For example, to style categories, * use [xAxis.labels.style](#xAxis.labels.style). * * @default {"text":"", "reserveSpace": false} */ title: DeepPartial; /** * @default {"x": 0, "y": 4, "align": "center", "reserveSpace": false} */ labels?: DeepPartial; /** * @default 0 */ offset?: AxisOptions['offset']; } export default ParallelCoordinatesOptions;