You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add bar chart widget file
Add bar chart widget
Add relative links to bar chart widget
* Add bar graph icon image to index
* Change the image and use case
* Add Treemap
* Fix reference links and add further reading
* Apply suggestions from code review
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
---------
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
{{< img src="/dashboards/widgets/bar_chart/bar_chart.png" alt="Bar chart widget example visualization" style="width:100%;" >}}
25
+
26
+
The bar chart widget is part of the same data family as the top list, treemap, and pie chart widgets, using categorical axes rather than temporal axes like timeseries bar graphs. It displays categorical data using vertical bars, allowing you to compare values across different categories or groups. Unlike the horizontal top list widget, the bar chart uses a vertical orientation which is particularly useful for dashboards with wide and short aspect ratios, or when you want to focus on value comparison rather than ranking.
27
+
28
+
Use the bar chart when visual comparison across categories matters more than reading exact tag values. Use the top list to prioritize label readability (such as long tag names) or need a ranked list format.
29
+
30
+
## Setup
31
+
32
+
### Configuration
33
+
34
+
1. Select from the available data sources.
35
+
2. Configure the query. See the following resources for more information:
36
+
* Metrics: See the [querying ][1] documentation to configure a metric query.
37
+
* Events: See the [log search][2] documentation to configure a log event query.
38
+
3. (Optional) Modify the query with a [formula][3].
39
+
4. Customize your graph.
40
+
41
+
### Options
42
+
#### Display mode
43
+
44
+
The bar chart widget supports multiple levels of grouping with stacked visualization, enabling you to break down data by multiple dimensions.
45
+
46
+
-**Stacked mode**: Shows grouped data as layered bars within each category.
47
+
-**Flat mode**: Displays individual bars for each group.
48
+
-**Relative mode**: Shows values as percentages of the total (only for scalar data).
The top list visualization enables you to display a list of tag values with the most or least of any metric or event value, such as highest consumers of CPU, hosts with the least disk space, or cloud products with the highest costs.
Copy file name to clipboardExpand all lines: content/en/dashboards/widgets/treemap.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,12 @@ further_reading:
11
11
- link: "/dashboards/widgets/pie_chart/"
12
12
tag: "Documentation"
13
13
text: "Pie Chart Widget"
14
+
- link: "/dashboards/widgets/top_list/"
15
+
tag: "Documentation"
16
+
text: "Top List Widget"
17
+
- link: "/dashboards/widgets/bar_chart/"
18
+
tag: "Documentation"
19
+
text: "Bar Chart Widget"
14
20
---
15
21
16
22
The treemap widget allows you to display proportions of one or more datasets. This widget can display a single dataset with corresponding proportions, or multiple datasets with nested proportions.
0 commit comments