chartkick 4.1.0 → 4.1.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/CHANGELOG.md +5 -0
- data/lib/chartkick/version.rb +1 -1
- data/licenses/LICENSE-date-fns.txt +21 -20
- data/vendor/assets/javascripts/Chart.bundle.js +2692 -2344
- data/vendor/assets/javascripts/chartkick.js +5 -5
- metadata +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Chartkick.js
|
|
3
3
|
* Create beautiful charts with one line of JavaScript
|
|
4
4
|
* https://github.com/ankane/chartkick.js
|
|
5
|
-
* v4.1.
|
|
5
|
+
* v4.1.1
|
|
6
6
|
* MIT License
|
|
7
7
|
*/
|
|
8
8
|
|
|
@@ -748,17 +748,17 @@
|
|
|
748
748
|
|
|
749
749
|
if (chart.xtype === "datetime") {
|
|
750
750
|
if (notnull(xmin)) {
|
|
751
|
-
options.scales.x.
|
|
751
|
+
options.scales.x.min = toDate(xmin).getTime();
|
|
752
752
|
}
|
|
753
753
|
if (notnull(xmax)) {
|
|
754
|
-
options.scales.x.
|
|
754
|
+
options.scales.x.max = toDate(xmax).getTime();
|
|
755
755
|
}
|
|
756
756
|
} else if (chart.xtype === "number") {
|
|
757
757
|
if (notnull(xmin)) {
|
|
758
|
-
options.scales.x.
|
|
758
|
+
options.scales.x.min = xmin;
|
|
759
759
|
}
|
|
760
760
|
if (notnull(xmax)) {
|
|
761
|
-
options.scales.x.
|
|
761
|
+
options.scales.x.max = xmax;
|
|
762
762
|
}
|
|
763
763
|
}
|
|
764
764
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chartkick
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.1.
|
|
4
|
+
version: 4.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Kane
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email: andrew@ankane.org
|