image-charts 5.4.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/image-charts.rb +15 -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: cf10246877a2ca2460e682a9990ff1bc8a77fee2b4f6c891fdf37ec32d1486e5
|
4
|
+
data.tar.gz: 282e85bda9fc569f54dcbed9fee2b8c681f472342e48519975efbc61d294a0e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caaaca1fb896597714ed31cc2c3f0d8a0c3ee5479fc7b14c5bd564d04eb23ade5358e7020fa41b7db49760eac0aee7fb73a9233c79053ae8bcafad92cad81d4c
|
7
|
+
data.tar.gz: f0103eaa16e2a50fbbade3c9b270a43ddbaf0fc383ffb87906794da71752879d090a1568d11bced7bfb309012fb1d3832d466f54c2099a08e07cf7bf4308ac26
|
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/}
|
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:
|
4
|
+
version: 6.0.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:
|
11
|
+
date: 2021-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|