Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1945de commit e5bf7cfCopy full SHA for e5bf7cf
src/plots/cartesian/axis_ids.js
@@ -40,15 +40,6 @@ exports.cleanId = function cleanId(id, axLetter) {
40
return id.charAt(0) + axNum;
41
};
42
43
-exports.cleanName = function cleanName(name, axLetter) {
44
- if(!name.match(constants.AX_ID_PATTERN)) return;
45
- if(axLetter && name.charAt(0) !== axLetter) return;
46
-
47
- var axNum = name.substr(5).replace(/^0+/,'');
48
- if(axNum === '1') axNum = '';
49
- return name.charAt(0) + 'axis' + axNum;
50
-};
51
52
// get all axis object names
53
// optionally restricted to only x or y or z by string axLetter
54
// and optionally 2D axes only, not those inside 3D scenes
0 commit comments