mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 18:23:50 +08:00

* refactors config panels and visualizations, corrects relrefs * adds an alias * Remove some old content * moves visualizations topic to the root * moves out panels and visualization topics to the root * adds move and resize panel to add/organize panel; creates a create dashboard topic under build dashboards; adjusts context of add a panel to be from within an existing dashboard * updates aliases * creates search at root, moves dashboard preview to search, creates standalone search dashboard topic * moves Set dashboard time range to use-dashboards, creates modify dashboard settings and adds moves Modify dashboard time settings to that topic * moves existing query-options topic from working with panels to configure-panel-visualizations, moves panel time overrides and timeshift content to query options * Moving things to better category, fixing links, improving ordering * Move panel inspector to main panel topic * completes partial fix of relrefs * relref fixes con't * restructures remaining panels topics * more relref fixes * Minor fix * Minor tweak * finishes fixing relrefs Co-authored-by: Torkel Ödegaard <torkel@grafana.com> Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
100 lines
5.2 KiB
Markdown
100 lines
5.2 KiB
Markdown
---
|
|
aliases:
|
|
- /docs/grafana/latest/panels/visualizations/
|
|
- /docs/grafana/latest/visualizations/
|
|
- /docs/grafana/latest/panels-visualizations/visualizations/
|
|
- /docs/grafana/latest/features/panels/graph/
|
|
- /docs/grafana/latest/panels/visualizations/graph-panel/
|
|
- /docs/grafana/latest/reference/graph/
|
|
- /docs/grafana/latest/visualizations/graph-panel/
|
|
title: Visualizations
|
|
weight: 75
|
|
---
|
|
|
|
# Visualizations
|
|
|
|
Grafana offers a variety of visualizations to support different use cases. This section of the documentation highlights the built-in panels, their options and typical usage.
|
|
|
|
> **Note:** If you are unsure which visualization to pick, Grafana can provide visualization suggestions based on the panel query. When you select a visualization, Grafana will show a preview with that visualization applied.
|
|
|
|
- Graphs & charts
|
|
- [Time series]({{< relref "time-series/" >}}) is the default and main Graph visualization.
|
|
- [State timeline]({{< relref "state-timeline/" >}}) for state changes over time.
|
|
- [Status history]({{< relref "status-history/" >}}) for periodic state over time.
|
|
- [Bar chart]({{< relref "bar-chart/" >}}) shows any categorical data.
|
|
- [Histogram]({{< relref "histogram/" >}}) calculates and shows value distribution in a bar chart.
|
|
- [Heatmap]({{< relref "heatmap/" >}}) visualizes data in two dimensions, used typically for the magnitude of a phenomenon.
|
|
- [Pie chart]({{< relref "pie-chart/" >}}) is typically used where proportionality is important.
|
|
- [Candlestick]({{< relref "candlestick/" >}}) is typically for financial data where the focus is price/data movement.
|
|
- Stats & numbers
|
|
- [Stat]({{< relref "stat/" >}}) for big stats and optional sparkline.
|
|
- [Bar gauge]({{< relref "bar-gauge/" >}}) is a horizontal or vertical bar gauge.
|
|
- Misc
|
|
- [Table]({{< relref "table/" >}}) is the main and only table visualization.
|
|
- [Logs]({{< relref "logs/" >}}) is the main visualization for logs.
|
|
- [Node Graph]({{< relref "node-graph/" >}}) for directed graphs or networks.
|
|
- [Traces]({{< relref "traces/" >}}) is the main visualization for traces.
|
|
- Widgets
|
|
- [Dashboard list]({{< relref "dashboard-list/" >}}) can list dashboards.
|
|
- [Alert list]({{< relref "alert-list/" >}}) can list alerts.
|
|
- [Text panel]({{< relref "text/" >}}) can show markdown and html.
|
|
- [News panel]({{< relref "news/" >}}) can show RSS feeds.
|
|
|
|
## Get more
|
|
|
|
You can add more visualization types by installing panel [panel plugins](https://grafana.com/grafana/plugins/?type=panel).
|
|
|
|
## Examples
|
|
|
|
Below you can find some good examples for how all the visualizations in Grafana can be configured. You can also explore [play.grafana.org](https://play.grafana.org) which has a large set of demo dashboards that showcase all the different visualizations.
|
|
|
|
### Graphs
|
|
|
|
For time based line, area and bar charts we recommend the default [Time series]({{< relref "time-series/" >}}) visualization. [This public demo dashboard](https://play.grafana.org/d/000000016/1-time-series-graphs?orgId=1) contains many different examples for how this visualization can be configured and styled.
|
|
|
|
{{< figure src="/static/img/docs/time-series-panel/time_series_small_example.png" max-width="700px" caption="Time series" >}}
|
|
|
|
For categorical data use the [Bar chart]({{< relref "bar-chart/" >}}) visualization.
|
|
|
|
{{< figure src="/static/img/docs/bar-chart-panel/barchart_small_example.png" max-width="700px" caption="Bar chart" >}}
|
|
|
|
### Big numbers & stats
|
|
|
|
The [Stat](stat-panel/) visualization shows one large stat value with an optional graph sparkline. You can control the background or value color using thresholds or color scales.
|
|
|
|
{{< figure src="/static/img/docs/v66/stat_panel_dark3.png" max-width="1025px" caption="Stat panel" >}}
|
|
|
|
### Gauge
|
|
|
|
If you want to present a value as it relates to a min and max value you have two options. First a standard [Radial Gauge]({{< relref "gauge/" >}}) shown below.
|
|
|
|
{{< figure src="/static/img/docs/v66/gauge_panel_cover.png" max-width="700px" >}}
|
|
|
|
Secondly Grafana also has a horizontal or vertical [Bar gauge]({{< relref "bar-gauge/" >}}) with three different distinct display modes.
|
|
|
|
{{< figure src="/static/img/docs/v66/bar_gauge_lcd.png" max-width="700px" >}}
|
|
|
|
### Table
|
|
|
|
To show data in a table layout, use the [Table]({{< relref "table/" >}}) visualization.
|
|
|
|
{{< figure src="/static/img/docs/tables/table_visualization.png" max-width="700px" lightbox="true" caption="Table visualization" >}}
|
|
|
|
### Pie chart
|
|
|
|
Grafana now ships with an included [Pie chart]({{< relref "pie-chart/" >}}) visualization.
|
|
|
|
{{< figure src="/static/img/docs/pie-chart-panel/pie-chart-example.png" max-width="700px" lightbox="true" caption="Pie chart visualization" >}}
|
|
|
|
### Heatmaps
|
|
|
|
To show value distribution over, time use the [heatmap]({{< relref "heatmap/" >}}) visualization.
|
|
|
|
{{< figure src="/static/img/docs/v43/heatmap_panel_cover.jpg" max-width="1000px" lightbox="true" caption="Heatmap" >}}
|
|
|
|
### State timeline
|
|
|
|
The state timeline panel visualization shows discrete state changes over time. When used with time series, the thresholds are used to turn the numerical values into discrete state regions.
|
|
|
|
{{< figure src="/static/img/docs/v8/state_timeline_strings.png" max-width="700px" caption="state timeline with string states" >}}
|