@splunk/visualizations 28.7.0 → 28.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/Area.js +2 -2
  2. package/Area.js.map +2 -2
  3. package/Bar.js +2 -2
  4. package/Bar.js.map +2 -2
  5. package/Bubble.js +2 -2
  6. package/Bubble.js.map +2 -2
  7. package/CHANGELOG.external.md +26 -0
  8. package/ChoroplethSvg.js +2 -2
  9. package/ChoroplethSvg.js.map +2 -2
  10. package/Column.js +2 -2
  11. package/Column.js.map +2 -2
  12. package/Ellipse.js +2 -2
  13. package/Ellipse.js.map +2 -2
  14. package/Events.js +2 -2
  15. package/Events.js.map +2 -2
  16. package/FillerGauge.js +10 -5
  17. package/FillerGauge.js.map +2 -2
  18. package/Image.js +2 -2
  19. package/Image.js.map +2 -2
  20. package/Line.js +2 -2
  21. package/Line.js.map +2 -2
  22. package/LinkGraph.js +2 -2
  23. package/LinkGraph.js.map +2 -2
  24. package/Map.js +2 -2
  25. package/Map.js.map +2 -2
  26. package/Markdown.config.js +1 -1
  27. package/Markdown.config.js.map +1 -1
  28. package/Markdown.js +3 -3
  29. package/Markdown.js.map +2 -2
  30. package/MarkerGauge.js +10 -5
  31. package/MarkerGauge.js.map +2 -2
  32. package/NetworkGraph.js +2 -2
  33. package/NetworkGraph.js.map +2 -2
  34. package/ParallelCoordinates.js +2 -2
  35. package/ParallelCoordinates.js.map +2 -2
  36. package/Pie.js +2 -2
  37. package/Pie.js.map +2 -2
  38. package/ProcessTree.js +2 -2
  39. package/ProcessTree.js.map +2 -2
  40. package/Punchcard.js +2 -2
  41. package/Punchcard.js.map +2 -2
  42. package/Rectangle.js +2 -2
  43. package/Rectangle.js.map +2 -2
  44. package/RichText/PureRichText/Editor/EditorPanel.d.ts.map +1 -1
  45. package/RichText/PureRichText/InnerEditor.d.ts +10 -0
  46. package/RichText/PureRichText/InnerEditor.d.ts.map +1 -1
  47. package/RichText/PureRichText/PureRichText.d.ts +17 -0
  48. package/RichText/PureRichText/PureRichText.d.ts.map +1 -1
  49. package/RichText/PureRichText/PureRichTextContext.d.ts.map +1 -1
  50. package/RichText/PureRichText/hooks/useContentSave.d.ts +6 -0
  51. package/RichText/PureRichText/hooks/useContentSave.d.ts.map +1 -1
  52. package/RichText/PureRichText/hooks/useContentSync.d.ts +13 -1
  53. package/RichText/PureRichText/hooks/useContentSync.d.ts.map +1 -1
  54. package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts.map +1 -1
  55. package/RichText/PureRichText/hooks/useEditorSetup.d.ts.map +1 -1
  56. package/RichText/PureRichText/hooks/useFakeHighlight.d.ts +1 -16
  57. package/RichText/PureRichText/hooks/useFakeHighlight.d.ts.map +1 -1
  58. package/RichText/PureRichText/hooks/useTokenMap.d.ts +37 -35
  59. package/RichText/PureRichText/hooks/useTokenMap.d.ts.map +1 -1
  60. package/RichText/PureRichText/renderers/LeafRenderer.d.ts +0 -4
  61. package/RichText/PureRichText/renderers/LeafRenderer.d.ts.map +1 -1
  62. package/RichText/PureRichText/types.d.ts +15 -0
  63. package/RichText/PureRichText/types.d.ts.map +1 -1
  64. package/RichText/PureRichText/utils/slateUtils.d.ts.map +1 -1
  65. package/RichText/RichText.d.ts +2 -0
  66. package/RichText/RichText.d.ts.map +1 -1
  67. package/RichText/config.d.ts.map +1 -1
  68. package/RichText.config.js +14 -1
  69. package/RichText.config.js.map +2 -2
  70. package/RichText.js +733 -263
  71. package/RichText.js.map +4 -4
  72. package/Sankey.js +2 -2
  73. package/Sankey.js.map +2 -2
  74. package/Scatter.js +2 -2
  75. package/Scatter.js.map +2 -2
  76. package/SingleValue.js +2 -2
  77. package/SingleValue.js.map +2 -2
  78. package/SingleValueIcon.js +2 -2
  79. package/SingleValueIcon.js.map +2 -2
  80. package/SingleValueRadial.js +2 -2
  81. package/SingleValueRadial.js.map +2 -2
  82. package/Table/PureTable.d.ts +2 -0
  83. package/Table/PureTable.d.ts.map +1 -1
  84. package/Table/config.d.ts.map +1 -1
  85. package/Table.config.js +7 -0
  86. package/Table.config.js.map +2 -2
  87. package/Table.js +91 -9
  88. package/Table.js.map +4 -4
  89. package/Timeline/PureTimeline/PureTimeline.d.ts +6 -5
  90. package/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -1
  91. package/Timeline/PureTimeline/src/CursorPlugin.d.ts +1 -0
  92. package/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +1 -1
  93. package/Timeline/PureTimeline/src/TimelineLegend.d.ts +10 -7
  94. package/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +1 -1
  95. package/Timeline/PureTimeline/src/TimelineTooltip.d.ts +5 -1
  96. package/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +1 -1
  97. package/Timeline/PureTimeline/src/TimelineUplot.d.ts +19 -2
  98. package/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +1 -1
  99. package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -1
  100. package/Timeline/PureTimeline/src/XAxisPlugin.d.ts +1 -0
  101. package/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +1 -1
  102. package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +8 -0
  103. package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -1
  104. package/Timeline.js +449 -211
  105. package/Timeline.js.map +4 -4
  106. package/Treemap/PureTreemap/components/PureTreemap.d.ts +42 -0
  107. package/Treemap/PureTreemap/components/PureTreemap.d.ts.map +1 -0
  108. package/Treemap/PureTreemap/components/TreemapBreadcrumb.d.ts +10 -0
  109. package/Treemap/PureTreemap/components/TreemapBreadcrumb.d.ts.map +1 -0
  110. package/Treemap/PureTreemap/components/TreemapChildCell.d.ts +28 -0
  111. package/Treemap/PureTreemap/components/TreemapChildCell.d.ts.map +1 -0
  112. package/Treemap/PureTreemap/components/TreemapHeader.d.ts +19 -0
  113. package/Treemap/PureTreemap/components/TreemapHeader.d.ts.map +1 -0
  114. package/Treemap/PureTreemap/components/TreemapHoverTarget.d.ts +17 -0
  115. package/Treemap/PureTreemap/components/TreemapHoverTarget.d.ts.map +1 -0
  116. package/Treemap/PureTreemap/components/TreemapLegend.d.ts +20 -0
  117. package/Treemap/PureTreemap/components/TreemapLegend.d.ts.map +1 -0
  118. package/Treemap/PureTreemap/components/TreemapNode.d.ts +5 -0
  119. package/Treemap/PureTreemap/components/TreemapNode.d.ts.map +1 -0
  120. package/Treemap/PureTreemap/components/TreemapParentNode.d.ts +10 -0
  121. package/Treemap/PureTreemap/components/TreemapParentNode.d.ts.map +1 -0
  122. package/Treemap/PureTreemap/components/TreemapStandaloneNode.d.ts +6 -0
  123. package/Treemap/PureTreemap/components/TreemapStandaloneNode.d.ts.map +1 -0
  124. package/Treemap/PureTreemap/components/TreemapTooltip.d.ts +17 -0
  125. package/Treemap/PureTreemap/components/TreemapTooltip.d.ts.map +1 -0
  126. package/Treemap/PureTreemap/mockdata/data.d.ts +90 -0
  127. package/Treemap/PureTreemap/mockdata/data.d.ts.map +1 -0
  128. package/Treemap/PureTreemap/utils/treemapColorUtils.d.ts +67 -0
  129. package/Treemap/PureTreemap/utils/treemapColorUtils.d.ts.map +1 -0
  130. package/Treemap/PureTreemap/utils/treemapDataColorUtils.d.ts +5 -0
  131. package/Treemap/PureTreemap/utils/treemapDataColorUtils.d.ts.map +1 -0
  132. package/Treemap/PureTreemap/utils/treemapDataUtils.d.ts +14 -0
  133. package/Treemap/PureTreemap/utils/treemapDataUtils.d.ts.map +1 -0
  134. package/Treemap/PureTreemap/utils/treemapLayout.d.ts +49 -0
  135. package/Treemap/PureTreemap/utils/treemapLayout.d.ts.map +1 -0
  136. package/Treemap/PureTreemap/utils/treemapNodeUtils.d.ts +81 -0
  137. package/Treemap/PureTreemap/utils/treemapNodeUtils.d.ts.map +1 -0
  138. package/Treemap/PureTreemap/utils/treemapTypes.d.ts +37 -0
  139. package/Treemap/PureTreemap/utils/treemapTypes.d.ts.map +1 -0
  140. package/Treemap/PureTreemap/utils/treemapUtils.d.ts +76 -0
  141. package/Treemap/PureTreemap/utils/treemapUtils.d.ts.map +1 -0
  142. package/Treemap/Treemap.d.ts +12 -0
  143. package/Treemap/Treemap.d.ts.map +1 -0
  144. package/Treemap/config.d.ts +4 -0
  145. package/Treemap/config.d.ts.map +1 -0
  146. package/Treemap/index.d.ts +3 -0
  147. package/Treemap/index.d.ts.map +1 -0
  148. package/Treemap.config.js +465 -0
  149. package/Treemap.config.js.map +7 -0
  150. package/Treemap.js +6233 -0
  151. package/Treemap.js.map +7 -0
  152. package/common/DocExampleWithVizSandbox.js.map +2 -2
  153. package/common/GaugeMajorTicks.js.map +2 -2
  154. package/common/GaugeValueMarker.js +1 -0
  155. package/common/GaugeValueMarker.js.map +2 -2
  156. package/common/OverviewDoc.js.map +2 -2
  157. package/common/docUtils.d.ts.map +1 -1
  158. package/common/docUtils.js +1 -8
  159. package/common/docUtils.js.map +2 -2
  160. package/common/gaugeUtils.d.ts.map +1 -1
  161. package/common/gaugeUtils.js +7 -3
  162. package/common/gaugeUtils.js.map +2 -2
  163. package/common/hocs/FixedSizeContainer.d.ts.map +1 -1
  164. package/common/hooks/useDynamicHeight.d.ts +67 -0
  165. package/common/hooks/useDynamicHeight.d.ts.map +1 -0
  166. package/common/interfaces/VizCategory.d.ts +2 -1
  167. package/common/interfaces/VizCategory.d.ts.map +1 -1
  168. package/common/withDashboardViz.js +2 -2
  169. package/common/withDashboardViz.js.map +2 -2
  170. package/docs-llm/INDEX.md +1 -0
  171. package/docs-llm/area/options.md +84 -84
  172. package/docs-llm/bar/options.md +77 -77
  173. package/docs-llm/bubble/options.md +51 -51
  174. package/docs-llm/choropleth-svg/options.md +5 -5
  175. package/docs-llm/column/options.md +82 -82
  176. package/docs-llm/ellipse/options.md +6 -6
  177. package/docs-llm/events/options.md +6 -6
  178. package/docs-llm/filler-gauge/options.md +16 -16
  179. package/docs-llm/image/options.md +3 -3
  180. package/docs-llm/line/options.md +82 -82
  181. package/docs-llm/link-graph/options.md +16 -16
  182. package/docs-llm/map/options.md +12 -12
  183. package/docs-llm/markdown/options.md +7 -7
  184. package/docs-llm/marker-gauge/options.md +16 -16
  185. package/docs-llm/network-graph/options.md +39 -39
  186. package/docs-llm/parallel-coordinates/options.md +4 -4
  187. package/docs-llm/pie/options.md +23 -23
  188. package/docs-llm/process-tree/options.md +22 -22
  189. package/docs-llm/punchcard/options.md +23 -23
  190. package/docs-llm/pure-rich-text/options.md +6 -5
  191. package/docs-llm/rectangle/options.md +9 -9
  192. package/docs-llm/rich-text/options.md +6 -5
  193. package/docs-llm/sankey/options.md +9 -9
  194. package/docs-llm/scatter/options.md +57 -57
  195. package/docs-llm/single-value/options.md +39 -39
  196. package/docs-llm/single-value-icon/options.md +33 -33
  197. package/docs-llm/single-value-radial/options.md +31 -31
  198. package/docs-llm/table/options.md +14 -13
  199. package/docs-llm/timeline/options.md +17 -17
  200. package/docs-llm/treemap/examples-json.md +5 -0
  201. package/docs-llm/treemap/examples-react.md +5 -0
  202. package/docs-llm/treemap/options.md +26 -0
  203. package/docs-llm/treemap/overview.md +27 -0
  204. package/package.json +28 -27
@@ -6,63 +6,63 @@ Source: `@splunk/visualization-schemas/scatterOptionsSchema`
6
6
 
7
7
  | Option | Type | Default | Description |
8
8
  | --- | --- | --- | --- |
9
- | `backgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". |
10
- | `category` | array<string \| number> \| string | `> primary \| seriesByIndex(2)` | Specify a sequence of dataSource events to be plotted on the chart. |
11
- | `categoryField` | string \| string | `> category \| getField()` | Specify the field that should be mapped to the series categories. |
12
- | `legendDisplay` | string \| string | — | Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. |
13
- | `legendTruncation` | string \| string | `ellipsisEnd` | Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis. |
14
- | `markerSize` | number \| string | `4` | Specify, in pixels, the size of each scatter marker. |
15
- | `resultLimit` | number \| string | `50000` | Specify the number of data points rendered in a chart. |
16
- | `seriesColors` | array<string> \| string | `["#7B56DB","#009CEB","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"]` | Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"]. |
9
+ | `backgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
10
+ | `category` | array<string \| number> | `> primary \| seriesByIndex(2)` | Specify a sequence of dataSource events to be plotted on the chart. Items: string \| number |
11
+ | `categoryField` | string | `> category \| getField()` | Specify the field that should be mapped to the series categories. |
12
+ | `legendDisplay` | string | — | Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. Allowed values: `right`, `left`, `top`, `bottom`, `off` |
13
+ | `legendTruncation` | string | `ellipsisEnd` | Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis. Allowed values: `ellipsisEnd`, `ellipsisMiddle`, `ellipsisStart`, `ellipsisOff` |
14
+ | `markerSize` | number | `4` | Specify, in pixels, the size of each scatter marker. |
15
+ | `resultLimit` | number | `50000` | Specify the number of data points rendered in a chart. |
16
+ | `seriesColors` | array<string> | `["#7B56DB","#009CEB","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"]` | Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"]. Items: string |
17
17
  | `seriesColorsByField` | object | — | Specify the colors to use for specific categories, or series names, derived from distinct values in the selected category field. For example, {"user1": "#008000", "user2": "#FFA500"}. |
18
- | `showRoundedXAxisLabels` | boolean \| string | `false` | Specify whether to round x-axis values to the nearest integer. |
19
- | `showXAxisExtendedRange` | boolean \| string | `true` | Specify whether the x-axis should be extended to snap to whole major tick marks. |
20
- | `showXAxisWithZero` | boolean \| string | `false` | Specify whether the x-axis range includes zero. |
21
- | `showXMinorGridLines` | boolean \| string | `false` | Specify whether minor grid lines are visible on the x-axis. |
22
- | `showYAxisExtendedRange` | boolean \| string | `true` | Specify whether the y-axis should be extended to snap to whole major tick marks. |
23
- | `showYAxisWithZero` | boolean \| string | `false` | Specify whether the y-axis range includes zero. |
24
- | `showYMajorGridLines` | boolean \| string | `true` | Specify whether major grid lines are visible on the y-axis. |
25
- | `showYMinorGridLines` | boolean \| string | `false` | Specify whether minor grid lines are visible on the y-axis. |
26
- | `splitByLayout` | string \| string | `off` | Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category. |
27
- | `trellisBackgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF. |
28
- | `trellisColumns` | number \| string | `3` | Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1. |
29
- | `trellisMinColumnWidth` | number \| string | `250` | Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
30
- | `trellisPageCount` | number \| string | `20` | Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1. |
31
- | `trellisRowHeight` | number \| string | `180` | Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
32
- | `trellisSharedScale` | boolean \| string | `true` | Specify whether all visualizations will share the same scale in the trellis container. |
33
- | `trellisSortBy` | string \| string | `result` | Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, or name to sort alphabetically by visualization label. |
34
- | `trellisSortOrder` | string \| string | `ascending` | Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy. |
35
- | `trellisSplitBy` | string \| string | — | Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field. |
36
- | `x` | array<string \| number> \| string | `> primary \| seriesByIndex(0)` | Specify the dataSource applied to the x-axis. |
37
- | `xAxisAbbreviation` | string \| string | `off` | Specify whether to abbreviate large x-axis values with the closest SI prefix. |
38
- | `xAxisLabelRotation` | number \| string | `0` | Specify the rotation of the x-axis labels in degrees. |
39
- | `xAxisLabelVisibility` | string \| string | `auto` | Specify whether to show or hide labels on the x-axis. |
40
- | `xAxisLineVisibility` | string \| string | `hide` | Specify whether to show or hide the x-axis line. |
41
- | `xAxisMajorTickInterval` | string \| number \| string | `auto` | Specify the spacing interval at which to place major tick marks along the numeric x-axis. By default, this value is automatically calculated based on the scale of the related axis. |
42
- | `xAxisMajorTickSize` | number \| string | `6` | Specify the size, in pixels, of major tick marks on the x-axis. |
43
- | `xAxisMajorTickVisibility` | string \| string | `auto` | Specify whether to show or hide major tick marks on the x-axis. |
44
- | `xAxisMax` | string \| number \| string | `auto` | Specify the maximum number for the range of the visible x-axis. |
45
- | `xAxisMin` | string \| number \| string | `auto` | Specify the minimum number for the range of the visible x-axis. |
46
- | `xAxisMinorTickSize` | number \| string | `6` | Specify the size, in pixels, of minor tick marks on the x-axis. |
47
- | `xAxisMinorTickVisibility` | string \| string | `auto` | Specify whether to show or hide minor tick marks on the x-axis . |
48
- | `xAxisScale` | string \| string | `linear` | Specify the type of scale that applies to a numerical x-axis. |
49
- | `xAxisTitleText` | string \| string | — | Specify the title of the x-axis. |
50
- | `xAxisTitleVisibility` | string \| string | `show` | Specify whether to show or hide the title of the x-axis. |
51
- | `xField` | string \| string | `> x \| getField()` | Specify the field that should be mapped to the x-axis. |
52
- | `y` | array<string \| number> \| string | `> primary \| seriesByIndex(1)` | Specify the dataSource applied to the y-axis. |
53
- | `yAxisAbbreviation` | string \| string | `auto` | Specify whether to abbreviate large y-axis values with the closest SI prefix. |
54
- | `yAxisLabelVisibility` | string \| string | `auto` | Specify whether to show or hide labels on the y-axis. |
55
- | `yAxisLineVisibility` | string \| string | `hide` | Specify whether to show or hide the y-axis line. |
56
- | `yAxisMajorTickInterval` | string \| number \| string | `auto` | Specify the spacing interval at which to place major tick marks along the numeric y-axis. By default, this value is automatically calculated based on the scale of the related axis. |
57
- | `yAxisMajorTickSize` | number \| string | `6` | Specify the size, in pixels, of major tick marks on the y-axis. |
58
- | `yAxisMajorTickVisibility` | string \| string | `auto` | Specify whether to show or hide major tick marks on the y-axis. |
59
- | `yAxisMax` | string \| number \| string | `auto` | Specify the maximum number for the range of the visible y-axis. |
60
- | `yAxisMin` | string \| number \| string | `auto` | Specify the minimum number for the range of the visible y-axis. |
61
- | `yAxisMinorTickSize` | number \| string | `6` | Specify the size, in pixels, of minor tick marks on the y-axis. |
62
- | `yAxisMinorTickVisibility` | string \| string | `auto` | Specify whether to show or hide minor tick marks on the y-axis. |
63
- | `yAxisScale` | string \| string | `linear` | Specify the type of scale that applies to a numerical y-axis. |
64
- | `yAxisTitleText` | string \| string | — | Specify the title of the y-axis. |
65
- | `yAxisTitleVisibility` | string \| string | `show` | Specify whether to show or hide the title of the y-axis. |
66
- | `yField` | string \| string | `> y \| getField()` | Specify the field that should be mapped to the y-axis. |
18
+ | `showRoundedXAxisLabels` | boolean | `false` | Specify whether to round x-axis values to the nearest integer. |
19
+ | `showXAxisExtendedRange` | boolean | `true` | Specify whether the x-axis should be extended to snap to whole major tick marks. |
20
+ | `showXAxisWithZero` | boolean | `false` | Specify whether the x-axis range includes zero. |
21
+ | `showXMinorGridLines` | boolean | `false` | Specify whether minor grid lines are visible on the x-axis. |
22
+ | `showYAxisExtendedRange` | boolean | `true` | Specify whether the y-axis should be extended to snap to whole major tick marks. |
23
+ | `showYAxisWithZero` | boolean | `false` | Specify whether the y-axis range includes zero. |
24
+ | `showYMajorGridLines` | boolean | `true` | Specify whether major grid lines are visible on the y-axis. |
25
+ | `showYMinorGridLines` | boolean | `false` | Specify whether minor grid lines are visible on the y-axis. |
26
+ | `splitByLayout` | string | `off` | Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category. Allowed values: `off`, `trellis` |
27
+ | `trellisBackgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
28
+ | `trellisColumns` | number | `3` | Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1. Range: min 1 |
29
+ | `trellisMinColumnWidth` | number | `250` | Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. Range: min 1 |
30
+ | `trellisPageCount` | number | `20` | Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1. Range: min 1 |
31
+ | `trellisRowHeight` | number | `180` | Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. Range: min 1 |
32
+ | `trellisSharedScale` | boolean | `true` | Specify whether all visualizations will share the same scale in the trellis container. |
33
+ | `trellisSortBy` | string | `result` | Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, or name to sort alphabetically by visualization label. Allowed values: `result`, `name` |
34
+ | `trellisSortOrder` | string | `ascending` | Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy. Allowed values: `ascending`, `descending` |
35
+ | `trellisSplitBy` | string | — | Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field. |
36
+ | `x` | array<string \| number> | `> primary \| seriesByIndex(0)` | Specify the dataSource applied to the x-axis. Items: string \| number |
37
+ | `xAxisAbbreviation` | string | `off` | Specify whether to abbreviate large x-axis values with the closest SI prefix. Allowed values: `off`, `auto` |
38
+ | `xAxisLabelRotation` | number | `0` | Specify the rotation of the x-axis labels in degrees. Allowed values: `-90`, `-45`, `0`, `45`, `90` |
39
+ | `xAxisLabelVisibility` | string | `auto` | Specify whether to show or hide labels on the x-axis. Allowed values: `auto`, `show`, `hide` |
40
+ | `xAxisLineVisibility` | string | `hide` | Specify whether to show or hide the x-axis line. Allowed values: `hide`, `show` |
41
+ | `xAxisMajorTickInterval` | string \| number | `auto` | Specify the spacing interval at which to place major tick marks along the numeric x-axis. By default, this value is automatically calculated based on the scale of the related axis. |
42
+ | `xAxisMajorTickSize` | number | `6` | Specify the size, in pixels, of major tick marks on the x-axis. |
43
+ | `xAxisMajorTickVisibility` | string | `auto` | Specify whether to show or hide major tick marks on the x-axis. Allowed values: `auto`, `show`, `hide` |
44
+ | `xAxisMax` | string \| number | `auto` | Specify the maximum number for the range of the visible x-axis. |
45
+ | `xAxisMin` | string \| number | `auto` | Specify the minimum number for the range of the visible x-axis. |
46
+ | `xAxisMinorTickSize` | number | `6` | Specify the size, in pixels, of minor tick marks on the x-axis. |
47
+ | `xAxisMinorTickVisibility` | string | `auto` | Specify whether to show or hide minor tick marks on the x-axis . Allowed values: `auto`, `show`, `hide` |
48
+ | `xAxisScale` | string | `linear` | Specify the type of scale that applies to a numerical x-axis. Allowed values: `linear`, `log` |
49
+ | `xAxisTitleText` | string | — | Specify the title of the x-axis. |
50
+ | `xAxisTitleVisibility` | string | `show` | Specify whether to show or hide the title of the x-axis. Allowed values: `hide`, `show` |
51
+ | `xField` | string | `> x \| getField()` | Specify the field that should be mapped to the x-axis. |
52
+ | `y` | array<string \| number> | `> primary \| seriesByIndex(1)` | Specify the dataSource applied to the y-axis. Items: string \| number |
53
+ | `yAxisAbbreviation` | string | `auto` | Specify whether to abbreviate large y-axis values with the closest SI prefix. Allowed values: `off`, `auto` |
54
+ | `yAxisLabelVisibility` | string | `auto` | Specify whether to show or hide labels on the y-axis. Allowed values: `auto`, `show`, `hide` |
55
+ | `yAxisLineVisibility` | string | `hide` | Specify whether to show or hide the y-axis line. Allowed values: `hide`, `show` |
56
+ | `yAxisMajorTickInterval` | string \| number | `auto` | Specify the spacing interval at which to place major tick marks along the numeric y-axis. By default, this value is automatically calculated based on the scale of the related axis. |
57
+ | `yAxisMajorTickSize` | number | `6` | Specify the size, in pixels, of major tick marks on the y-axis. |
58
+ | `yAxisMajorTickVisibility` | string | `auto` | Specify whether to show or hide major tick marks on the y-axis. Allowed values: `auto`, `show`, `hide` |
59
+ | `yAxisMax` | string \| number | `auto` | Specify the maximum number for the range of the visible y-axis. |
60
+ | `yAxisMin` | string \| number | `auto` | Specify the minimum number for the range of the visible y-axis. |
61
+ | `yAxisMinorTickSize` | number | `6` | Specify the size, in pixels, of minor tick marks on the y-axis. |
62
+ | `yAxisMinorTickVisibility` | string | `auto` | Specify whether to show or hide minor tick marks on the y-axis. Allowed values: `auto`, `show`, `hide` |
63
+ | `yAxisScale` | string | `linear` | Specify the type of scale that applies to a numerical y-axis. Allowed values: `linear`, `log` |
64
+ | `yAxisTitleText` | string | — | Specify the title of the y-axis. |
65
+ | `yAxisTitleVisibility` | string | `show` | Specify whether to show or hide the title of the y-axis. Allowed values: `hide`, `show` |
66
+ | `yField` | string | `> y \| getField()` | Specify the field that should be mapped to the y-axis. |
67
67
 
68
68
  _Auto-generated; do not edit by hand._
@@ -6,44 +6,44 @@ Source: `@splunk/visualization-schemas/singleValueOptionsSchema`
6
6
 
7
7
  | Option | Type | Default | Description |
8
8
  | --- | --- | --- | --- |
9
- | `align` | string \| string | `center` | Specify how to align the center content. |
10
- | `backgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". |
11
- | `majorColor` | string \| string | `> themes.defaultFontColor` | Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". |
12
- | `majorFontSize` | number \| string | — | Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space. |
13
- | `majorValue` | string \| number \| string | `> sparklineValues\|lastPoint()` | The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified. |
14
- | `majorValueDisplay` | string \| number \| string | `> majorValue` | The formatted version of majorValue displayed in the visualization. |
15
- | `majorValueField` | string \| string | `> majorValue \| getField()` | The field name of major value. |
16
- | `numberPrecision` | number \| string | `0` | Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20. |
17
- | `shouldAbbreviateMajorValue` | boolean \| string | `false` | Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed. |
18
- | `shouldAbbreviateTrendValue` | boolean \| string | `false` | Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed. |
19
- | `shouldSparklineAcceptNullData` | boolean \| string | `true` | Deprecated: Use sparklineNullValueDisplay instead. Specify whether to convert null and non-numeric values in the sparkline to 0. |
20
- | `shouldUseThousandSeparators` | boolean \| string | `true` | Specify whether numeric values use commas as thousandths separators. |
21
- | `showSparklineAreaGraph` | boolean \| string | `false` | Specify whether to show the sparkline as an area graph rather than a line. |
22
- | `showSparklineTooltip` | boolean \| string | `false` | Show a tooltip to display values on the sparkline. |
23
- | `sparklineAreaColor` | string \| string | `> sparklineStrokeColor` | Specify the color for the sparkline area fill. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The graph area will have an opacity of 20% and will blend with the background color. |
24
- | `sparklineDisplay` | string \| string | `below` | Specify how to display a sparkline. |
25
- | `sparklineHighlightDots` | number \| string | `0` | Specify the number of markers, or dots, to display at the top of a sparkline area graph. |
26
- | `sparklineHighlightSegments` | number \| string | `0` | Specify the number of segments to be highlighted at the top of a sparkline area graph. |
27
- | `sparklineNullValueDisplay` | string \| string | `gaps` | Specify the handling of null values for sparkline. "gaps" shows breaks in the line (default), "zero" treats null as 0, "connect" connects points across nulls. |
28
- | `sparklineStrokeColor` | string \| string | `> themes.defaultSparklineStrokeColor` | Specify the color for the sparkline stroke. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". |
29
- | `sparklineValues` | array<string \| number> \| string | `> primary\|seriesByPrioritizedTypes("number", "string", "time")` | List of numerical values to display on a sparkline. If the values are string type, the sparkline will not be shown. |
30
- | `splitByLayout` | string \| string | `off` | Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category. |
31
- | `trellisBackgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF. |
32
- | `trellisColumns` | number \| string | — | Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1. |
33
- | `trellisMinColumnWidth` | number \| string | `100` | Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
34
- | `trellisPageCount` | number \| string | `20` | Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1. |
35
- | `trellisRowHeight` | number \| string | `70` | Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
36
- | `trellisSortBy` | string \| string | `result` | Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, value to sort by the major value, or trend to sort by the trend value. |
37
- | `trellisSortOrder` | string \| string | `ascending` | Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy. |
38
- | `trellisSplitBy` | string \| string | — | Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field. |
39
- | `trendColor` | string \| string | `> themes.defaultFontColor` | Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". |
40
- | `trendDisplay` | string \| string | `absolute` | Specify how to display the trend value. |
41
- | `trendFontSize` | number \| string | — | Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space. |
42
- | `trendValue` | number \| string | `> sparklineValues\|delta(-2)` | The trend value to display in the visualization. |
43
- | `underLabel` | string \| string | — | Specify the text that appears below the major value. |
44
- | `underLabelColor` | string \| string | `> majorColor` | Specify the color for the under label text. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. By default it follows the major value color. |
45
- | `underLabelFontSize` | number \| string | `12` | Specify the font size (px) for the under label text. |
46
- | `unit` | string \| string | — | Specify text to show next to the major value. |
47
- | `unitPosition` | string \| string | `after` | Specify whether the unit text should appear before or after the major value. |
9
+ | `align` | string | `center` | Specify how to align the center content. Allowed values: `left`, `center`, `right` |
10
+ | `backgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
11
+ | `majorColor` | string | `> themes.defaultFontColor` | Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
12
+ | `majorFontSize` | number | — | Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space. |
13
+ | `majorValue` | string \| number | `> sparklineValues\|lastPoint()` | The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified. |
14
+ | `majorValueDisplay` | string \| number | `> majorValue` | The formatted version of majorValue displayed in the visualization. |
15
+ | `majorValueField` | string | `> majorValue \| getField()` | The field name of major value. |
16
+ | `numberPrecision` | number | `0` | Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20. Range: min 0, max 20 |
17
+ | `shouldAbbreviateMajorValue` | boolean | `false` | Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed. |
18
+ | `shouldAbbreviateTrendValue` | boolean | `false` | Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed. |
19
+ | `shouldSparklineAcceptNullData` | boolean | `true` | Deprecated: Use sparklineNullValueDisplay instead. Specify whether to convert null and non-numeric values in the sparkline to 0. |
20
+ | `shouldUseThousandSeparators` | boolean | `true` | Specify whether numeric values use commas as thousandths separators. |
21
+ | `showSparklineAreaGraph` | boolean | `false` | Specify whether to show the sparkline as an area graph rather than a line. |
22
+ | `showSparklineTooltip` | boolean | `false` | Show a tooltip to display values on the sparkline. |
23
+ | `sparklineAreaColor` | string | `> sparklineStrokeColor` | Specify the color for the sparkline area fill. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The graph area will have an opacity of 20% and will blend with the background color. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
24
+ | `sparklineDisplay` | string | `below` | Specify how to display a sparkline. Allowed values: `before`, `after`, `below`, `off` |
25
+ | `sparklineHighlightDots` | number | `0` | Specify the number of markers, or dots, to display at the top of a sparkline area graph. |
26
+ | `sparklineHighlightSegments` | number | `0` | Specify the number of segments to be highlighted at the top of a sparkline area graph. |
27
+ | `sparklineNullValueDisplay` | string | `gaps` | Specify the handling of null values for sparkline. "gaps" shows breaks in the line (default), "zero" treats null as 0, "connect" connects points across nulls. Allowed values: `gaps`, `zero`, `connect` |
28
+ | `sparklineStrokeColor` | string | `> themes.defaultSparklineStrokeColor` | Specify the color for the sparkline stroke. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
29
+ | `sparklineValues` | array<string \| number> | `> primary\|seriesByPrioritizedTypes("number", "string", "time")` | List of numerical values to display on a sparkline. If the values are string type, the sparkline will not be shown. Items: string \| number |
30
+ | `splitByLayout` | string | `off` | Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category. Allowed values: `off`, `trellis` |
31
+ | `trellisBackgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
32
+ | `trellisColumns` | number | — | Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1. Range: min 1 |
33
+ | `trellisMinColumnWidth` | number | `100` | Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. Range: min 1 |
34
+ | `trellisPageCount` | number | `20` | Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1. Range: min 1 |
35
+ | `trellisRowHeight` | number | `70` | Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. Range: min 1 |
36
+ | `trellisSortBy` | string | `result` | Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, value to sort by the major value, or trend to sort by the trend value. Allowed values: `result`, `name`, `value`, `trend` |
37
+ | `trellisSortOrder` | string | `ascending` | Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy. Allowed values: `ascending`, `descending` |
38
+ | `trellisSplitBy` | string | — | Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field. |
39
+ | `trendColor` | string | `> themes.defaultFontColor` | Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
40
+ | `trendDisplay` | string | `absolute` | Specify how to display the trend value. Allowed values: `percent`, `absolute`, `off` |
41
+ | `trendFontSize` | number | — | Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space. |
42
+ | `trendValue` | number | `> sparklineValues\|delta(-2)` | The trend value to display in the visualization. |
43
+ | `underLabel` | string | — | Specify the text that appears below the major value. |
44
+ | `underLabelColor` | string | `> majorColor` | Specify the color for the under label text. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. By default it follows the major value color. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
45
+ | `underLabelFontSize` | number | `12` | Specify the font size (px) for the under label text. |
46
+ | `unit` | string | — | Specify text to show next to the major value. |
47
+ | `unitPosition` | string | `after` | Specify whether the unit text should appear before or after the major value. Allowed values: `before`, `after` |
48
48
 
49
49
  _Auto-generated; do not edit by hand._
@@ -6,38 +6,38 @@ Source: `@splunk/visualization-schemas/singleValueIconOptionsSchema`
6
6
 
7
7
  | Option | Type | Default | Description |
8
8
  | --- | --- | --- | --- |
9
- | `align` | string \| string | `center` | Specify how to align the center content. |
10
- | `backgroundColor` | string \| string | `transparent` | Specify the color for the background. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. |
11
- | `icon` | string \| string | `default` | Specify an icon. |
12
- | `iconColor` | string \| string | `null` | Specify the color for the icon. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". |
13
- | `iconOpacity` | number \| string | `1` | Specify the opacity for the icon using a number between 0 and 1 (inclusive). |
14
- | `iconPosition` | string \| string | `before` | Specify where to display the icon in relation to the major value. |
15
- | `majorColor` | string \| string | `> themes.defaultFontColor` | Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". |
16
- | `majorFontSize` | number \| string | — | Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space. |
17
- | `majorValue` | string \| number \| string | `> primary\|seriesByPrioritizedTypes("number", "string", "time")\|lastPoint()` | The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified. |
18
- | `majorValueDisplay` | string \| number \| string | `> majorValue` | The formatted version of majorValue displayed in the visualization. |
19
- | `majorValueField` | string \| string | `> majorValue \| getField()` | The field name of major value. |
20
- | `numberPrecision` | number \| string | `0` | Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20. |
21
- | `shouldAbbreviateMajorValue` | boolean \| string | `false` | Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed. |
22
- | `shouldAbbreviateTrendValue` | boolean \| string | `false` | Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed. |
23
- | `shouldUseThousandSeparators` | boolean \| string | `true` | Specify whether numeric values use commas as thousandths separators. |
24
- | `showValue` | boolean \| string | `true` | Specify whether to enable or disable the value and trend indicator displays. |
25
- | `splitByLayout` | string \| string | `off` | Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category. |
26
- | `trellisBackgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF. |
27
- | `trellisColumns` | number \| string | — | Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1. |
28
- | `trellisMinColumnWidth` | number \| string | `100` | Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
29
- | `trellisPageCount` | number \| string | `20` | Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1. |
30
- | `trellisRowHeight` | number \| string | `70` | Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
31
- | `trellisSortBy` | string \| string | `result` | Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, value to sort by the major value, or trend to sort by the trend value. |
32
- | `trellisSortOrder` | string \| string | `ascending` | Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy. |
33
- | `trellisSplitBy` | string \| string | — | Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field. |
34
- | `trendColor` | string \| string | `> themes.defaultFontColor` | Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". |
35
- | `trendDisplay` | string \| string | `absolute` | Specify whether the trend value is displayed as a percentage or an absolute count. |
36
- | `trendFontSize` | number \| string | — | Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space. |
37
- | `trendValue` | number \| string | `> primary\|seriesByPrioritizedTypes("number", "string", "time")\|delta(-2)` | The trend value to display in the visualization. |
38
- | `underLabel` | string \| string | — | Specify the text that appears below the major value. |
39
- | `underLabelColor` | string \| string | `> majorColor` | Specify the color for the under label text. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. By default it follows the major value color. |
40
- | `unit` | string \| string | — | Specify text to show next to the major value. |
41
- | `unitPosition` | string \| string | `after` | Specify whether the unit text should appear before or after the major value. |
9
+ | `align` | string | `center` | Specify how to align the center content. Allowed values: `left`, `center`, `right` |
10
+ | `backgroundColor` | string | `transparent` | Specify the color for the background. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
11
+ | `icon` | string | `default` | Specify an icon. |
12
+ | `iconColor` | string | `null` | Specify the color for the icon. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
13
+ | `iconOpacity` | number | `1` | Specify the opacity for the icon using a number between 0 and 1 (inclusive). |
14
+ | `iconPosition` | string | `before` | Specify where to display the icon in relation to the major value. |
15
+ | `majorColor` | string | `> themes.defaultFontColor` | Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
16
+ | `majorFontSize` | number | — | Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space. |
17
+ | `majorValue` | string \| number | `> primary\|seriesByPrioritizedTypes("number", "string", "time")\|lastPoint()` | The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified. |
18
+ | `majorValueDisplay` | string \| number | `> majorValue` | The formatted version of majorValue displayed in the visualization. |
19
+ | `majorValueField` | string | `> majorValue \| getField()` | The field name of major value. |
20
+ | `numberPrecision` | number | `0` | Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20. Range: min 0, max 20 |
21
+ | `shouldAbbreviateMajorValue` | boolean | `false` | Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed. |
22
+ | `shouldAbbreviateTrendValue` | boolean | `false` | Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed. |
23
+ | `shouldUseThousandSeparators` | boolean | `true` | Specify whether numeric values use commas as thousandths separators. |
24
+ | `showValue` | boolean | `true` | Specify whether to enable or disable the value and trend indicator displays. |
25
+ | `splitByLayout` | string | `off` | Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category. Allowed values: `off`, `trellis` |
26
+ | `trellisBackgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
27
+ | `trellisColumns` | number | — | Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1. Range: min 1 |
28
+ | `trellisMinColumnWidth` | number | `100` | Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. Range: min 1 |
29
+ | `trellisPageCount` | number | `20` | Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1. Range: min 1 |
30
+ | `trellisRowHeight` | number | `70` | Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. Range: min 1 |
31
+ | `trellisSortBy` | string | `result` | Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, value to sort by the major value, or trend to sort by the trend value. Allowed values: `result`, `name`, `value`, `trend` |
32
+ | `trellisSortOrder` | string | `ascending` | Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy. Allowed values: `ascending`, `descending` |
33
+ | `trellisSplitBy` | string | — | Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field. |
34
+ | `trendColor` | string | `> themes.defaultFontColor` | Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
35
+ | `trendDisplay` | string | `absolute` | Specify whether the trend value is displayed as a percentage or an absolute count. Allowed values: `off`, `percent`, `absolute` |
36
+ | `trendFontSize` | number | — | Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space. |
37
+ | `trendValue` | number | `> primary\|seriesByPrioritizedTypes("number", "string", "time")\|delta(-2)` | The trend value to display in the visualization. |
38
+ | `underLabel` | string | — | Specify the text that appears below the major value. |
39
+ | `underLabelColor` | string | `> majorColor` | Specify the color for the under label text. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. By default it follows the major value color. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
40
+ | `unit` | string | — | Specify text to show next to the major value. |
41
+ | `unitPosition` | string | `after` | Specify whether the unit text should appear before or after the major value. Allowed values: `before`, `after` |
42
42
 
43
43
  _Auto-generated; do not edit by hand._
@@ -6,36 +6,36 @@ Source: `@splunk/visualization-schemas/singleValueRadialOptionsSchema`
6
6
 
7
7
  | Option | Type | Default | Description |
8
8
  | --- | --- | --- | --- |
9
- | `backgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color for the background. The hex value format should be “#ffffff”. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". |
10
- | `gaugeRanges` | array<object> \| string | `> majorColorEditorConfig` | Specify the overall range of the gauge as a series of continuous, color-coded subranges. For example, [{"to": 20, "value": "#4BEBA8"}, {"from": 20, "to": 50, "value": "#D41F1F"}, {"from": 50, "value": "#F4DF7A"}]. Must be unbounded, open ranges. Ranges are bound by a separate minValue/maxValue option. Only configured if isGaugeOn is true. |
11
- | `isGaugeOn` | boolean \| string | `false` | Specify if gauge is on. |
12
- | `majorColor` | string \| string | `> themes.defaultFontColor` | Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#ffffff”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". |
13
- | `majorValue` | string \| number \| string | `> primary \| seriesByPrioritizedTypes("number", "string", "time") \| lastPoint()` | The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified. |
14
- | `majorValueDisplay` | string \| number \| string | `> majorValue` | The formatted version of majorValue displayed in the visualization. |
15
- | `majorValueField` | string \| string | `> majorValue \| getField()` | Specify the field that should be mapped to the major value. |
16
- | `maxValue` | number \| string | `100` | Specify the value the radial fills up to. |
17
- | `minValue` | number \| string | `0` | Specify the min value of the radial. |
18
- | `numberPrecision` | number \| string | `0` | Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20. |
19
- | `radialBackgroundColor` | string \| string | `> themes.defaultRadialBackgroundColor` | Specify the color for the radial background. The hex value format should be “#ffffff”. The default for enterprise light is "rgba(0, 0, 0, 0.1)". The default for enterprise dark is "rgba(255, 255, 255, 0.15)". The default for prisma dark is "rgba(255, 255, 255, 0.15)". |
20
- | `radialStrokeColor` | string \| string | `> majorColor` | Specify the color for the radial. You may use a dataSource to apply the color. The hex value format should be “#ffffff”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". |
21
- | `shouldAbbreviateMajorValue` | boolean \| string | `false` | Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed. |
22
- | `shouldAbbreviateTrendValue` | boolean \| string | `false` | Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed. |
23
- | `shouldUseThousandSeparators` | boolean \| string | `true` | Specify whether numeric values use commas as thousandths separators. |
24
- | `splitByLayout` | string \| string | `off` | Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category. |
25
- | `trellisBackgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF. |
26
- | `trellisColumns` | number \| string | — | Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1. |
27
- | `trellisMinColumnWidth` | number \| string | `120` | Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
28
- | `trellisPageCount` | number \| string | `20` | Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1. |
29
- | `trellisRowHeight` | number \| string | `100` | Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. |
30
- | `trellisSortBy` | string \| string | `result` | Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, value to sort by the major value, or trend to sort by the trend value. |
31
- | `trellisSortOrder` | string \| string | `ascending` | Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy. |
32
- | `trellisSplitBy` | string \| string | — | Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field. |
33
- | `trendColor` | string \| string | `> themes.defaultFontColor` | Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". |
34
- | `trendDisplay` | string \| string | `absolute` | Specify how to display the trend value. |
35
- | `trendValue` | number \| string | `> primary \| seriesByPrioritizedTypes("number", "string", "time") \| delta(-2)` | Specify the dataSource applied to the trend value. |
36
- | `underLabel` | string \| string | — | Specify the text that appears below the major value. |
37
- | `underLabelColor` | string \| string | `> majorColor` | Specify the color for the under label text. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. By default it follows the major value color. |
38
- | `unit` | string \| string | — | Specify text to show next to the major value. |
39
- | `unitPosition` | string \| string | `after` | Specify whether the unit text should appear before or after the major value. |
9
+ | `backgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color for the background. The hex value format should be “#ffffff”. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
10
+ | `gaugeRanges` | array<object> | `> majorColorEditorConfig` | Specify the overall range of the gauge as a series of continuous, color-coded subranges. For example, [{"to": 20, "value": "#4BEBA8"}, {"from": 20, "to": 50, "value": "#D41F1F"}, {"from": 50, "value": "#F4DF7A"}]. Must be unbounded, open ranges. Ranges are bound by a separate minValue/maxValue option. Only configured if isGaugeOn is true. Items: object |
11
+ | `isGaugeOn` | boolean | `false` | Specify if gauge is on. |
12
+ | `majorColor` | string | `> themes.defaultFontColor` | Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#ffffff”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
13
+ | `majorValue` | string \| number | `> primary \| seriesByPrioritizedTypes("number", "string", "time") \| lastPoint()` | The raw value to display and used to calculate trendValue. It is not displayed if majorValueDisplay is specified. |
14
+ | `majorValueDisplay` | string \| number | `> majorValue` | The formatted version of majorValue displayed in the visualization. |
15
+ | `majorValueField` | string | `> majorValue \| getField()` | Specify the field that should be mapped to the major value. |
16
+ | `maxValue` | number | `100` | Specify the value the radial fills up to. |
17
+ | `minValue` | number | `0` | Specify the min value of the radial. |
18
+ | `numberPrecision` | number | `0` | Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20. Range: min 0, max 20 |
19
+ | `radialBackgroundColor` | string | `> themes.defaultRadialBackgroundColor` | Specify the color for the radial background. The hex value format should be “#ffffff”. The default for enterprise light is "rgba(0, 0, 0, 0.1)". The default for enterprise dark is "rgba(255, 255, 255, 0.15)". The default for prisma dark is "rgba(255, 255, 255, 0.15)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
20
+ | `radialStrokeColor` | string | `> majorColor` | Specify the color for the radial. You may use a dataSource to apply the color. The hex value format should be “#ffffff”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
21
+ | `shouldAbbreviateMajorValue` | boolean | `false` | Specify whether to abbreviate the major value to 2 decimal points. A magnitude unit will be displayed. |
22
+ | `shouldAbbreviateTrendValue` | boolean | `false` | Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed. |
23
+ | `shouldUseThousandSeparators` | boolean | `true` | Specify whether numeric values use commas as thousandths separators. |
24
+ | `splitByLayout` | string | `off` | Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category. Allowed values: `off`, `trellis` |
25
+ | `trellisBackgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
26
+ | `trellisColumns` | number | — | Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1. Range: min 1 |
27
+ | `trellisMinColumnWidth` | number | `120` | Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. Range: min 1 |
28
+ | `trellisPageCount` | number | `20` | Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1. Range: min 1 |
29
+ | `trellisRowHeight` | number | `100` | Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1. Range: min 1 |
30
+ | `trellisSortBy` | string | `result` | Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, value to sort by the major value, or trend to sort by the trend value. Allowed values: `result`, `name`, `value`, `trend` |
31
+ | `trellisSortOrder` | string | `ascending` | Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy. Allowed values: `ascending`, `descending` |
32
+ | `trellisSplitBy` | string | — | Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field. |
33
+ | `trendColor` | string | `> themes.defaultFontColor` | Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
34
+ | `trendDisplay` | string | `absolute` | Specify how to display the trend value. Allowed values: `percent`, `absolute`, `off` |
35
+ | `trendValue` | number | `> primary \| seriesByPrioritizedTypes("number", "string", "time") \| delta(-2)` | Specify the dataSource applied to the trend value. |
36
+ | `underLabel` | string | — | Specify the text that appears below the major value. |
37
+ | `underLabelColor` | string | `> majorColor` | Specify the color for the under label text. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. By default it follows the major value color. Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
38
+ | `unit` | string | — | Specify text to show next to the major value. |
39
+ | `unitPosition` | string | `after` | Specify whether the unit text should appear before or after the major value. Allowed values: `before`, `after` |
40
40
 
41
41
  _Auto-generated; do not edit by hand._
@@ -6,20 +6,21 @@ Source: `@splunk/visualization-schemas/tableOptionsSchema`
6
6
 
7
7
  | Option | Type | Default | Description |
8
8
  | --- | --- | --- | --- |
9
- | `backgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color for the background. You might use a data source to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E". |
9
+ | `backgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color for the background. You might use a data source to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
10
10
  | `columnFormat` | object | — | Lets you format an individual column in a table. Specify a column in a table as a field, followed by a property. For more information, see the Column Format Align - Left example on the Examples page. |
11
- | `count` | number \| string | `10` | Specify the maximum number of rows to display. |
12
- | `font` | string \| string | `proportional` | Specify the font style to use for table content. |
13
- | `fontSize` | string \| string | `default` | Specify the font size to use for table content. Font sizes range from extra small (10px) to large (16px) with the default being 14px. |
14
- | `headers` | array<string> \| string | `> table \| getField()` | Specify an array of headers to display on the table. Though these can be statically listed, it's best to use the dynamic default, as it will return the fields of your search. |
15
- | `headerVisibility` | string \| string | `inline` | Specify how to display the table header row. |
16
- | `paginateDataSourceKey` | string \| string | `primary` | Specify the data source key for pagination and sorting. |
17
- | `showColumnAsExpandedJson` | string \| array<string> \| string | — | Specify row expansion content as stringified JSON. Provide either a DSL expression that resolves to an array of stringified JSON values, or a static array of stringified JSON values. Each item is rendered in the matching expanded row with JSONTree. |
18
- | `showFooterPercentages` | boolean \| string | `false` | Specify whether to show a row at the bottom of the table that displays percentage values for applicable columns. |
19
- | `showFooterTotals` | boolean \| string | `false` | Specify whether to show a row at the bottom of the table that displays total values for applicable columns. |
20
- | `showInternalFields` | boolean \| string | `true` | Specify whether to show internal fields that start with an underscore. The _time field will still be shown if false. |
21
- | `showRowNumbers` | boolean \| string | `false` | Show row numbers in the first column. |
22
- | `table` | array<array<string \| number \| array<string \| number>>> \| string | `> primary` | Two dimensional array of data to be displayed in the table. |
11
+ | `count` | number | `10` | Specify the maximum number of rows to display. |
12
+ | `dynamicHeight` | boolean | `false` | In view mode, allow the table to grow or shrink to fit the data. Ignored in edit mode. |
13
+ | `font` | string | `proportional` | Specify the font style to use for table content. Allowed values: `proportional`, `monospace` |
14
+ | `fontSize` | string | `default` | Specify the font size to use for table content. Font sizes range from extra small (10px) to large (16px) with the default being 14px. Allowed values: `extraSmall`, `small`, `default`, `large` |
15
+ | `headers` | array<string> | `> table \| getField()` | Specify an array of headers to display on the table. Though these can be statically listed, it's best to use the dynamic default, as it will return the fields of your search. Items: string |
16
+ | `headerVisibility` | string | `inline` | Specify how to display the table header row. Allowed values: `none`, `fixed`, `inline` |
17
+ | `paginateDataSourceKey` | string | `primary` | Specify the data source key for pagination and sorting. |
18
+ | `showColumnAsExpandedJson` | string \| array<string> | — | Specify row expansion content as stringified JSON. Provide either a DSL expression that resolves to an array of stringified JSON values, or a static array of stringified JSON values. Each item is rendered in the matching expanded row with JSONTree. Items: string |
19
+ | `showFooterPercentages` | boolean | `false` | Specify whether to show a row at the bottom of the table that displays percentage values for applicable columns. |
20
+ | `showFooterTotals` | boolean | `false` | Specify whether to show a row at the bottom of the table that displays total values for applicable columns. |
21
+ | `showInternalFields` | boolean | `true` | Specify whether to show internal fields that start with an underscore. The _time field will still be shown if false. |
22
+ | `showRowNumbers` | boolean | `false` | Show row numbers in the first column. |
23
+ | `table` | array<array<string \| number \| array<string \| number>>> | `> primary` | Two dimensional array of data to be displayed in the table. Items: array<string \| number \| array<string \| number>> |
23
24
  | `tableFormat` | object | — | Lets you set global options for a table. |
24
25
 
25
26
  _Auto-generated; do not edit by hand._
@@ -6,22 +6,22 @@ Source: `@splunk/visualization-schemas/timelineOptionsSchema`
6
6
 
7
7
  | Option | Type | Default | Description |
8
8
  | --- | --- | --- | --- |
9
- | `additionalTooltipFields` | array<string> \| string | `[]` | Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default. |
10
- | `backgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color for the background. You may use a data source to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". |
11
- | `category` | array<string \| number> \| string | `> primary\| seriesByName("category")` | Specify the data source to apply series categories. This will color events in distinct categories. |
12
- | `categoryField` | string \| string | `> category \| getField()` | Specify the field that should be mapped to the y-axis. |
13
- | `dataColors` | string \| array<string> \| string | — | Specify the colors to use for events. You can use an array of colors to be picked from, or you can use a data source to apply dynamic coloring. For example, “> primary \| seriesByName("count") \| rangeValue(lowToHigh)”. By default, the dataColors option is not defined and seriesColors is used for categorical coloring. |
14
- | `duration` | array<string \| number> \| string | `> primary \| seriesByPrioritizedTypes("number", "time")` | Specify the data source to apply duration to events. This will display events over a length of time as a bar rather than a circle. |
15
- | `durationField` | string \| string | `> duration \| getField()` | Specify the field that should be mapped to the x-axis. |
16
- | `durationUnit` | string \| string | `milliseconds` | Specify the unit of the values in the duration data source used to apply duration to events. |
17
- | `legendDisplay` | string \| string | `off` | Specify the location of the legend on the panel. |
18
- | `legendTruncation` | string \| string | `ellipsisEnd` | Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis. |
19
- | `resultLimit` | number \| string | `10000` | Specify the maximum number of events to render on the timeline. Adjust the value to improve performance. |
20
- | `seriesColors` | array<string> \| string | `["#7B56DB","#009CEB","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"]` | Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"]. |
21
- | `x` | array<string \| number> \| string | `> primary \| seriesByType("time")` | Specify the data source applied to the x-axis. |
22
- | `xField` | string \| string | `> x \| getField()` | Specify the field that should be mapped to the x-axis. |
23
- | `y` | array<string \| number> \| string | `> primary \| seriesByPrioritizedTypes("string", "number")` | Specify the data source applied to the y-axis. |
24
- | `yAxisLabelWidth` | number \| string | `100` | Specify the width, in pixels, for y-axis labels. |
25
- | `yField` | string \| string | `> y \| getField()` | Specify the field that should be mapped to the y-axis. |
9
+ | `additionalTooltipFields` | array<string> | `[]` | Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over events. These fields and their corresponding values are shown in addition to the ones displayed by default. Items: string |
10
+ | `backgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color for the background. You may use a data source to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
11
+ | `category` | array<string \| number> | `> primary\| seriesByName("category")` | Specify the data source to apply series categories. This will color events in distinct categories. Items: string \| number |
12
+ | `categoryField` | string | `> category \| getField()` | Specify the field that should be mapped to the y-axis. |
13
+ | `dataColors` | string \| array<string> | — | Specify the colors to use for events. You can use an array of colors to be picked from, or you can use a data source to apply dynamic coloring. For example, “> primary \| seriesByName("count") \| rangeValue(lowToHigh)”. By default, the dataColors option is not defined and seriesColors is used for categorical coloring. Items: string |
14
+ | `duration` | array<string \| number> | `> primary \| seriesByPrioritizedTypes("number", "time")` | Specify the data source to apply duration to events. This will display events over a length of time as a bar rather than a circle. Items: string \| number |
15
+ | `durationField` | string | `> duration \| getField()` | Specify the field that should be mapped to the x-axis. |
16
+ | `durationUnit` | string | `milliseconds` | Specify the unit of the values in the duration data source used to apply duration to events. Allowed values: `milliseconds`, `seconds`, `minutes`, `hours` |
17
+ | `legendDisplay` | string | `off` | Specify the location of the legend on the panel. Allowed values: `right`, `bottom`, `off` |
18
+ | `legendTruncation` | string | `ellipsisEnd` | Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis. Allowed values: `ellipsisEnd`, `ellipsisMiddle`, `ellipsisStart`, `ellipsisOff` |
19
+ | `resultLimit` | number | `10000` | Specify the maximum number of events to render on the timeline. Adjust the value to improve performance. |
20
+ | `seriesColors` | array<string> | `["#7B56DB","#009CEB","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"]` | Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"]. Items: string |
21
+ | `x` | array<string \| number> | `> primary \| seriesByType("time")` | Specify the data source applied to the x-axis. Items: string \| number |
22
+ | `xField` | string | `> x \| getField()` | Specify the field that should be mapped to the x-axis. |
23
+ | `y` | array<string \| number> | `> primary \| seriesByPrioritizedTypes("string", "number")` | Specify the data source applied to the y-axis. Items: string \| number |
24
+ | `yAxisLabelWidth` | number | `100` | Specify the width, in pixels, for y-axis labels. |
25
+ | `yField` | string | `> y \| getField()` | Specify the field that should be mapped to the y-axis. |
26
26
 
27
27
  _Auto-generated; do not edit by hand._
@@ -0,0 +1,5 @@
1
+ # Treemap Examples
2
+
3
+ **Visualization Reference:** splunk.treemap
4
+
5
+ _No code examples available for this visualization._
@@ -0,0 +1,5 @@
1
+ # Treemap Examples
2
+
3
+ **Component Reference:** Treemap or @splunk/visualizations/Treemap
4
+
5
+ _No code examples available for this visualization._
@@ -0,0 +1,26 @@
1
+ # Treemap Visualization Options
2
+
3
+ **Component Reference:** Treemap or @splunk/visualizations/treemap
4
+
5
+ Source: `@splunk/visualization-schemas/treemapOptionsSchema`
6
+
7
+ | Option | Type | Default | Description |
8
+ | --- | --- | --- | --- |
9
+ | `additionalTooltipFields` | array<string> | `[]` | Specify additional fields to display in the tooltip for each node. Items: string |
10
+ | `backgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
11
+ | `dataColors` | string \| array<string> | — | Specify the colors to use for treemap nodes. You can use an array of colors to be picked from, or you can use a data source to apply dynamic coloring. For example, "> primary \| seriesByName("population") \| rangeValue(colorRangeConfig)". By default, the dataColors option is not defined and seriesColors is used for categorical coloring. Items: string |
12
+ | `dataColorValues` | array<number \| string> | `> primary \| seriesByType('number')` | Specify the array of values used for dynamic treemap coloring. Items: number \| string |
13
+ | `legendDisplay` | string | `off` | Specify the location of the legend on the panel. Allowed values: `bottom`, `off` |
14
+ | `nodeIds` | array<string> | `> primary \| seriesByType("string")` | Specify the array of node IDs in the hierarchy. Items: string |
15
+ | `nodeLabels` | array<string> | `> primary \| seriesByType("string")` | Specify the array of display labels for treemap nodes. Items: string |
16
+ | `parent` | array<string> | — | Specify the array of parent node names in the hierarchy. Items: string |
17
+ | `resultLimit` | number | `10000` | Specify the maximum number of treemap data points rendered. |
18
+ | `seriesColors` | array<string> | `["#7B56DB","#009CEB","#00CDAF","#DD9900","#FF677B","#CB2196","#813193","#0051B5","#008C80","#99B100","#FFA476","#FF6ACE","#AE8CFF","#00689D","#00490A","#465D00","#9D6300","#F6540B","#FF969E","#E47BFE"]` | Specify the colors used for root categories. For example, ["#FF0000", "#0000FF", "#008000"]. Items: string |
19
+ | `showChildValues` | boolean | `true` | Specify whether to display values for child and leaf nodes. |
20
+ | `showParentValues` | boolean | `true` | Specify whether to display the values of each parent node. This only applies when showSubdivisions is true. |
21
+ | `showSubdivisions` | boolean | `true` | Specify whether to display nested subdivisions inside parent nodes. |
22
+ | `showTooltip` | boolean | `false` | Specify whether to display the tooltip when hovering over nodes. |
23
+ | `sumFromLeafNodes` | boolean | `false` | Specify whether parent values are calculated from leaf children instead of using provided parent values. |
24
+ | `value` | array<number> | `> primary \| seriesByType('number')` | Specify the numeric field used to determine the size (area) of each treemap node. Items: number |
25
+
26
+ _Auto-generated; do not edit by hand._