Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Added a parent method to get the raw Trace object
Browse files Browse the repository at this point in the history
  • Loading branch information
dtsn committed Mar 15, 2016
1 parent 7b4d2b3 commit 6d30508
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trace/BarChart.js
Expand Up @@ -32,6 +32,8 @@ define([
gridlines: true
}, options);

this.__parent__ = Trace;

this._build();
};

Expand Down
2 changes: 2 additions & 0 deletions trace/Likert.js
Expand Up @@ -35,6 +35,8 @@ define([
gridlines: true
}, options);

this.__parent__ = Trace;

this._build();
};

Expand Down
2 changes: 2 additions & 0 deletions trace/LineChart.js
Expand Up @@ -39,6 +39,8 @@ define([
brush: false
}, options);

this.__parent__ = Trace;

this.lines = {};
this.areas = {};
this.linePaths = {};
Expand Down

0 comments on commit 6d30508

Please sign in to comment.