@splunk/visualization-schemas 27.3.0 → 27.4.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.
package/dist/esm/index.js CHANGED
@@ -3054,6 +3054,11 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3054
3054
  zoom: {
3055
3055
  description: "Specify the zoom level of the map.",
3056
3056
  type: "number"
3057
+ },
3058
+ showCoordinates: {
3059
+ default: true,
3060
+ type: "boolean",
3061
+ description: "Specify whether to display coordinates (latitude and longitude) in the tooltip."
3057
3062
  }
3058
3063
  });
3059
3064
 
@@ -3264,6 +3269,47 @@ var pieOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3264
3269
  description: "Specify whether the pie should be a donut.",
3265
3270
  type: "boolean"
3266
3271
  },
3272
+ splitByLayout: {
3273
+ default: "off",
3274
+ description: "Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",
3275
+ type: "string",
3276
+ pattern: getPattern(["off" /* Off */, "trellis" /* Trellis */]),
3277
+ enum: ["off" /* Off */, "trellis" /* Trellis */]
3278
+ },
3279
+ trellisBackgroundColor: {
3280
+ default: "> themes.defaultBackgroundColor",
3281
+ description: "Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",
3282
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3283
+ type: "string"
3284
+ },
3285
+ trellisColumns: {
3286
+ description: "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.",
3287
+ type: "number",
3288
+ minimum: 1,
3289
+ default: 3
3290
+ },
3291
+ trellisMinColumnWidth: {
3292
+ default: 250,
3293
+ minimum: 1,
3294
+ description: "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.",
3295
+ type: "number"
3296
+ },
3297
+ trellisPageCount: {
3298
+ default: 20,
3299
+ minimum: 1,
3300
+ description: "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.",
3301
+ type: "number"
3302
+ },
3303
+ trellisRowHeight: {
3304
+ default: 180,
3305
+ minimum: 1,
3306
+ description: "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.",
3307
+ type: "number"
3308
+ },
3309
+ trellisSplitBy: {
3310
+ description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable.",
3311
+ type: "string"
3312
+ },
3267
3313
  value: {
3268
3314
  description: "List of numerical values to power the pie chart.",
3269
3315
  type: "array",
@@ -3551,8 +3597,7 @@ var scatterOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3551
3597
  type: "string"
3552
3598
  },
3553
3599
  legendDisplay: {
3554
- default: "right",
3555
- description: "Specify the location of the legend on the panel.",
3600
+ description: "Specify the location of the legend on the panel. By default, legendDisplay is off when splitByLayout is trellis, and right otherwise. ",
3556
3601
  pattern: getPattern(["right", "left", "top", "bottom", "off"]),
3557
3602
  type: "string"
3558
3603
  },
@@ -3628,6 +3673,52 @@ var scatterOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3628
3673
  description: "Specify whether minor grid lines are visible on the y-axis.",
3629
3674
  type: "boolean"
3630
3675
  },
3676
+ splitByLayout: {
3677
+ default: "off",
3678
+ description: "Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.",
3679
+ type: "string",
3680
+ pattern: getPattern(["off" /* Off */, "trellis" /* Trellis */]),
3681
+ enum: ["off" /* Off */, "trellis" /* Trellis */]
3682
+ },
3683
+ trellisBackgroundColor: {
3684
+ default: "> themes.defaultBackgroundColor",
3685
+ description: "Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.",
3686
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3687
+ type: "string"
3688
+ },
3689
+ trellisColumns: {
3690
+ description: "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.",
3691
+ type: "number",
3692
+ minimum: 1,
3693
+ default: 3
3694
+ },
3695
+ trellisMinColumnWidth: {
3696
+ default: 250,
3697
+ minimum: 1,
3698
+ description: "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.",
3699
+ type: "number"
3700
+ },
3701
+ trellisPageCount: {
3702
+ default: 20,
3703
+ minimum: 1,
3704
+ description: "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.",
3705
+ type: "number"
3706
+ },
3707
+ trellisRowHeight: {
3708
+ default: 180,
3709
+ minimum: 1,
3710
+ description: "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.",
3711
+ type: "number"
3712
+ },
3713
+ trellisSharedScale: {
3714
+ default: true,
3715
+ type: "boolean",
3716
+ description: "Specify whether all visualizations will share the same scale in the trellis container."
3717
+ },
3718
+ trellisSplitBy: {
3719
+ description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `stats` command is used, this may default to the first string field.",
3720
+ type: "string"
3721
+ },
3631
3722
  xAxisLabelRotation: {
3632
3723
  default: 0,
3633
3724
  description: "Specify the rotation of the x-axis labels in degrees.",