Skip to content

Commit

Permalink
Merge pull request #34 from paulcpederson/master
Browse files Browse the repository at this point in the history
build for v1.1.1
  • Loading branch information
paulcpederson committed Sep 18, 2014
2 parents cc8ad54 + a298ab6 commit f51b8e7
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-dimple",
"version": "1.1.0",
"version": "1.1.1",
"main": "dist/angular-dimple.js",
"homepage": "http://esripdx.github.io/angular-dimple/",
"authors": [
Expand Down
22 changes: 21 additions & 1 deletion dist/angular-dimple.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Angular-Dimple - 1.1.0 - 2014-09-17
/*! Angular-Dimple - 1.1.1 - 2014-09-18
* https://github.com/esripdx/angular-dimple
* Licensed ISC */
angular.module('angular-dimple', [
Expand Down Expand Up @@ -441,6 +441,11 @@ angular.module('angular-dimple.x', [])
x = chart.addMeasureAxis('x', [$attrs.groupBy, $attrs.field]);
} else if ($attrs.type == 'Percent') {
x = chart.addPctAxis('x', $attrs.field);
} else if ($attrs.type == 'Time') {
x = chart.addTimeAxis('x', $attrs.field);
if ($attrs.format) {
x.tickFormat = $attrs.format;
}
} else {
x = chart.addCategoryAxis('x', [$attrs.groupBy, $attrs.field]);
}
Expand All @@ -452,6 +457,11 @@ angular.module('angular-dimple.x', [])
x = chart.addMeasureAxis('x', $attrs.field);
} else if ($attrs.type == 'Percent') {
x = chart.addPctAxis('x', $attrs.field);
} else if ($attrs.type == 'Time') {
x = chart.addTimeAxis('x', $attrs.field);
if ($attrs.format) {
x.tickFormat = $attrs.format;
}
} else {
x = chart.addCategoryAxis('x', $attrs.field);
}
Expand Down Expand Up @@ -494,6 +504,11 @@ angular.module('angular-dimple.y', [])
y = chart.addCategoryAxis('y', $attrs.field);
} else if ($attrs.type == 'Percent') {
y = chart.addPctAxis('y', $attrs.field);
} else if ($attrs.type == 'Time') {
y = chart.addTimeAxis('x', $attrs.field);
if ($attrs.format) {
y.tickFormat = $attrs.format;
}
} else {
y = chart.addMeasureAxis('y', $attrs.field);
}
Expand All @@ -505,6 +520,11 @@ angular.module('angular-dimple.y', [])
y = chart.addCategoryAxis('y', $attrs.field);
} else if ($attrs.type == 'Percent') {
y = chart.addPctAxis('y', $attrs.field);
} else if ($attrs.type == 'Time') {
y = chart.addTimeAxis('x', $attrs.field);
if ($attrs.format) {
y.tickFormat = $attrs.format;
}
} else {
y = chart.addMeasureAxis('y', $attrs.field);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-dimple.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 21 additions & 1 deletion site/js/lib/angular-dimple.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Angular-Dimple - 1.1.0 - 2014-09-17
/*! Angular-Dimple - 1.1.1 - 2014-09-18
* https://github.com/esripdx/angular-dimple
* Licensed ISC */
angular.module('angular-dimple', [
Expand Down Expand Up @@ -441,6 +441,11 @@ angular.module('angular-dimple.x', [])
x = chart.addMeasureAxis('x', [$attrs.groupBy, $attrs.field]);
} else if ($attrs.type == 'Percent') {
x = chart.addPctAxis('x', $attrs.field);
} else if ($attrs.type == 'Time') {
x = chart.addTimeAxis('x', $attrs.field);
if ($attrs.format) {
x.tickFormat = $attrs.format;
}
} else {
x = chart.addCategoryAxis('x', [$attrs.groupBy, $attrs.field]);
}
Expand All @@ -452,6 +457,11 @@ angular.module('angular-dimple.x', [])
x = chart.addMeasureAxis('x', $attrs.field);
} else if ($attrs.type == 'Percent') {
x = chart.addPctAxis('x', $attrs.field);
} else if ($attrs.type == 'Time') {
x = chart.addTimeAxis('x', $attrs.field);
if ($attrs.format) {
x.tickFormat = $attrs.format;
}
} else {
x = chart.addCategoryAxis('x', $attrs.field);
}
Expand Down Expand Up @@ -494,6 +504,11 @@ angular.module('angular-dimple.y', [])
y = chart.addCategoryAxis('y', $attrs.field);
} else if ($attrs.type == 'Percent') {
y = chart.addPctAxis('y', $attrs.field);
} else if ($attrs.type == 'Time') {
y = chart.addTimeAxis('x', $attrs.field);
if ($attrs.format) {
y.tickFormat = $attrs.format;
}
} else {
y = chart.addMeasureAxis('y', $attrs.field);
}
Expand All @@ -505,6 +520,11 @@ angular.module('angular-dimple.y', [])
y = chart.addCategoryAxis('y', $attrs.field);
} else if ($attrs.type == 'Percent') {
y = chart.addPctAxis('y', $attrs.field);
} else if ($attrs.type == 'Time') {
y = chart.addTimeAxis('x', $attrs.field);
if ($attrs.format) {
y.tickFormat = $attrs.format;
}
} else {
y = chart.addMeasureAxis('y', $attrs.field);
}
Expand Down
Loading

0 comments on commit f51b8e7

Please sign in to comment.