Alexander A. Klimov
cf9307fcc4
Donut: conform to PHP 5.3
2018-01-24 11:07:37 +01:00
Alexander A. Klimov
0ad153a223
Tactical overview: always show the problems amount
...
refs #3226
2018-01-17 15:01:02 +01:00
Alexander A. Klimov
4f706d9423
Donut: place HTML tags outside <svg>
...
refs #3226
2018-01-16 17:58:35 +01:00
Eric Lippmann
fb124b37cf
Fix float format of donut chart attributes
2017-11-27 13:33:58 +01:00
Jennifer Mourek
d34ea588b1
Tactical overview: Add donut graphs
2017-11-21 23:38:04 +01:00
Johannes Meyer
181e2ef05c
Swag: Fix swag (aka a whole bunch of code style issues..)
2017-01-27 14:48:59 +01:00
Alexander A. Klimov
474803fee4
Change all license headers to only reflect a file's year of creation
...
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann
e87067db3b
lib/chart: Use PHP's DateTime instead of our DateTimeFactory
...
I'm about to drop the DateTimeFactory because date_default_timezone_set() in combination w/ PHP's DateTime is sufficient.
refs #6778
2015-05-19 11:10:35 +02:00
Alexander Klimov
967a2e82dc
Use (only) "@return $this" in fluent interfaces' documentation
2015-04-07 14:24:11 +02:00
Louis Sautier
083c1a9e6b
Fix some spelling errors in comments and messages
...
fixes #8633
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-03-08 15:32:22 +01:00
Matthias Jentsch
2992bf3445
Always display tooltips in all charts
...
Make information about data types available to colorblind, when hovering
over the displayed data set
fixes #8364
2015-02-18 13:21:42 +01:00
Matthias Jentsch
28dfbe7e55
Support aria markup in SVG charts
...
Add "aria-labelled-by", "title" and "desc" to describe the svg charts in screen readers.
2015-02-17 17:41:05 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Matthias Jentsch
ba1007465a
Adapt bar width to amount of data points
2015-01-19 15:13:44 +01:00
Matthias Jentsch
fecd4151d1
Move axis labels to the top of the chart
2015-01-19 13:35:41 +01:00
Matthias Jentsch
f6eb9a764f
Determine axis orientation based on max label length
2015-01-19 11:33:21 +01:00
Matthias Jentsch
76d3e5435f
Display bigger legend labels correctly without overlapping
2015-01-13 18:25:19 +01:00
Matthias Jentsch
d1c7d9d2f9
Improve SVG layout
2015-01-13 18:21:11 +01:00
Matthias Jentsch
807666bf88
Improve chart axis readability
...
Introduce different line weights to separate between the smallest visible separator (steps) and single chart values (ticks). Calculate the amount of ticks per step using the available chart space.
fixes #7846
2015-01-13 17:56:50 +01:00
Matthias Jentsch
debc305789
Add logarithmic AxisUnit
...
resolves #7845
2015-01-13 17:56:50 +01:00
Johannes Meyer
bca28a5ae2
Display inline pie-charts also in views exported to PDF
...
fixes #6463
2014-12-15 13:55:20 +01:00
Matthias Jentsch
40611659ed
Fix disappearing tooltips on SVG reload
...
Use a unified linebreak in the chart controller, so the tooltip handling will recognize the titles as identical
2014-09-08 16:23:14 +02:00
Matthias Jentsch
eeed030bb5
Do not use an invalid HTML attributes for rich titles
2014-09-04 13:32:30 +02:00
Matthias Jentsch
4b55bcf8b6
Add tooltips to bar charts
...
Add a class to format and populate tooltips from graph data sets and implement
those tooltips in the ChartController.
2014-09-02 12:24:29 +02:00
Matthias Jentsch
a26370bb12
Adjust PieCharts that are rendered without labels
...
Center and resize PieCharts to use the full width and height of the available view port
2014-08-28 18:25:19 +02:00
Matthias Jentsch
00a2d225a2
Ensure that PieCharts are centered and that labels dont leave the viewBox
...
Add scaling and transformations to move the PieChart into a valid coordinate system and reduce the offset of the labels to make more efficient use of available space.
2014-08-28 16:42:31 +02:00
Matthias Jentsch
c5cface661
Improve readability of small pie charts
...
Use a bigger font, to ensure that small pie charts still have readable labels.
2014-08-28 16:40:34 +02:00
Matthias Jentsch
98809a1447
Do not use width and height as width and height percentages in the outer SVG element
...
Height and width are solely used to define the SVGs ratio and should not cause side effects on the SVGs size in the site context.
2014-08-28 16:37:21 +02:00
Matthias Jentsch
a9eec0d672
Remove useless width and height properties from PieChart
2014-08-28 16:33:38 +02:00
Matthias Jentsch
f77cd9cafa
Fix coding guidelines
2014-08-28 16:21:16 +02:00
Matthias Jentsch
573a4ea12f
Fix spelling mistakes
2014-08-28 16:14:59 +02:00
Matthias Jentsch
947cd0c5d3
Merge branch 'master' of git.icinga.org:icingaweb2
...
fixes #7006
2014-08-27 17:22:09 +02:00
Alexander Klimov
45638b218c
Throw IcingaException rather than Exception
...
fixes #7014
2014-08-27 16:03:15 +02:00
Alexander Klimov
7ff51caed0
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 15:51:49 +02:00
Matthias Jentsch
4a59ff6712
Support preserveAspectRatio in SVGRenderer
...
Add support for the preserveAspectRatio attributes in root SVG elements, to improve the handling of padding and automatic resizing of inline SVG.
2014-08-27 13:51:52 +02:00
Eric Lippmann
1dea19504f
Revert "Remove leading backslashes from the targets of use statements"
...
This reverts commit 87a5967501
.
At least 'modules/doc/run.php' issues a warning about "The use statement with non-compound name 'Zend_Controller_Router_Route' has no effect"
2014-08-27 12:24:11 +02:00
Alexander Klimov
87a5967501
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 11:16:44 +02:00
Matthias Jentsch
ff1d2e4fed
Fix coding style
2014-08-26 15:20:15 +02:00
Goran Rakic
23aa57a5d7
Remove 100% pie slice hack
...
The getPieSlicePath primitive can draw it now.
2014-08-26 15:20:15 +02:00
Goran Rakic
2575634dec
Draw full circle pie slice (100%) as a primitive
...
Allows getPieSlicePath to draw a full circle pie slice (100%) by slightly adjusting endpoint to have a valid arc. Also hides a central line as there will be no more pie slices.
2014-08-26 15:20:15 +02:00
Matthias Jentsch
0eaaaf2f29
Make bar charts thicker
2014-07-22 11:32:52 +02:00
Matthias Jentsch
4b8bb99fa1
Fix svg text rotation in firefox
...
Use the SVG transform attribute instead of the writing-mode attribute to support firefox.
2014-07-22 11:26:35 +02:00
Matthias Jentsch
0a500efd8a
Determine the max value in LinearUnit dynamically
...
The range between min and max should always be divisable by the amount of
ticks, to ensure that the vertical lines are always at a full discrete value.
fixes #6769
2014-07-21 17:21:54 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Matthias Jentsch
3ed67c9af6
Determine the scale factor correctly
...
Fix error in the logic of the context renderer, that lead to a wrong scale factor
when the width was bigger than the height
2014-07-09 18:13:40 +02:00
Matthias Jentsch
8d697a3d8e
Fix coding style
2014-07-09 18:13:40 +02:00
Matthias Jentsch
ec3bafa026
Fix number formatting in chart classes
...
Use explizit number formatting instead of implicit type conversions when
rendering SVGs, to prevent a change of the locale from breaking the charts.
fixes #6585
2014-07-09 18:13:40 +02:00