Skip to content

Commit cc39a7d

Browse files
committed
Fix cue
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
1 parent 59cbfe1 commit cc39a7d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

timeserieschart/schemas/migrate/migrate.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ spec: {
192192
// migrate fixedColor overrides to querySettings when applicable
193193
#querySettings: [
194194
for i, target in (*#panel.targets | []) {
195-
queryName: "Query #\(i)"
195+
queryName: "Query #\(i+1)"
196196
for override in (*#panel.fieldConfig.overrides | [])
197197
if (override.matcher.id == "byName" || override.matcher.id == "byRegexp" || override.matcher.id == "byFrameRefID") && override.matcher.options != _|_
198198
for property in override.properties

timeserieschart/schemas/time-series.cue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ spec: close({
6363

6464
#querySettings: [...{
6565
queryName: strings.MinRunes(1)
66-
colorMode?: "fixed" | "fixed-single" // NB: "palette" could be added later
67-
colorValue?: =~"^#(?:[0-9a-fA-F]{3}){1,2}$" // hexadecimal color code
68-
lineStyle?: #lineStyle
69-
areaOpacity?: #areaOpacity
70-
format?: common.#format
66+
colorMode?: "fixed" | "fixed-single" // NB: "palette" could be added later
67+
colorValue?: =~"^#(?:[0-9a-fA-F]{3}){1,2}$" // hexadecimal color code
68+
lineStyle?: #lineStyle
69+
areaOpacity?: #areaOpacity
70+
format?: common.#format
7171
}]
7272

7373
#lineStyle: "solid" | "dashed" | "dotted"

0 commit comments

Comments
 (0)