diff options
Diffstat (limited to 'app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-colours.patch')
-rw-r--r-- | app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-colours.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-colours.patch b/app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-colours.patch new file mode 100644 index 000000000000..6fbbeeb181cb --- /dev/null +++ b/app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-colours.patch @@ -0,0 +1,55 @@ +use colouring defaults from graphite-web-1.10 + +--- carbonapi-0.3.0/expr/functions/cairo/png/picture_params.go ++++ carbonapi-0.3.0/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", + }, + } |