BoxPlotSeries.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621
  1. /* *
  2. *
  3. * (c) 2010-2020 Torstein Honsi
  4. *
  5. * License: www.highcharts.com/license
  6. *
  7. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  8. *
  9. * */
  10. import Series from '../Core/Series/Series.js';
  11. import ColumnSeries from './ColumnSeries.js';
  12. var columnProto = ColumnSeries.prototype;
  13. import H from '../Core/Globals.js';
  14. var noop = H.noop;
  15. import U from '../Core/Utilities.js';
  16. var pick = U.pick;
  17. /**
  18. * The boxplot series type.
  19. *
  20. * @private
  21. * @class
  22. * @name Highcharts.seriesTypes#boxplot
  23. *
  24. * @augments Highcharts.Series
  25. */
  26. /**
  27. * A box plot is a convenient way of depicting groups of data through their
  28. * five-number summaries: the smallest observation (sample minimum), lower
  29. * quartile (Q1), median (Q2), upper quartile (Q3), and largest observation
  30. * (sample maximum).
  31. *
  32. * @sample highcharts/demo/box-plot/
  33. * Box plot
  34. *
  35. * @extends plotOptions.column
  36. * @excluding borderColor, borderRadius, borderWidth, groupZPadding, states,
  37. * boostThreshold, boostBlending
  38. * @product highcharts
  39. * @requires highcharts-more
  40. * @optionparent plotOptions.boxplot
  41. */
  42. Series.seriesType('boxplot', 'column', {
  43. threshold: null,
  44. tooltip: {
  45. pointFormat: '<span style="color:{point.color}">\u25CF</span> <b> ' +
  46. '{series.name}</b><br/>' +
  47. 'Maximum: {point.high}<br/>' +
  48. 'Upper quartile: {point.q3}<br/>' +
  49. 'Median: {point.median}<br/>' +
  50. 'Lower quartile: {point.q1}<br/>' +
  51. 'Minimum: {point.low}<br/>'
  52. },
  53. /**
  54. * The length of the whiskers, the horizontal lines marking low and
  55. * high values. It can be a numerical pixel value, or a percentage
  56. * value of the box width. Set `0` to disable whiskers.
  57. *
  58. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  59. * True by default
  60. *
  61. * @type {number|string}
  62. * @since 3.0
  63. * @product highcharts
  64. */
  65. whiskerLength: '50%',
  66. /**
  67. * The fill color of the box.
  68. *
  69. * In styled mode, the fill color can be set with the
  70. * `.highcharts-boxplot-box` class.
  71. *
  72. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  73. * Box plot styling
  74. *
  75. * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
  76. * @default #ffffff
  77. * @since 3.0
  78. * @product highcharts
  79. */
  80. fillColor: '#ffffff',
  81. /**
  82. * The width of the line surrounding the box. If any of
  83. * [stemWidth](#plotOptions.boxplot.stemWidth),
  84. * [medianWidth](#plotOptions.boxplot.medianWidth)
  85. * or [whiskerWidth](#plotOptions.boxplot.whiskerWidth) are `null`,
  86. * the lineWidth also applies to these lines.
  87. *
  88. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  89. * Box plot styling
  90. * @sample {highcharts} highcharts/plotoptions/error-bar-styling/
  91. * Error bar styling
  92. *
  93. * @since 3.0
  94. * @product highcharts
  95. */
  96. lineWidth: 1,
  97. /**
  98. * The color of the median line. If `undefined`, the general series
  99. * color applies.
  100. *
  101. * In styled mode, the median stroke width can be set with the
  102. * `.highcharts-boxplot-median` class.
  103. *
  104. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  105. * Box plot styling
  106. * @sample {highcharts} highcharts/css/boxplot/
  107. * Box plot in styled mode
  108. * @sample {highcharts} highcharts/plotoptions/error-bar-styling/
  109. * Error bar styling
  110. *
  111. * @type {Highcharts.ColorString|Highcharts.GradientColorObject}
  112. * @since 3.0
  113. * @product highcharts
  114. * @apioption plotOptions.boxplot.medianColor
  115. */
  116. /**
  117. * The pixel width of the median line. If `null`, the
  118. * [lineWidth](#plotOptions.boxplot.lineWidth) is used.
  119. *
  120. * In styled mode, the median stroke width can be set with the
  121. * `.highcharts-boxplot-median` class.
  122. *
  123. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  124. * Box plot styling
  125. * @sample {highcharts} highcharts/css/boxplot/
  126. * Box plot in styled mode
  127. *
  128. * @type {number|null}
  129. * @since 3.0
  130. * @product highcharts
  131. */
  132. medianWidth: 2,
  133. /*
  134. // States are not working and are removed from docs.
  135. // Refer to: #2340
  136. states: {
  137. hover: {
  138. brightness: -0.3
  139. }
  140. },
  141. /**
  142. * The color of the stem, the vertical line extending from the box to
  143. * the whiskers. If `undefined`, the series color is used.
  144. *
  145. * In styled mode, the stem stroke can be set with the
  146. * `.highcharts-boxplot-stem` class.
  147. *
  148. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  149. * Box plot styling
  150. * @sample {highcharts} highcharts/css/boxplot/
  151. * Box plot in styled mode
  152. * @sample {highcharts} highcharts/plotoptions/error-bar-styling/
  153. * Error bar styling
  154. *
  155. * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
  156. * @since 3.0
  157. * @product highcharts
  158. * @apioption plotOptions.boxplot.stemColor
  159. */
  160. /**
  161. * The dash style of the box.
  162. *
  163. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  164. * Box plot styling
  165. * @sample {highcharts} highcharts/css/boxplot/
  166. * Box plot in styled mode
  167. *
  168. * @type {Highcharts.DashStyleValue}
  169. * @default Solid
  170. * @since 8.1.0
  171. * @product highcharts
  172. * @apioption plotOptions.boxplot.boxDashStyle
  173. */
  174. /**
  175. * The dash style of the median.
  176. *
  177. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  178. * Box plot styling
  179. * @sample {highcharts} highcharts/css/boxplot/
  180. * Box plot in styled mode
  181. *
  182. * @type {Highcharts.DashStyleValue}
  183. * @default Solid
  184. * @since 8.1.0
  185. * @product highcharts
  186. * @apioption plotOptions.boxplot.medianDashStyle
  187. */
  188. /**
  189. * The dash style of the stem, the vertical line extending from the
  190. * box to the whiskers.
  191. *
  192. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  193. * Box plot styling
  194. * @sample {highcharts} highcharts/css/boxplot/
  195. * Box plot in styled mode
  196. * @sample {highcharts} highcharts/plotoptions/error-bar-styling/
  197. * Error bar styling
  198. *
  199. * @type {Highcharts.DashStyleValue}
  200. * @default Solid
  201. * @since 3.0
  202. * @product highcharts
  203. * @apioption plotOptions.boxplot.stemDashStyle
  204. */
  205. /**
  206. * The dash style of the whiskers.
  207. *
  208. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  209. * Box plot styling
  210. * @sample {highcharts} highcharts/css/boxplot/
  211. * Box plot in styled mode
  212. *
  213. * @type {Highcharts.DashStyleValue}
  214. * @default Solid
  215. * @since 8.1.0
  216. * @product highcharts
  217. * @apioption plotOptions.boxplot.whiskerDashStyle
  218. */
  219. /**
  220. * The width of the stem, the vertical line extending from the box to
  221. * the whiskers. If `undefined`, the width is inherited from the
  222. * [lineWidth](#plotOptions.boxplot.lineWidth) option.
  223. *
  224. * In styled mode, the stem stroke width can be set with the
  225. * `.highcharts-boxplot-stem` class.
  226. *
  227. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  228. * Box plot styling
  229. * @sample {highcharts} highcharts/css/boxplot/
  230. * Box plot in styled mode
  231. * @sample {highcharts} highcharts/plotoptions/error-bar-styling/
  232. * Error bar styling
  233. *
  234. * @type {number}
  235. * @since 3.0
  236. * @product highcharts
  237. * @apioption plotOptions.boxplot.stemWidth
  238. */
  239. /**
  240. * @default high
  241. * @apioption plotOptions.boxplot.colorKey
  242. */
  243. /**
  244. * The color of the whiskers, the horizontal lines marking low and high
  245. * values. When `undefined`, the general series color is used.
  246. *
  247. * In styled mode, the whisker stroke can be set with the
  248. * `.highcharts-boxplot-whisker` class .
  249. *
  250. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  251. * Box plot styling
  252. * @sample {highcharts} highcharts/css/boxplot/
  253. * Box plot in styled mode
  254. *
  255. * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
  256. * @since 3.0
  257. * @product highcharts
  258. * @apioption plotOptions.boxplot.whiskerColor
  259. */
  260. /**
  261. * The line width of the whiskers, the horizontal lines marking low and
  262. * high values. When `undefined`, the general
  263. * [lineWidth](#plotOptions.boxplot.lineWidth) applies.
  264. *
  265. * In styled mode, the whisker stroke width can be set with the
  266. * `.highcharts-boxplot-whisker` class.
  267. *
  268. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  269. * Box plot styling
  270. * @sample {highcharts} highcharts/css/boxplot/
  271. * Box plot in styled mode
  272. *
  273. * @since 3.0
  274. * @product highcharts
  275. */
  276. whiskerWidth: 2
  277. },
  278. /** @lends Highcharts.seriesTypes.boxplot */
  279. {
  280. // array point configs are mapped to this
  281. pointArrayMap: ['low', 'q1', 'median', 'q3', 'high'],
  282. // return a plain array for speedy calculation
  283. toYData: function (point) {
  284. return [point.low, point.q1, point.median, point.q3, point.high];
  285. },
  286. // defines the top of the tracker
  287. pointValKey: 'high',
  288. // Get presentational attributes
  289. pointAttribs: function () {
  290. // No attributes should be set on point.graphic which is the group
  291. return {};
  292. },
  293. // Disable data labels for box plot
  294. drawDataLabels: noop,
  295. // Translate data points from raw values x and y to plotX and plotY
  296. translate: function () {
  297. var series = this, yAxis = series.yAxis, pointArrayMap = series.pointArrayMap;
  298. columnProto.translate.apply(series);
  299. // do the translation on each point dimension
  300. series.points.forEach(function (point) {
  301. pointArrayMap.forEach(function (key) {
  302. if (point[key] !== null) {
  303. point[key + 'Plot'] = yAxis.translate(point[key], 0, 1, 0, 1);
  304. }
  305. });
  306. point.plotHigh = point.highPlot; // For data label validation
  307. });
  308. },
  309. // eslint-disable-next-line valid-jsdoc
  310. /**
  311. * Draw the data points
  312. * @private
  313. */
  314. drawPoints: function () {
  315. var series = this, points = series.points, options = series.options, chart = series.chart, renderer = chart.renderer, q1Plot, q3Plot, highPlot, lowPlot, medianPlot, medianPath, crispCorr, crispX = 0, boxPath, width, left, right, halfWidth,
  316. // error bar inherits this series type but doesn't do quartiles
  317. doQuartiles = series.doQuartiles !== false, pointWiskerLength, whiskerLength = series.options.whiskerLength;
  318. points.forEach(function (point) {
  319. var graphic = point.graphic, verb = graphic ? 'animate' : 'attr', shapeArgs = point.shapeArgs, boxAttr = {}, stemAttr = {}, whiskersAttr = {}, medianAttr = {}, color = point.color || series.color;
  320. if (typeof point.plotY !== 'undefined') {
  321. // crisp vector coordinates
  322. width = Math.round(shapeArgs.width);
  323. left = Math.floor(shapeArgs.x);
  324. right = left + width;
  325. halfWidth = Math.round(width / 2);
  326. q1Plot = Math.floor(doQuartiles ? point.q1Plot : point.lowPlot);
  327. q3Plot = Math.floor(doQuartiles ? point.q3Plot : point.lowPlot);
  328. highPlot = Math.floor(point.highPlot);
  329. lowPlot = Math.floor(point.lowPlot);
  330. if (!graphic) {
  331. point.graphic = graphic = renderer.g('point')
  332. .add(series.group);
  333. point.stem = renderer.path()
  334. .addClass('highcharts-boxplot-stem')
  335. .add(graphic);
  336. if (whiskerLength) {
  337. point.whiskers = renderer.path()
  338. .addClass('highcharts-boxplot-whisker')
  339. .add(graphic);
  340. }
  341. if (doQuartiles) {
  342. point.box = renderer.path(boxPath)
  343. .addClass('highcharts-boxplot-box')
  344. .add(graphic);
  345. }
  346. point.medianShape = renderer.path(medianPath)
  347. .addClass('highcharts-boxplot-median')
  348. .add(graphic);
  349. }
  350. if (!chart.styledMode) {
  351. // Stem attributes
  352. stemAttr.stroke =
  353. point.stemColor || options.stemColor || color;
  354. stemAttr['stroke-width'] = pick(point.stemWidth, options.stemWidth, options.lineWidth);
  355. stemAttr.dashstyle = (point.stemDashStyle ||
  356. options.stemDashStyle ||
  357. options.dashStyle);
  358. point.stem.attr(stemAttr);
  359. // Whiskers attributes
  360. if (whiskerLength) {
  361. whiskersAttr.stroke = (point.whiskerColor ||
  362. options.whiskerColor ||
  363. color);
  364. whiskersAttr['stroke-width'] = pick(point.whiskerWidth, options.whiskerWidth, options.lineWidth);
  365. whiskersAttr.dashstyle = (point.whiskerDashStyle ||
  366. options.whiskerDashStyle ||
  367. options.dashStyle);
  368. point.whiskers.attr(whiskersAttr);
  369. }
  370. if (doQuartiles) {
  371. boxAttr.fill = (point.fillColor ||
  372. options.fillColor ||
  373. color);
  374. boxAttr.stroke = options.lineColor || color;
  375. boxAttr['stroke-width'] = options.lineWidth || 0;
  376. boxAttr.dashstyle = (point.boxDashStyle ||
  377. options.boxDashStyle ||
  378. options.dashStyle);
  379. point.box.attr(boxAttr);
  380. }
  381. // Median attributes
  382. medianAttr.stroke = (point.medianColor ||
  383. options.medianColor ||
  384. color);
  385. medianAttr['stroke-width'] = pick(point.medianWidth, options.medianWidth, options.lineWidth);
  386. medianAttr.dashstyle = (point.medianDashStyle ||
  387. options.medianDashStyle ||
  388. options.dashStyle);
  389. point.medianShape.attr(medianAttr);
  390. }
  391. var d = void 0;
  392. // The stem
  393. crispCorr = (point.stem.strokeWidth() % 2) / 2;
  394. crispX = left + halfWidth + crispCorr;
  395. d = [
  396. // stem up
  397. ['M', crispX, q3Plot],
  398. ['L', crispX, highPlot],
  399. // stem down
  400. ['M', crispX, q1Plot],
  401. ['L', crispX, lowPlot]
  402. ];
  403. point.stem[verb]({ d: d });
  404. // The box
  405. if (doQuartiles) {
  406. crispCorr = (point.box.strokeWidth() % 2) / 2;
  407. q1Plot = Math.floor(q1Plot) + crispCorr;
  408. q3Plot = Math.floor(q3Plot) + crispCorr;
  409. left += crispCorr;
  410. right += crispCorr;
  411. d = [
  412. ['M', left, q3Plot],
  413. ['L', left, q1Plot],
  414. ['L', right, q1Plot],
  415. ['L', right, q3Plot],
  416. ['L', left, q3Plot],
  417. ['Z']
  418. ];
  419. point.box[verb]({ d: d });
  420. }
  421. // The whiskers
  422. if (whiskerLength) {
  423. crispCorr = (point.whiskers.strokeWidth() % 2) / 2;
  424. highPlot = highPlot + crispCorr;
  425. lowPlot = lowPlot + crispCorr;
  426. pointWiskerLength = (/%$/).test(whiskerLength) ?
  427. halfWidth * parseFloat(whiskerLength) / 100 :
  428. whiskerLength / 2;
  429. d = [
  430. // High whisker
  431. ['M', crispX - pointWiskerLength, highPlot],
  432. ['L', crispX + pointWiskerLength, highPlot],
  433. // Low whisker
  434. ['M', crispX - pointWiskerLength, lowPlot],
  435. ['L', crispX + pointWiskerLength, lowPlot]
  436. ];
  437. point.whiskers[verb]({ d: d });
  438. }
  439. // The median
  440. medianPlot = Math.round(point.medianPlot);
  441. crispCorr = (point.medianShape.strokeWidth() % 2) / 2;
  442. medianPlot = medianPlot + crispCorr;
  443. d = [
  444. ['M', left, medianPlot],
  445. ['L', right, medianPlot]
  446. ];
  447. point.medianShape[verb]({ d: d });
  448. }
  449. });
  450. },
  451. setStackedPoints: noop // #3890
  452. });
  453. /**
  454. * A `boxplot` series. If the [type](#series.boxplot.type) option is
  455. * not specified, it is inherited from [chart.type](#chart.type).
  456. *
  457. * @extends series,plotOptions.boxplot
  458. * @excluding dataParser, dataURL, marker, stack, stacking, states,
  459. * boostThreshold, boostBlending
  460. * @product highcharts
  461. * @requires highcharts-more
  462. * @apioption series.boxplot
  463. */
  464. /**
  465. * An array of data points for the series. For the `boxplot` series
  466. * type, points can be given in the following ways:
  467. *
  468. * 1. An array of arrays with 6 or 5 values. In this case, the values correspond
  469. * to `x,low,q1,median,q3,high`. If the first value is a string, it is
  470. * applied as the name of the point, and the `x` value is inferred. The `x`
  471. * value can also be omitted, in which case the inner arrays should be of
  472. * length 5. Then the `x` value is automatically calculated, either starting
  473. * at 0 and incremented by 1, or from `pointStart` and `pointInterval` given
  474. * in the series options.
  475. * ```js
  476. * data: [
  477. * [0, 3, 0, 10, 3, 5],
  478. * [1, 7, 8, 7, 2, 9],
  479. * [2, 6, 9, 5, 1, 3]
  480. * ]
  481. * ```
  482. *
  483. * 2. An array of objects with named values. The following snippet shows only a
  484. * few settings, see the complete options set below. If the total number of
  485. * data points exceeds the series'
  486. * [turboThreshold](#series.boxplot.turboThreshold), this option is not
  487. * available.
  488. * ```js
  489. * data: [{
  490. * x: 1,
  491. * low: 4,
  492. * q1: 9,
  493. * median: 9,
  494. * q3: 1,
  495. * high: 10,
  496. * name: "Point2",
  497. * color: "#00FF00"
  498. * }, {
  499. * x: 1,
  500. * low: 5,
  501. * q1: 7,
  502. * median: 3,
  503. * q3: 6,
  504. * high: 2,
  505. * name: "Point1",
  506. * color: "#FF00FF"
  507. * }]
  508. * ```
  509. *
  510. * @sample {highcharts} highcharts/series/data-array-of-arrays/
  511. * Arrays of numeric x and y
  512. * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
  513. * Arrays of datetime x and y
  514. * @sample {highcharts} highcharts/series/data-array-of-name-value/
  515. * Arrays of point.name and y
  516. * @sample {highcharts} highcharts/series/data-array-of-objects/
  517. * Config objects
  518. *
  519. * @type {Array<Array<(number|string),number,number,number,number>|Array<(number|string),number,number,number,number,number>|*>}
  520. * @extends series.line.data
  521. * @excluding marker
  522. * @product highcharts
  523. * @apioption series.boxplot.data
  524. */
  525. /**
  526. * The `high` value for each data point, signifying the highest value
  527. * in the sample set. The top whisker is drawn here.
  528. *
  529. * @type {number}
  530. * @product highcharts
  531. * @apioption series.boxplot.data.high
  532. */
  533. /**
  534. * The `low` value for each data point, signifying the lowest value
  535. * in the sample set. The bottom whisker is drawn here.
  536. *
  537. * @type {number}
  538. * @product highcharts
  539. * @apioption series.boxplot.data.low
  540. */
  541. /**
  542. * The median for each data point. This is drawn as a line through the
  543. * middle area of the box.
  544. *
  545. * @type {number}
  546. * @product highcharts
  547. * @apioption series.boxplot.data.median
  548. */
  549. /**
  550. * The lower quartile for each data point. This is the bottom of the
  551. * box.
  552. *
  553. * @type {number}
  554. * @product highcharts
  555. * @apioption series.boxplot.data.q1
  556. */
  557. /**
  558. * The higher quartile for each data point. This is the top of the box.
  559. *
  560. * @type {number}
  561. * @product highcharts
  562. * @apioption series.boxplot.data.q3
  563. */
  564. /**
  565. * The dash style of the box.
  566. *
  567. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  568. * Box plot styling
  569. * @sample {highcharts} highcharts/css/boxplot/
  570. * Box plot in styled mode
  571. *
  572. * @type {Highcharts.DashStyleValue}
  573. * @default Solid
  574. * @since 8.1.0
  575. * @product highcharts
  576. * @apioption series.boxplot.data.boxDashStyle
  577. */
  578. /**
  579. * The dash style of the median.
  580. *
  581. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  582. * Box plot styling
  583. * @sample {highcharts} highcharts/css/boxplot/
  584. * Box plot in styled mode
  585. *
  586. * @type {Highcharts.DashStyleValue}
  587. * @default Solid
  588. * @since 8.1.0
  589. * @product highcharts
  590. * @apioption series.boxplot.data.medianDashStyle
  591. */
  592. /**
  593. * The dash style of the stem.
  594. *
  595. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  596. * Box plot styling
  597. * @sample {highcharts} highcharts/css/boxplot/
  598. * Box plot in styled mode
  599. *
  600. * @type {Highcharts.DashStyleValue}
  601. * @default Solid
  602. * @since 8.1.0
  603. * @product highcharts
  604. * @apioption series.boxplot.data.stemDashStyle
  605. */
  606. /**
  607. * The dash style of the whiskers.
  608. *
  609. * @sample {highcharts} highcharts/plotoptions/box-plot-styling/
  610. * Box plot styling
  611. * @sample {highcharts} highcharts/css/boxplot/
  612. * Box plot in styled mode
  613. *
  614. * @type {Highcharts.DashStyleValue}
  615. * @default Solid
  616. * @since 8.1.0
  617. * @product highcharts
  618. * @apioption series.boxplot.data.whiskerDashStyle
  619. */
  620. ''; // adds doclets above to transpiled file