Skip to content

Commit

Permalink
Fixed erroneous Z title for Chrome v30
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkiernander committed Oct 2, 2013
1 parent 8c8397d commit ba76575
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/dimple.v1.1.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ var dimple = {
}

// Add a title for the axis
if (!axis.hidden) {
if (!axis.hidden && (axis.position === "x" || axis.position === "y")) {
axis.titleShape = this._group.append("text").attr("class", "axis title");
axis.titleShape
.attr("x", titleX)
Expand Down
2 changes: 1 addition & 1 deletion dist/dimple.v1.1.1.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/begin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// Create the stub object
var dimple = {
version: "1.0.0",
version: "1.1.1",
plot: {},
aggregateMethod: {}
};
Expand Down
2 changes: 1 addition & 1 deletion src/objects/chart/methods/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
}

// Add a title for the axis
if (!axis.hidden) {
if (!axis.hidden && (axis.position === "x" || axis.position === "y")) {
axis.titleShape = this._group.append("text").attr("class", "axis title");
axis.titleShape
.attr("x", titleX)
Expand Down

0 comments on commit ba76575

Please sign in to comment.