From 6854cb3f4d8219cf1829e32122eb2502a916eae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Feb 2020 09:05:48 +0100 Subject: initial checkin --- vendor/jamiebicknell/Sparkline/README.md | 101 +++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 vendor/jamiebicknell/Sparkline/README.md (limited to 'vendor/jamiebicknell/Sparkline/README.md') diff --git a/vendor/jamiebicknell/Sparkline/README.md b/vendor/jamiebicknell/Sparkline/README.md new file mode 100644 index 0000000..0309b38 --- /dev/null +++ b/vendor/jamiebicknell/Sparkline/README.md @@ -0,0 +1,101 @@ +# Sparkline + +PHP script to generate sparklines, with browser cachine with ETag. + +## Usage + +```html + +``` + +## Examples + +EG1
+`sparkline.php` + +EG2
+`sparkline.php?data=5` + +EG3
+`sparkline.php?data=2,4,5,6,10,7,8,5,7,7,11,8,6,9,11,9,13,14,12,16` + +EG4
+`sparkline.php?data=2,4,5,6,10,7,8,5,7,7,11,8,6,9,11,9,13,14,12,16&line=5bb763&fill=d5f7d8` + +EG5
+`sparkline.php?data=2,4,5,6,10,7,8,5,7,7,11,8,6,9,11,9,13,14,12,16&line=fd8626&fill=ffedde` + +EG6
+`sparkline.php?data=2,4,5,6,10,7,8,5,7,7,11,8,6,9,11,9,13,14,12,16&line=ed5565&fill=ffe2e2` + +EG7
+`sparkline.php?data=2,4,5,6,10,7,8,5,7,7,11,8,6,9,11,9,13,14,12,16&line=444&fill=eee` + +EG8
+`sparkline.php?data=2,4,5,6,10,7,8,5,7,7,11,8,6,9,11,9,13,14,12,16&line=31475c&fill=fff` + +EG9
+`sparkline.php?size=185x40&data=2,4,5,6,10,7,8,5,7,7,11,8,6,9,11,9,13,14,12,16` + + +## Query Parameters + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
KeyExample ValueDefaultDescription
size100x25, 10080x20Width must be between 50 and 80
Height must be between 20 and 800
data10,20,50,20,30,40,50,120,90Comma separated list of values to plot
backeeeeee, dddffffffHexadecimal code for background colour
line555555, 2221388dbHexadecimal code for line colour
fillcccccc, bbbe6f2faHexadecimal code for fill colour
+ +## Size Parameter + + + + + + + + + + + + + + +
ValueDescription
100Creates a square image 100px in width and 100px in height
80x20Creates an image 80px in width and 20px in height
+ +## License + +Sparkline is licensed under the [MIT license](http://opensource.org/licenses/MIT), see [LICENSE.md](https://github.com/jamiebicknell/Sparkline/blob/master/LICENSE.md) for details. \ No newline at end of file -- cgit v1.2.3-70-g09d2