gentoo-ebuilds/app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0_p20250201-colours.patch
Fabian Groffen bfa1f24582
app-metrics/carbonapi-booking-0.3.0_p20250201: code bump
Over the past two years a lot of changes have been made, but no
releases, cut a snapshot.

carbonzipper has been merged with carbonapi in this code.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-04-09 16:13:09 +02:00

55 lines
1.3 KiB
Diff

use colouring defaults from graphite-web-1.10
--- carbonapi-0.3.0/pkg/expr/functions/cairo/png/picture_params.go
+++ carbonapi-0.3.0/pkg/expr/functions/cairo/png/picture_params.go
@@ -351,10 +351,10 @@
Height: 250,
Margin: 10,
LogBase: 0,
- FgColor: "white",
- BgColor: "black",
- MajorLine: "rose",
- MinorLine: "grey",
+ FgColor: "black",
+ BgColor: "white",
+ MajorLine: "grey",
+ MinorLine: "rose",
FontName: "Sans",
FontSize: 10,
FontBold: FontWeightNormal,
@@ -414,8 +414,8 @@
LeftDashed: false,
LeftColor: "",
- MajorGridLineColor: "white",
- MinorGridLineColor: "grey",
+ MajorGridLineColor: "grey",
+ MinorGridLineColor: "rose",
}
var templates = map[string]PictureParams{
@@ -424,10 +424,10 @@
Height: 250,
Margin: 10,
LogBase: 0,
- FgColor: "white",
- BgColor: "black",
- MajorLine: "rose",
- MinorLine: "grey",
+ FgColor: "black",
+ BgColor: "white",
+ MajorLine: "grey",
+ MinorLine: "rose",
FontName: "Sans",
FontSize: 10,
FontBold: FontWeightNormal,
@@ -487,7 +487,7 @@
LeftDashed: false,
LeftColor: "",
- MajorGridLineColor: "white",
- MinorGridLineColor: "grey",
+ MajorGridLineColor: "grey",
+ MinorGridLineColor: "rose",
},
}