Skip to content

Commit 96bcbfc

Browse files
committed
lib: add groupby module + register it in main index
1 parent 6309837 commit 96bcbfc

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

lib/groupby.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Copyright 2012-2016, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
9+
'use strict';
10+
11+
module.exports = require('../src/transforms/groupby');

lib/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
var Plotly = require('./core');
1212

13+
// traces
1314
Plotly.register([
1415
require('./bar'),
1516
require('./box'),
@@ -30,9 +31,10 @@ Plotly.register([
3031
require('./scattermapbox')
3132
]);
3233

33-
// add transforms
34+
// transforms
3435
Plotly.register([
35-
require('./filter')
36+
require('./filter'),
37+
require('./groupby')
3638
]);
3739

3840
module.exports = Plotly;

0 commit comments

Comments
 (0)