mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-22 07:49:47 +00:00
fix: tooltip documentation and help
This commit is contained in:
Vendored
+14
-26
@@ -161,7 +161,7 @@ __Multiple values__ checkbox specifies how they should be displayed:
|
||||
|
||||

|
||||
|
||||
__Null values__ can be treated as empty buckets or displayed with the color of `0` value.
|
||||
__Display nulls__ can be treated as empty buckets or displayed with the color of `0` value.
|
||||
|
||||

|
||||
|
||||
@@ -172,43 +172,31 @@ __Rounding__ may be used to round edges.
|
||||
|
||||

|
||||
|
||||
__Values index__ set to positive number to display only values from specified timeseries.
|
||||
|
||||
#### Display
|
||||
|
||||

|
||||
|
||||
__Show legend__ checkbox toggles legend at the bottom of the panel.
|
||||
|
||||
__Rows sort__ can be used to sort labels on Y axis. Metrics — sort y labels as they are defined on Metrics tab. a→z and z→a sort labels descending or ascending in a [natural](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare) order.
|
||||
|
||||
#### Tooltip
|
||||
|
||||

|
||||
|
||||
__Show tooltip__ toggles tooltip display on mouse over buckets.
|
||||
|
||||
__Y axis sort__ can be used to sort labels on Y axis. Metrics — sort y labels as they are defined on Metrics tab. a→z and z→a sort labels descending or ascending in a [natural](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare) order.
|
||||
__Freeze on click__ toggles tooltip "freezing" on click. Frozen tooltip can be used to compare data with floating tooltip or to follow URLs.
|
||||
|
||||
#### Tooltip with external link
|
||||

|
||||
__Show items__ toggles display of additional items in tooltip.
|
||||
|
||||
A new tooltip that will appear when mouse click in a value showing one or more links to navigate. It can be configured in the options editor. Also it can be disabled to not appear.
|
||||
__Items__ is a list of definitions to display URLs in tooltip.
|
||||
|
||||
#### Tooltip editor
|
||||

|
||||
Each URL has a template, icon, label and formating options: lowercase and date format for variables.
|
||||
|
||||
__Show Extra Series Tooltip when clicking elements__ toggles tooltip with links display on mouse click.
|
||||
|
||||
__Add new URL__ creates a new form to add a new link
|
||||
|
||||
__Remove all URLs__ removes all the urls created before
|
||||
|
||||
__Label__ name to show in the link instead of the URL
|
||||
|
||||
__URL__ URL to navigate
|
||||
|
||||
__Icon__ icon to show next to the url
|
||||
|
||||
__Force lowercase__ forces the url to be lowercase even if it is written in capital letters
|
||||
|
||||
__Extra Series Completer__ toggles extra series to write the URL
|
||||
|
||||
__Extra Series Index__ fields index to use its value on URL using $series_extra. Use -1 to disable it
|
||||
|
||||
__Extra Series Date Format__ date format to transform extra herlper when its type is Date
|
||||

|
||||
|
||||
## Development
|
||||
|
||||
|
||||
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 142 KiB |
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB |
Vendored
+4
-5
@@ -38,17 +38,16 @@
|
||||
Use special variables:
|
||||
<br>
|
||||
<em>${__y_label}</em> name of the time series (alias or legend in the query editor).
|
||||
<!-- <br>
|
||||
<em>$(template.name)</em> name of the templated to be replaced -->
|
||||
<br>
|
||||
<em>${__bucket_range}</em> refers to bucket range in the form of '&from=...&to=...'.
|
||||
<br>
|
||||
<em>${__graph_range}</em> refers to graph range in the form of '&from=...&to=...'.
|
||||
<em>${__url_time_range}</em> refers to graph range in the form of 'from=...&to=...'.
|
||||
<br>
|
||||
<em>${__value}</em> refers to current bucket value or max value if multiple values mode is on.
|
||||
<br>
|
||||
<em>${__value_N}</em> refers to Nth value in current bucket. Value indexes are started from 0. For instance,
|
||||
<em>${__value_1}</em> refers to second value.
|
||||
<br>
|
||||
<em>${__value_date}</em> refers to __value formatted as date.
|
||||
<em>${__value_N_date}</em> refers to Nth value in current bucket formatted as date.
|
||||
</span>
|
||||
</info-popover>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user