mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 16:22:45 +08:00

* Allow setting the y axis width * Add to docs * Add to status history as well * Add to status history docs and schema * Change config to come from generic axis builder * keep axis * Change overridden label * Update docs/sources/panels-visualizations/visualizations/status-history/index.md Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com> * Update docs/sources/panels-visualizations/visualizations/state-timeline/index.md Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com> * Remove the category/label override * Move axis to its own section in docs as well * clean * rename to addAxisWidth * Apply suggestions from code review Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com> * Move sections to match UI order * Update docs/sources/shared/visualizations/axis-options-all.md Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com> * Change other axis options doc to be consistent. * Fix linter * add AxisPlacement * Add new placement option to docs * change some wording * Apply suggestions from code review Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com> --------- Co-authored-by: Leon Sorokin <leeoniya@gmail.com> Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
22 lines
2.3 KiB
Markdown
22 lines
2.3 KiB
Markdown
---
|
|
title: Axis options
|
|
comments: |
|
|
This file is used in the following visualizations: time series.
|
|
---
|
|
|
|
Options under the **Axis** section control how the x- and y-axes are rendered. Some options don't take effect until you click outside of the field option box you're editing. You can also press `Enter`.
|
|
|
|
| Option | Description |
|
|
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
| Time zone | Set the desired time zones to display along the x-axis. |
|
|
| [Placement](#placement) | Select the placement of the y-axis. |
|
|
| Label | Set a y-axis text label. If you have more than one y-axis, then you can assign different labels using an override. |
|
|
| Width | Set a fixed width for the axis. By default, Grafana dynamically calculates the width of an axis. |
|
|
| Show grid lines | Set the axis grid line visibility.<br> |
|
|
| Color | Set the color of the axis. |
|
|
| Show border | Set the axis border visibility. |
|
|
| Scale | Set the y-axis values scale.<br> |
|
|
| Centered zero | Set the y-axis so it's centered on zero. |
|
|
| [Soft min](#soft-min-and-soft-max) | Set a soft min to better control the y-axis limits. zero. |
|
|
| [Soft max](#soft-min-and-soft-max) | Set a soft max to better control the y-axis limits. zero. |
|