PageSourceSearch

https://www.thionvilletourisme.fr/app/dist/pays-thionvillois/addon…/Series/AreaSpline/AreaSplineSeries.js

js thionvilletourisme.fr collected 2026-09-25 02:41:21 UTC 4,968 bytes, 176 lines download raw bytes

1/* *
2 *
3 *  (c) 2010-2024 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';
11import SplineSeries from '../Spline/SplineSeries.js';
12import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
13const { area: AreaSeries, area: { prototype: areaProto } } = SeriesRegistry.seriesTypes;
14import U from '../../Core/Utilities.js';
15const { extend, merge } = U;
16/* *
17 *
18 *  Class
19 *
20 * */
21/**
22 * AreaSpline series type.
23 *
24 * @private
25 * @class
26 * @name Highcharts.seriesTypes.areaspline
27 *
28 * @augments Highcharts.Series
29 */
30class AreaSplineSeries extends SplineSeries {
31}
32/* *
33 *
34 *  Static Properties
35 *
36 * */
37AreaSplineSeries.defaultOptions = merge(SplineSeries.defaultOptions, AreaSeries.defaultOptions);
38extend(AreaSplineSeries.prototype, {
39    getGraphPath: areaProto.getGraphPath,
40    getStackPoints: areaProto.getStackPoints,
41    drawGraph: areaProto.drawGraph
42});
43SeriesRegistry.registerSeriesType('areaspline', AreaSplineSeries);
44/* *
45 *
46 *  Default Export
47 *
48 * */
49export default AreaSplineSeries;
50/* *
51 *
52 *  API Options
53 *
54 * */
55/**
56 * The area spline series is an area series where the graph between the
57 * points is smoothed into a spline.
58 *
59 * @sample {highcharts} highcharts/demo/areaspline/
60 *         Area spline chart
61 * @sample {highstock} stock/demo/areaspline/
62 *         Area spline chart
63 *
64 * @extends   plotOptions.area
65 * @excluding step, boostThreshold, boostBlending
66 * @product   highcharts highstock
67 * @apioption plotOptions.areaspline
68 */
69/**
70 * @see [fillColor](#plotOptions.areaspline.fillColor)
71 * @see [fillOpacity](#plotOptions.areaspline.fillOpacity)
72 *
73 * @apioption plotOptions.areaspline.color
74 */
75/**
76 * @see [color](#plotOptions.areaspline.color)
77 * @see [fillOpacity](#plotOptions.areaspline.fillOpacity)
78 *
79 * @apioption plotOptions.areaspline.fillColor
80 */
81/**
82 * @see [color](#plotOptions.areaspline.color)
83 * @see [fillColor](#plotOptions.areaspline.fillColor)
84 *
85 * @default   0.75
86 * @apioption plotOptions.areaspline.fillOpacity
87 */
88/**
89 * A `areaspline` series. If the [type](#series.areaspline.type) option
90 * is not specified, it is inherited from [chart.type](#chart.type).
91 *
92 *
93 * @extends   series,plotOptions.areaspline
94 * @excluding dataParser, dataURL, step, boostThreshold, boostBlending
95 * @product   highcharts highstock
96 * @apioption series.areaspline
97 */
98/**
99 * @see [fillColor](#series.areaspline.fillColor)
100 * @see [fillOpacity](#series.areaspline.fillOpacity)
101 *
102 * @apioption series.areaspline.color
103 */
104/**
105 * An array of data points for the series. For the `areaspline` series
106 * type, points can be given in the following ways:
107 *
108 * 1. An array of numerical values. In this case, the numerical values will be
109 *    interpreted as `y` options. The `x` values will be automatically
110 *    calculated, either starting at 0 and incremented by 1, or from
111 *    `pointStart` and `pointInterval` given in the series options. If the axis
112 *    has categories, these will be used. Example:
113 *    ```js
114 *    data: [0, 5, 3, 5]
115 *    ```
116 *
117 * 2. An array of arrays with 2 values. In this case, the values correspond to
118 *    `x,y`. If the first value is a string, it is applied as the name of the
119 *    point, and the `x` value is inferred.
120 *    ```js
121 *    data: [
122 *        [0, 10],
123 *        [1, 9],
124 *        [2, 3]
125 *    ]
126 *    ```
127 *
128 * 3. An array of objects with named values. The following snippet shows only a
129 *    few settings, see the complete options set below. If the total number of
130 *    data points exceeds the series'
131 *    [turboThreshold](#series.areaspline.turboThreshold), this option is not
132 *    available.
133 *    ```js
134 *    data: [{
135 *        x: 1,
136 *        y: 4,
137 *        name: "Point2",
138 *        color: "#00FF00"
139 *    }, {
140 *        x: 1,
141 *        y: 4,
142 *        name: "Point1",
143 *        color: "#FF00FF"
144 *    }]
145 *    ```
146 *
147 * @sample {highcharts} highcharts/chart/reflow-true/
148 *         Numerical values
149 * @sample {highcharts} highcharts/series/data-array-of-arrays/
150 *         Arrays of numeric x and y
151 * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
152 *         Arrays of datetime x and y
153 * @sample {highcharts} highcharts/series/data-array-of-name-value/
154 *         Arrays of point.name and y
155 * @sample {highcharts} highcharts/series/data-array-of-objects/
156 *         Config objects
157 *
158 * @type      {Array<number|Array<(number|string),(number|null)>|null|*>}
159 * @extends   series.line.data
160 * @product   highcharts highstock
161 * @apioption series.areaspline.data
162 */
163/**
164 * @see [color](#series.areaspline.color)
165 * @see [fillOpacity](#series.areaspline.fillOpacity)
166 *
167 * @apioption series.areaspline.fillColor
168 */
169/**
170 * @see [color](#series.areaspline.color)
171 * @see [fillColor](#series.areaspline.fillColor)
172 *
173 * @default   0.75
174 * @apioption series.areaspline.fillOpacity
175 */
176''; // Adds doclets above into transpiled

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.