UNPKG

dimple-js

Version:

Dimple is an object-oriented API allowing you to create flexible axis-based charts using [d3.js](http://d3js.org "d3.js").

11 lines (9 loc) 449 B
// Copyright: 2015 AlignAlytics // License: "https://github.com/PMSI-AlignAlytics/dimple/blob/master/MIT-LICENSE.txt" // Source: /src/objects/storyboard/methods/goToFrame.js this.goToFrame = function (frameText) { if (this._getCategories().length > 0) { var index = this._getCategories().indexOf(frameText); this._goToFrameIndex(index); } };