image-charts 5.2.0 → 5.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/image-charts.rb +27 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f89b223f37426c65190900123f7500d542c1fe372cee3240dc424963700ca1a
|
4
|
+
data.tar.gz: 4e45743256c9b1258e8c8484af7c708070f275f4432d904bb4b4f20d7f647721
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19e771cc87ac168d0d68480ec57cc9d4c5d456dcc5a39ffccc07f11b6524a28e1f92ced3524e310e67a5176f046ed6b97cea0a2dac42b3cb5b6a1887a3029c51
|
7
|
+
data.tar.gz: 3bcb37e4048469ed7b80825bf8094effa6fe76cd85177aec9eb831ed6d803067cabd0c532f8215f0a754d8c2d4c4f6db6e427e64d031090889938f55089fb314
|
data/image-charts.rb
CHANGED
@@ -175,7 +175,7 @@ class ImageCharts
|
|
175
175
|
_clone 'chxr', value
|
176
176
|
end
|
177
177
|
|
178
|
-
# Some clients like Flowdock/Facebook messenger and so on, needs an URL to ends with a valid image extension file to display the image, use this parameter at the end your URL to support them. Valid values are ".png", ".svg" and ".gif".
|
178
|
+
# Some clients like Flowdock/Facebook messenger and so on, needs an URL to ends with a valid image extension file to display the image, use this parameter at the end your URL to support them. Valid values are ".png", ".svg" and ".gif".
|
179
179
|
# Only QRCodes and GraphViz support svg output.
|
180
180
|
#
|
181
181
|
# [Reference documentation]{@link https://documentation.image-charts.com/reference/output-format/}
|
@@ -228,6 +228,8 @@ class ImageCharts
|
|
228
228
|
# # @example
|
229
229
|
# chart = ImageCharts().chg('1,1')
|
230
230
|
# chart = ImageCharts().chg('0,1,1,5')
|
231
|
+
# chart = ImageCharts().chg('1,1,FF00FF')
|
232
|
+
# chart = ImageCharts().chg('1,1,1,1,CECECE')
|
231
233
|
#
|
232
234
|
# Solid or dotted grid lines
|
233
235
|
def chg(value)
|
@@ -355,6 +357,18 @@ class ImageCharts
|
|
355
357
|
_clone 'chl', value
|
356
358
|
end
|
357
359
|
|
360
|
+
# Position and style of labels on data
|
361
|
+
#
|
362
|
+
# [Reference documentation]{@link https://documentation.image-charts.com/reference/chart-label/#positionning-and-formatting}
|
363
|
+
# # @example
|
364
|
+
# chart = ImageCharts().chlps('align,top|offset,10|color,FF00FF')
|
365
|
+
# chart = ImageCharts().chlps('align,top|offset,10|color,FF00FF')
|
366
|
+
#
|
367
|
+
# Position and style of labels on data
|
368
|
+
def chlps(value)
|
369
|
+
_clone 'chlps', value
|
370
|
+
end
|
371
|
+
|
358
372
|
# chart margins
|
359
373
|
#
|
360
374
|
# [Reference documentation]{@link https://documentation.image-charts.com/reference/chart-margin/}
|
@@ -389,6 +403,18 @@ class ImageCharts
|
|
389
403
|
_clone 'chf', value
|
390
404
|
end
|
391
405
|
|
406
|
+
# Bar corner radius. Display bars with rounded corner.
|
407
|
+
#
|
408
|
+
# [Reference documentation]{@link https://documentation.image-charts.com/bar-charts/#rounded-bar}
|
409
|
+
# # @example
|
410
|
+
# chart = ImageCharts().chbr('5')
|
411
|
+
# chart = ImageCharts().chbr('10')
|
412
|
+
#
|
413
|
+
# Bar corner radius. Display bars with rounded corner.
|
414
|
+
def chbr(value)
|
415
|
+
_clone 'chbr', value
|
416
|
+
end
|
417
|
+
|
392
418
|
# gif configuration
|
393
419
|
#
|
394
420
|
# [Reference documentation]{@link https://documentation.image-charts.com/reference/animation/}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image-charts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francois-Guillaume Ribreau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|