@splunk/visualization-schemas 27.4.0 → 27.5.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
@@ -352,6 +352,12 @@ var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
352
352
  description: "Specify the field to map to the y-axis.",
353
353
  type: "string"
354
354
  },
355
+ additionalTooltipFields: {
356
+ default: [],
357
+ 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.",
358
+ type: "array",
359
+ items: { type: "string" }
360
+ },
355
361
  annotationColor: {
356
362
  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.`,
357
363
  type: "array",
@@ -821,6 +827,12 @@ var barOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
821
827
  type: "string"
822
828
  }
823
829
  },
830
+ additionalTooltipFields: {
831
+ default: [],
832
+ 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.",
833
+ type: "array",
834
+ items: { type: "string" }
835
+ },
824
836
  backgroundColor: {
825
837
  default: "> themes.defaultBackgroundColor",
826
838
  description: "Specify the color used for the background. You can use a data source or hexadecimal code to apply the color.",
@@ -1592,6 +1604,12 @@ var columnOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
1592
1604
  type: "string"
1593
1605
  }
1594
1606
  },
1607
+ additionalTooltipFields: {
1608
+ default: [],
1609
+ 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.",
1610
+ type: "array",
1611
+ items: { type: "string" }
1612
+ },
1595
1613
  annotationColor: {
1596
1614
  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.`,
1597
1615
  type: "array",
@@ -2254,6 +2272,12 @@ var lineOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2254
2272
  description: "Specify the field that should be mapped to the y-axis.",
2255
2273
  type: "string"
2256
2274
  },
2275
+ additionalTooltipFields: {
2276
+ default: [],
2277
+ 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.",
2278
+ type: "array",
2279
+ items: { type: "string" }
2280
+ },
2257
2281
  annotationColor: {
2258
2282
  description: `Specify the annotation colors. You may use a dataSource to apply the color. For example, [\u201C#FF0000\u201D, \u201C#0000FF", \u201C#008000\u201D].`,
2259
2283
  type: "array",
@@ -2882,7 +2906,7 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2882
2906
  },
2883
2907
  dataValues: {
2884
2908
  description: 'Specify the data series used to encode colors for dynamic coloring in layers of type "marker" or "bubble".',
2885
- type: ["string"],
2909
+ type: ["string", "array"],
2886
2910
  items: { type: "number" },
2887
2911
  default: '> primary | seriesByType("number")'
2888
2912
  },
@@ -2892,6 +2916,10 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2892
2916
  items: { type: "string" },
2893
2917
  default: []
2894
2918
  },
2919
+ tooltipHeaderField: {
2920
+ 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.",
2921
+ type: "string"
2922
+ },
2895
2923
  resultLimit: {
2896
2924
  description: "Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",
2897
2925
  type: "number",
@@ -2936,6 +2964,10 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2936
2964
  items: { type: "string" },
2937
2965
  default: []
2938
2966
  },
2967
+ tooltipHeaderField: {
2968
+ 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.",
2969
+ type: "string"
2970
+ },
2939
2971
  resultLimit: {
2940
2972
  description: "Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",
2941
2973
  type: "number",
@@ -3010,7 +3042,7 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3010
3042
  },
3011
3043
  dataValues: {
3012
3044
  description: 'Specify the data series used to encode colors for dynamic coloring in layers of type "marker" or "bubble".',
3013
- type: ["string"],
3045
+ type: ["string", "array"],
3014
3046
  items: { type: "number" },
3015
3047
  default: '> primary | seriesByType("number")'
3016
3048
  },
@@ -3020,6 +3052,10 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3020
3052
  items: { type: "string" },
3021
3053
  default: []
3022
3054
  },
3055
+ tooltipHeaderField: {
3056
+ 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.",
3057
+ type: "string"
3058
+ },
3023
3059
  resultLimit: {
3024
3060
  description: "Specify the maximum number of data points to render on the map. Adjust the value to improve performance.",
3025
3061
  type: "number",
@@ -3059,6 +3095,11 @@ var mapOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3059
3095
  default: true,
3060
3096
  type: "boolean",
3061
3097
  description: "Specify whether to display coordinates (latitude and longitude) in the tooltip."
3098
+ },
3099
+ icon: {
3100
+ default: "",
3101
+ type: "string",
3102
+ description: 'Specify the url for an svg to display an icon inside bubbles for map. This applies to layers where type: "bubble".'
3062
3103
  }
3063
3104
  });
3064
3105