You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/javascript/dataviz/ui/chart.md
+31-29Lines changed: 31 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8275,7 +8275,7 @@ A function that can be used to create a custom visual for the legend items. The
8275
8275
* options - the item options.
8276
8276
* createVisual - a function that can be used to get the default visual.
8277
8277
* series - the item series.
8278
-
* pointIndex - the index of the point in the series. Available for pie, donut and funnel series.
8278
+
* pointIndex - the index of the point in the series. Available for pie, donut, pyramid and funnel series.
8279
8279
8280
8280
#### Example - using custom visual for the legend items
8281
8281
@@ -12678,9 +12678,9 @@ The function should return a series configuration object or a `Promise` that res
12678
12678
12679
12679
### series.segmentSpacing `Number` *(default: 0)*
12680
12680
12681
-
The space in pixels between the different segments of the funnel chart.
12681
+
The space in pixels between the different segments of the funnel and pyramid charts.
12682
12682
12683
-
> The `segmentSpacing` option is supported when [series.type](/api/javascript/dataviz/ui/chart#configuration-series.type) is set to "funnel".
12683
+
> The `segmentSpacing` option is supported when [series.type](/api/javascript/dataviz/ui/chart#configuration-series.type) is set to "funnel" or "pyramid".
12684
12684
12685
12685
#### Example - set the chart series segmentSpacing field
12686
12686
@@ -12787,7 +12787,7 @@ The last element is always created like a rectangle since there is no following
> The `dynamicHeight` option is supported when [series.type](/api/javascript/dataviz/ui/chart#configuration-series.type) is set to "funnel".
12790
+
> The `dynamicHeight` option is supported when [series.type](/api/javascript/dataviz/ui/chart#configuration-series.type) is set to "funnel" or "pyramid".
12791
12791
12792
12792
When set to `false` all segments become with the same height, otherwise the height of each segment is based on its value.
12793
12793
@@ -14410,18 +14410,18 @@ The chart series label configuration.
14410
14410
14411
14411
### series.labels.align `String`
14412
14412
14413
-
The label alignment when [series.type](/api/javascript/dataviz/ui/chart#configuration-series.type) is set to "donut", "funnel" or "pie".
14413
+
The label alignment when [series.type](/api/javascript/dataviz/ui/chart#configuration-series.type) is set to "donut", "funnel", "pyramid" or "pie".
14414
14414
14415
14415
The supported values for "donut" and "pie" are:
14416
14416
14417
14417
* "circle" - the labels are positioned in circle around the chart.
14418
14418
* "column" - the labels are positioned in columns to the left and right of the chart.
14419
14419
14420
-
The supported values for "funnel" are:
14420
+
The supported values for "funnel" and "pyramid" are:
14421
14421
14422
-
* "center" - the labels are positioned in the center over the funnel segment.
14423
-
* "right" - the labels are positioned on the right side of the chart and do not (if there is enough space) overlap the funnel segment(s).
14424
-
* "left" - the labels are positioned on the left side of the chart and do not (if there is enough space) overlap the funnel segment(s).
14422
+
* "center" - the labels are positioned in the center over the segment.
14423
+
* "right" - the labels are positioned on the right side of the chart and do not (if there is enough space) overlap the segment(s).
14424
+
* "left" - the labels are positioned on the left side of the chart and do not (if there is enough space) overlap the segment(s).
14425
14425
14426
14426
14427
14427
#### Example - set the chart series label alignment
@@ -14910,14 +14910,14 @@ The position of the labels.
14910
14910
14911
14911
* "above" - the label is positioned at the top of the marker. **Applicable for series that render points, incl. bubble.**
14912
14912
* "below" - the label is positioned at the bottom of the marker. **Applicable for series that render points, incl. bubble.**
14913
-
* "center" - the label is positioned at the point center. **Applicable for bar, column, donut, pie, funnel, radarColumn and waterfall series.**
14913
+
* "center" - the label is positioned at the point center. **Applicable for bar, column, donut, pie, funnel, pyramid, radarColumn and waterfall series.**
14914
14914
* "insideBase" - the label is positioned inside, near the base of the bar. **Applicable for bar, column and waterfall series.**
14915
14915
* "insideEnd" - the label is positioned inside, near the end of the point. **Applicable for bar, column, donut, pie, radarColumn and waterfall series.**
14916
14916
* "left" - the label is positioned to the left of the marker. **Applicable for series that render points, incl. bubble.**
14917
14917
* "outsideEnd" - the label is positioned outside, near the end of the point. **Applicable for bar, column, donut, pie, radarColumn and waterfall series. Not applicable for stacked series.**
14918
14918
* "right" - the label is positioned to the right of the marker. **Applicable for series that render points, incl. bubble.**
14919
14919
* "top" - the label is positioned at the top of the segment. **Applicable for funnel series.**
14920
-
* "bottom" - the label is positioned at the bottom of the segment. **Applicable for funnel series.**
14920
+
* "bottom" - the label is positioned at the bottom of the segment. **Applicable for funnel and pyramid series.**
14921
14921
* "auto" - the from and to labels area positioned at the top/bottom(rangeArea series) or left/right(verticalRangeArea series) so that they are outside the filled area. **Applicable for rangeArea and verticalRangeArea series.**
A value indicating whether to show the point category name (for funnel, donut and pie series)
17466
+
A value indicating whether to show the point category name (for funnel, pyramid, donut and pie series)
17466
17467
or series name (for other available series types) in the legend.
17467
17468
17468
17469
#### Example - hide a chart series from the legend
@@ -17484,7 +17485,7 @@ or series name (for other available series types) in the legend.
17484
17485
17485
17486
The data item field which indicates whether to show the point category name in the legend.
17486
17487
17487
-
> The `visibleInLegendField` option is supported when [series.type](/api/javascript/dataviz/ui/chart#configuration-series.type) is set to "funnel", "donut" or "pie".
17488
+
> The `visibleInLegendField` option is supported when [series.type](/api/javascript/dataviz/ui/chart#configuration-series.type) is set to "funnel", "pyramid", "donut" or "pie".
17488
17489
17489
17490
#### Example - set the chart series visible in legend field
17490
17491
@@ -17507,7 +17508,7 @@ The data item field which indicates whether to show the point category name in t
17507
17508
17508
17509
### series.visual `Function`
17509
17510
17510
-
A function that can be used to create a custom visual for the points. Applicable for bar, column, pie, donut, funnel, line, scatterLine, rangeBar, rangeColumn and waterfall series. The available argument fields are:
17511
+
A function that can be used to create a custom visual for the points. Applicable for bar, column, pie, donut, funnel, pyramid, line, scatterLine, rangeBar, rangeColumn and waterfall series. The available argument fields are:
17511
17512
17512
17513
* rect - the `kendo.geometry.Rect` that defines where the visual should be rendered.
17513
17514
* options - the point options.
@@ -17526,7 +17527,7 @@ A function that can be used to create a custom visual for the points. Applicable
17526
17527
* startAngle - the segment start angle. Available for donut and pie series.
17527
17528
* endAngle - the segment end angle. Available for donut and pie series.
17528
17529
* center - the segment center point. Available for donut and pie series.
17529
-
* points - the segment points. Available for funnel, line and scatterLine series.
17530
+
* points - the segment points. Available for funnel, pyramid, line and scatterLine series.
17530
17531
17531
17532
#### Example - using custom visual
17532
17533
@@ -19248,14 +19249,14 @@ The position of the labels.
19248
19249
19249
19250
* "above" - the label is positioned at the top of the marker. **Applicable for series that render points, incl. bubble.**
19250
19251
* "below" - the label is positioned at the bottom of the marker. **Applicable for series that render points, incl. bubble.**
19251
-
* "center" - the label is positioned at the point center. **Applicable for bar, column, donut, pie, funnel, radarColumn and waterfall series.**
19252
+
* "center" - the label is positioned at the point center. **Applicable for bar, column, donut, pie, funnel, pyramid, radarColumn and waterfall series.**
19252
19253
* "insideBase" - the label is positioned inside, near the base of the bar. **Applicable for bar, column and waterfall series.**
19253
19254
* "insideEnd" - the label is positioned inside, near the end of the point. **Applicable for bar, column, donut, pie, radarColumn and waterfall series.**
19254
19255
* "left" - the label is positioned to the left of the marker. **Applicable for series that render points, incl. bubble.**
19255
19256
* "outsideEnd" - the label is positioned outside, near the end of the point. **Applicable for bar, column, donut, pie, radarColumn and waterfall series. Not applicable for stacked series.**
19256
19257
* "right" - the label is positioned to the right of the marker. **Applicable for series that render points, incl. bubble.**
19257
-
* "top" - the label is positioned at the top of the segment. **Applicable for funnel series.**
19258
-
* "bottom" - the label is positioned at the bottom of the segment. **Applicable for funnel series.**
19258
+
* "top" - the label is positioned at the top of the segment. **Applicable for funnel and pyramid series.**
19259
+
* "bottom" - the label is positioned at the bottom of the segment. **Applicable for funnel and pyramid series.**
19259
19260
* "auto" - the from and to labels area positioned at the top/bottom(rangeArea series) or left/right(verticalRangeArea series) so that they are outside the filled area. **Applicable for rangeArea and verticalRangeArea series.**
19260
19261
19261
19262
@@ -19302,9 +19303,9 @@ The [template](/api/javascript/kendo/methods/template) which renders the chart s
19302
19303
19303
19304
The fields which can be used in the template are:
19304
19305
19305
-
* category - the category name. Available for area, bar, column, bubble, donut, funnel, line and pie series.
19306
+
* category - the category name. Available for area, bar, column, bubble, donut, funnel, pyramid, line and pie series.
19306
19307
* dataItem - the original data item used to construct the point. Will be null if binding to array.
19307
-
* percentage - the point value represented as a percentage value. Available for donut, funnel and pie series.
19308
+
* percentage - the point value represented as a percentage value. Available for donut, funnel, pyramid and pie series.
19308
19309
* series - the data series
19309
19310
* value - the point value. Can be a number or object containing each bound field.
19310
19311
* runningTotal - the sum of point values since the last "runningTotal" [summary point](/api/javascript/dataviz/ui/chart#configuration-series.summaryField). Available for waterfall series.
@@ -19485,9 +19486,9 @@ The [template](/api/javascript/kendo/methods/template) which renders the chart s
19485
19486
19486
19487
The fields which can be used in the template are:
19487
19488
19488
-
* category - the category name. Available for area, bar, column, bubble, donut, funnel, line and pie series.
19489
+
* category - the category name. Available for area, bar, column, bubble, donut, funnel, pyramid, line and pie series.
19489
19490
* dataItem - the original data item used to construct the point. Will be null if binding to array.
19490
-
* percentage - the point value represented as a percentage value. Available for donut, funnel and pie series.
19491
+
* percentage - the point value represented as a percentage value. Available for donut, funnel, pyramid and pie series.
19491
19492
* series - the data series
19492
19493
* value - the point value. Can be a number or object containing each bound field.
19493
19494
* runningTotal - the sum of point values since the last "runningTotal" [summary point](/api/javascript/dataviz/ui/chart#configuration-series.summaryField). Available for waterfall series.
@@ -19593,9 +19594,9 @@ The [template](/api/javascript/kendo/methods/template) which renders the chart s
19593
19594
19594
19595
The fields which can be used in the template are:
19595
19596
19596
-
* category - the category name. Available for area, bar, column, bubble, donut, funnel, line and pie series.
19597
+
* category - the category name. Available for area, bar, column, bubble, donut, funnel, pyramid, line and pie series.
19597
19598
* dataItem - the original data item used to construct the point. Will be null if binding to array.
19598
-
* percentage - the point value represented as a percentage value. Available for donut, funnel and pie series.
19599
+
* percentage - the point value represented as a percentage value. Available for donut, funnel, pyramid and pie series.
19599
19600
* series - the data series
19600
19601
* value - the point value. Can be a number or object containing each bound field.
19601
19602
* runningTotal - the sum of point values since the last "runningTotal" [summary point](/api/javascript/dataviz/ui/chart#configuration-series.summaryField). Available for waterfall series.
@@ -19877,6 +19878,7 @@ The supported values are:
19877
19878
* column
19878
19879
* donut
19879
19880
* funnel
19881
+
* pyramid
19880
19882
* line
19881
19883
* ohlc
19882
19884
* pie
@@ -20057,7 +20059,7 @@ The format of the labels. Uses [kendo.format](/api/javascript/kendo/methods/form
20057
20059
20058
20060
Format placeholders:
20059
20061
20060
-
* Area, bar, column, funnel, line and pie
20062
+
* Area, bar, column, funnel, pyramid, line and pie
20061
20063
* {0} - value
20062
20064
* Bubble
20063
20065
* {0} - x value
@@ -20330,7 +20332,7 @@ The verticalRangeArea chart series options. Accepts all values supported by the
20330
20332
20331
20333
### seriesDefaults.visual `Function`
20332
20334
20333
-
A function that can be used to create a custom visual for the points. Applicable for bar, column, pie, donut, funnel, line, scatterLine, rangeBar, rangeColumn and waterfall series. The available argument fields are:
20335
+
A function that can be used to create a custom visual for the points. Applicable for bar, column, pie, donut, funnel, pyramid, line, scatterLine, rangeBar, rangeColumn and waterfall series. The available argument fields are:
20334
20336
20335
20337
* rect - the `kendo.geometry.Rect` that defines where the visual should be rendered.
20336
20338
* options - the point options.
@@ -20349,7 +20351,7 @@ A function that can be used to create a custom visual for the points. Applicable
20349
20351
* startAngle - the segment start angle. Available for donut and pie series.
20350
20352
* endAngle - the segment end angle. Available for donut and pie series.
20351
20353
* center - the segment center point. Available for donut and pie series.
20352
-
* points - the segment points. Available for funnel, line and scatterLine series.
20354
+
* points - the segment points. Available for funnel, pyramid, line and scatterLine series.
20353
20355
20354
20356
#### Example - using custom visual
20355
20357
@@ -22341,7 +22343,7 @@ The format of the labels. Uses [kendo.format](/api/javascript/kendo/methods/form
22341
22343
22342
22344
Format placeholders:
22343
22345
22344
-
* Area, bar, column, funnel, line and pie
22346
+
* Area, bar, column, funnel, pyramid, line and pie
22345
22347
* {0} - value
22346
22348
* Bubble
22347
22349
* {0} - x value
@@ -38605,7 +38607,7 @@ Returns a PNG image of the chart encoded as a [Data URL](https://developer.mozil
38605
38607
38606
38608
### toggleHighlight
38607
38609
38608
-
Toggles the highlight of the series points or a segment for pie, donut and funnel charts.
38610
+
Toggles the highlight of the series points or a segment for pie, donut and funnel, pyramid charts.
0 commit comments