simple_chartjs 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/simple_chartjs.js +1 -1
- data/lib/chartjs/chart_helper.rb +1 -1
- data/lib/chartjs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54a2e61e50e0ea78453e8fce2d852c51a560fc6b
|
4
|
+
data.tar.gz: 9fbcc04fab8b4c78a04788036001a709035ed5b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 079a116b48d8e12569ed19098b783cf7a97d949de98e6d00fe162dde52b7e52cbd55d5bbdcf7bae33754fb98f3b9a04d5eede9fad0fa41b77d959bc60c053127
|
7
|
+
data.tar.gz: 0fdab0d3dd24e30cbc6e78037d810b74a44badddb81c56eacbde45658c36df9ffe8c215b33a8bccc9203df575e1c629850633642b1f50da1c5adf3fa433ed78d
|
@@ -1,6 +1,6 @@
|
|
1
1
|
function SimpleChart(type, id, url, width, height, datasetProperties, configurationOptions) {
|
2
2
|
this.ctx = document.getElementById(id);
|
3
|
-
this.chartType = type;
|
3
|
+
this.chartType = this.convertToCamelCase(type);
|
4
4
|
this.url = url;
|
5
5
|
this.width = width;
|
6
6
|
this.height = height;
|
data/lib/chartjs/chart_helper.rb
CHANGED
data/lib/chartjs/version.rb
CHANGED