mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-22 15:53:09 +00:00
Added YLabel splitter and Extra info on tooltip
Actually, custom label are not allowed, it directly uses the provided by the query result as the target/alias This feature allows to: - Split YLabel to store its partials and reuse them on link and extra tooltip field - Override YLabel with splitted and custom values - Added Extra Tooltip to show metadata to the user on each serie
This commit is contained in:
@@ -12,6 +12,8 @@ class Bucket {
|
||||
// y label
|
||||
y: string = "";
|
||||
yLabel: string = "";
|
||||
pLabels: string[] = [];
|
||||
|
||||
// This value can be used to calculate a x coordinate on a graph
|
||||
x: number = 0;
|
||||
xid: number = 0;
|
||||
@@ -64,6 +66,7 @@ class BucketMatrix {
|
||||
|
||||
// An array of row labels
|
||||
targets: string[] = [];
|
||||
pLabels: {[target: string]: string[]} = {};
|
||||
rangeMs: number = 0;
|
||||
intervalMs: number = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user