@splunk/visualization-schemas 27.4.0 → 27.5.1

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/cjs/index.js CHANGED
@@ -416,6 +416,12 @@ var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
416
416
  description: "Specify the field to map to the y-axis.",
417
417
  type: "string"
418
418
  },
419
+ additionalTooltipFields: {
420
+ default: [],
421
+ description: "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.",
422
+ type: "array",
423
+ items: { type: "string" }
424
+ },
419
425
  annotationColor: {
420
426
  description: `Specify the annotation colors. For example, [\u201C#FF0000\u201D, \u201C#0000FF", \u201C#008000\u201D]. You can use a data source or a hexadecimal code to apply the color.`,
421
427
  type: "array",
@@ -885,6 +891,12 @@ var barOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
885
891
  type: "string"
886
892
  }
887
893
  },
894
+ additionalTooltipFields: {
895
+ default: [],
896
+ description: "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.",
897
+ type: "array",
898
+ items: { type: "string" }
899
+ },
888
900
  backgroundColor: {
889
901
  default: "> themes.defaultBackgroundColor",
890
902
  description: "Specify the color used for the background. You can use a data source or hexadecimal code to apply the color.",
@@ -1656,6 +1668,12 @@ var columnOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
1656
1668
  type: "string"
1657
1669
  }
1658
1670
  },
1671
+ additionalTooltipFields: {
1672
+ default: [],
1673
+ description: "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.",
1674
+ type: "array",
1675
+ items: { type: "string" }
1676
+ },
1659
1677
  annotationColor: {
1660
1678
  description: `Specify the annotation colors. For example, [\u201C#FF0000\u201D, \u201C#0000FF", \u201C#008000\u201D]. You can use a data source or hexadecimal code to apply the color.`,
1661
1679
  type: "array",
@@ -2318,6 +2336,12 @@ var lineOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2318
2336
  description: "Specify the field that should be mapped to the y-axis.",
2319
2337
  type: "string"
2320
2338
  },
2339
+ additionalTooltipFields: {
2340
+ default: [],
2341
+ description: "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.",
2342
+ type: "array",
2343
+ items: { type: "string" }
2344
+ },
2321
2345
  annotationColor: {
2322
2346
  description: `Specify the annotation colors. You may use a dataSource to apply the color. For example, [\u201C#FF0000\u201D, \u201C#0000FF", \u201C#008000\u201D].`,
2323
2347
  type: "array",
@@ -2946,7 +2970,7 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2946
2970
  },
2947
2971
  dataValues: {
2948
2972
  description: 'Specify the data series used to encode colors for dynamic coloring in layers of type "marker" or "bubble".',
2949
- type: ["string"],
2973
+ type: ["string", "array"],
2950
2974
  items: { type: "number" },
2951
2975
  default: '> primary | seriesByType("number")'
2952
2976
  },
@@ -2956,6 +2980,10 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2956
2980
  items: { type: "string" },
2957
2981
  default: []
2958
2982
  },
2983
+ tooltipHeaderField: {
2984
+ description: "Specify the field to add to the tooltip header. Tooltips appear when you hover over data points. Only the value of this field will be displayed as the header.",
2985
+ type: "string"
2986
+ },
2959
2987
  resultLimit: {
2960
2988
  description: "Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",
2961
2989
  type: "number",
@@ -3000,6 +3028,10 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3000
3028
  items: { type: "string" },
3001
3029
  default: []
3002
3030
  },
3031
+ tooltipHeaderField: {
3032
+ description: "Specify the field to add to the tooltip header. Tooltips appear when you hover over data points. Only the value of this field will be displayed as the header.",
3033
+ type: "string"
3034
+ },
3003
3035
  resultLimit: {
3004
3036
  description: "Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",
3005
3037
  type: "number",
@@ -3074,7 +3106,7 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3074
3106
  },
3075
3107
  dataValues: {
3076
3108
  description: 'Specify the data series used to encode colors for dynamic coloring in layers of type "marker" or "bubble".',
3077
- type: ["string"],
3109
+ type: ["string", "array"],
3078
3110
  items: { type: "number" },
3079
3111
  default: '> primary | seriesByType("number")'
3080
3112
  },
@@ -3084,6 +3116,10 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3084
3116
  items: { type: "string" },
3085
3117
  default: []
3086
3118
  },
3119
+ tooltipHeaderField: {
3120
+ description: "Specify the field to add to the tooltip header. Tooltips appear when you hover over data points. Only the value of this field will be displayed as the header.",
3121
+ type: "string"
3122
+ },
3087
3123
  resultLimit: {
3088
3124
  description: "Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",
3089
3125
  type: "number",
@@ -3123,6 +3159,11 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3123
3159
  default: true,
3124
3160
  type: "boolean",
3125
3161
  description: "Specify whether to display coordinates (latitude and longitude) in the tooltip."
3162
+ },
3163
+ icon: {
3164
+ default: "",
3165
+ type: "string",
3166
+ description: 'Specify the url for an svg to display an icon inside bubbles for map. This applies to layers where type: "bubble".'
3126
3167
  }
3127
3168
  });
3128
3169