Skip to content

Commit

Permalink
Docs: legend symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
TorsteinHonsi committed May 11, 2023
1 parent eb8b909 commit 48a3742
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions ts/Core/Series/SeriesDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2485,6 +2485,21 @@ const seriesDefaults: PlotOptionsOf<Series> = {
* @apioption plotOptions.series.colorKey
*/

/**
* What type of legend symbol to render for this series. Can be one of
* `lineMarker` or `rectangle`.
*
* @validvalue ["lineMarker", "rectangle"]
*
* @sample {highcharts} highcharts/series/legend-symbol/
* Change the legend symbol
*
* @type {string}
* @default rectangle
* @since 11.0.1
* @apioption plotOptions.series.legendSymbol
*/

/**
* Determines whether the series should look for the nearest point
* in both dimensions or just the x-dimension when hovering the series.
Expand All @@ -2509,15 +2524,6 @@ const seriesDefaults: PlotOptionsOf<Series> = {
*/
findNearestPointBy: 'x'

/**
* What type of legend symbol to render for this series.
*
* @validvalue ["lineMarker", "rectangle"]
*
* @sample {highcharts} highcharts/series/legend-symbol/
* Change the legend symbol
*/

};

/* *
Expand Down

0 comments on commit 48a3742

Please sign in to comment.