mirror of https://github.com/vitalif/dimple
parent
8c8397def3
commit
ba76575b7e
|
@ -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)
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
|
||||
// Create the stub object
|
||||
var dimple = {
|
||||
version: "1.0.0",
|
||||
version: "1.1.1",
|
||||
plot: {},
|
||||
aggregateMethod: {}
|
||||
};
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue