@@ -895,6 +895,174 @@ components:
895895 items:
896896 $ref: '#/components/schemas/AzureAccount'
897897 type: array
898+ BarChartWidgetDefinition:
899+ description: The bar chart visualization displays categorical data using vertical
900+ bars, allowing you to compare values across different groups.
901+ properties:
902+ custom_links:
903+ description: List of custom links.
904+ items:
905+ $ref: '#/components/schemas/WidgetCustomLink'
906+ type: array
907+ requests:
908+ description: List of bar chart widget requests.
909+ example:
910+ - q: system.load.1
911+ items:
912+ $ref: '#/components/schemas/BarChartWidgetRequest'
913+ maxItems: 1
914+ minItems: 1
915+ type: array
916+ style:
917+ $ref: '#/components/schemas/BarChartWidgetStyle'
918+ time:
919+ $ref: '#/components/schemas/WidgetTime'
920+ title:
921+ description: Title of your widget.
922+ type: string
923+ title_align:
924+ $ref: '#/components/schemas/WidgetTextAlign'
925+ title_size:
926+ description: Size of the title.
927+ type: string
928+ type:
929+ $ref: '#/components/schemas/BarChartWidgetDefinitionType'
930+ required:
931+ - type
932+ - requests
933+ type: object
934+ BarChartWidgetDefinitionType:
935+ default: bar_chart
936+ description: Type of the bar chart widget.
937+ enum:
938+ - bar_chart
939+ example: bar_chart
940+ type: string
941+ x-enum-varnames:
942+ - BAR_CHART
943+ BarChartWidgetDisplay:
944+ description: Bar chart widget display options.
945+ oneOf:
946+ - $ref: '#/components/schemas/BarChartWidgetStacked'
947+ - $ref: '#/components/schemas/BarChartWidgetFlat'
948+ BarChartWidgetFlat:
949+ description: Bar chart widget flat display.
950+ properties:
951+ type:
952+ $ref: '#/components/schemas/BarChartWidgetFlatType'
953+ required:
954+ - type
955+ type: object
956+ BarChartWidgetFlatType:
957+ default: flat
958+ description: Bar chart widget flat display type.
959+ enum:
960+ - flat
961+ example: flat
962+ type: string
963+ x-enum-varnames:
964+ - FLAT
965+ BarChartWidgetLegend:
966+ description: Bar chart widget stacked legend behavior.
967+ enum:
968+ - automatic
969+ - inline
970+ - none
971+ example: automatic
972+ type: string
973+ x-enum-varnames:
974+ - AUTOMATIC
975+ - INLINE
976+ - NONE
977+ BarChartWidgetRequest:
978+ description: Updated bar chart widget.
979+ properties:
980+ apm_query:
981+ $ref: '#/components/schemas/LogQueryDefinition'
982+ audit_query:
983+ $ref: '#/components/schemas/LogQueryDefinition'
984+ conditional_formats:
985+ description: List of conditional formats.
986+ example:
987+ - comparator: '>='
988+ palette: blue
989+ value: 1.0
990+ items:
991+ $ref: '#/components/schemas/WidgetConditionalFormat'
992+ type: array
993+ event_query:
994+ $ref: '#/components/schemas/LogQueryDefinition'
995+ formulas:
996+ description: List of formulas that operate on queries.
997+ items:
998+ $ref: '#/components/schemas/WidgetFormula'
999+ type: array
1000+ log_query:
1001+ $ref: '#/components/schemas/LogQueryDefinition'
1002+ network_query:
1003+ $ref: '#/components/schemas/LogQueryDefinition'
1004+ process_query:
1005+ $ref: '#/components/schemas/ProcessQueryDefinition'
1006+ profile_metrics_query:
1007+ $ref: '#/components/schemas/LogQueryDefinition'
1008+ q:
1009+ description: Widget query.
1010+ type: string
1011+ queries:
1012+ description: List of queries that can be returned directly or used in formulas.
1013+ items:
1014+ $ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
1015+ type: array
1016+ response_format:
1017+ $ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
1018+ rum_query:
1019+ $ref: '#/components/schemas/LogQueryDefinition'
1020+ security_query:
1021+ $ref: '#/components/schemas/LogQueryDefinition'
1022+ sort:
1023+ $ref: '#/components/schemas/WidgetSortBy'
1024+ style:
1025+ $ref: '#/components/schemas/WidgetRequestStyle'
1026+ type: object
1027+ BarChartWidgetScaling:
1028+ description: Bar chart widget scaling definition.
1029+ enum:
1030+ - absolute
1031+ - relative
1032+ type: string
1033+ x-enum-varnames:
1034+ - ABSOLUTE
1035+ - RELATIVE
1036+ BarChartWidgetStacked:
1037+ description: Bar chart widget stacked display options.
1038+ properties:
1039+ legend:
1040+ $ref: '#/components/schemas/BarChartWidgetLegend'
1041+ type:
1042+ $ref: '#/components/schemas/BarChartWidgetStackedType'
1043+ required:
1044+ - type
1045+ type: object
1046+ BarChartWidgetStackedType:
1047+ default: stacked
1048+ description: Bar chart widget stacked display type.
1049+ enum:
1050+ - stacked
1051+ example: stacked
1052+ type: string
1053+ x-enum-varnames:
1054+ - STACKED
1055+ BarChartWidgetStyle:
1056+ description: Style customization for a bar chart widget.
1057+ properties:
1058+ display:
1059+ $ref: '#/components/schemas/BarChartWidgetDisplay'
1060+ palette:
1061+ description: Color palette to apply to the widget.
1062+ type: string
1063+ scaling:
1064+ $ref: '#/components/schemas/BarChartWidgetScaling'
1065+ type: object
8981066 CancelDowntimesByScopeRequest:
8991067 description: Cancel downtimes according to scope.
9001068 properties:
@@ -14338,6 +14506,7 @@ components:
1433814506 SplitGraphSourceWidgetDefinition:
1433914507 description: The original widget we are splitting on.
1434014508 oneOf:
14509+ - $ref: '#/components/schemas/BarChartWidgetDefinition'
1434114510 - $ref: '#/components/schemas/ChangeWidgetDefinition'
1434214511 - $ref: '#/components/schemas/GeomapWidgetDefinition'
1434314512 - $ref: '#/components/schemas/QueryValueWidgetDefinition'
@@ -24829,6 +24998,7 @@ components:
2482924998 oneOf:
2483024999 - $ref: '#/components/schemas/AlertGraphWidgetDefinition'
2483125000 - $ref: '#/components/schemas/AlertValueWidgetDefinition'
25001+ - $ref: '#/components/schemas/BarChartWidgetDefinition'
2483225002 - $ref: '#/components/schemas/ChangeWidgetDefinition'
2483325003 - $ref: '#/components/schemas/CheckStatusWidgetDefinition'
2483425004 - $ref: '#/components/schemas/DistributionWidgetDefinition'
0 commit comments