BoxPlotSeries.js 22 KB

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