mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 00:25:30 +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>
2.3 KiB
2.3 KiB
title | comments |
---|---|
Axis options | 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 | 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. |
Color | Set the color of the axis. |
Show border | Set the axis border visibility. |
Scale | Set the y-axis values scale. |
Centered zero | Set the y-axis so it's centered on zero. |
Soft min | Set a soft min to better control the y-axis limits. zero. |
Soft max | Set a soft max to better control the y-axis limits. zero. |