From 69fdc6a329eb3158ba50f8b1e712776035fe27b6 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 14 Nov 2014 09:54:20 +0100 Subject: [PATCH] Chart/InlinePie: smaller, white border for hover I roughly changed the piechart defaults to their original (icon-like) size. However, this is NOT how we should handle such changes. We MUST be able to style them via CSS and get rid of that incredible amount of HTML attributes. I want to be able to set the height directly in CSS as em/px. And I want also be able to set it to 100% and size the outer container. refs #7077 --- library/Icinga/Web/Widget/Chart/InlinePie.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/Icinga/Web/Widget/Chart/InlinePie.php b/library/Icinga/Web/Widget/Chart/InlinePie.php index d22923131..3ff97b2df 100644 --- a/library/Icinga/Web/Widget/Chart/InlinePie.php +++ b/library/Icinga/Web/Widget/Chart/InlinePie.php @@ -73,28 +73,28 @@ EOD; * * @var int The value in px */ - private $width = 28; + private $width = 16; /** * The height of the rendered chart * * @var int The value in px */ - private $height = 28; + private $height = 16; /** * PieChart border width * * @var float */ - private $borderWidth = 0; + private $borderWidth = 1; /** * The color of the border * * @var string */ - private $borderColor = '#888'; + private $borderColor = '#fff'; /** * The title of the chart