-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathindex.js
36 lines (30 loc) · 1.16 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
* Copyright 2012-2017, Plotly, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
var ScatterGl = {};
ScatterGl.attributes = require('./attributes');
ScatterGl.supplyDefaults = require('./defaults');
ScatterGl.colorbar = require('../scatter/colorbar');
ScatterGl.hoverPoints = require('../scatter/hover');
// reuse the Scatter3D 'dummy' calc step so that legends know what to do
ScatterGl.calc = require('./calc');
ScatterGl.plot = require('./convert');
ScatterGl.selectPoints = require('./select');
ScatterGl.moduleType = 'trace';
ScatterGl.name = 'scattergl';
ScatterGl.basePlotModule = require('../../plots/gl2d');
ScatterGl.categories = ['gl2d', 'symbols', 'errorBarsOK', 'markerColorscale', 'showLegend', 'scatter-like'];
ScatterGl.meta = {
description: [
'The data visualized as scatter point or lines is set in `x` and `y`',
'using the WebGl plotting engine.',
'Bubble charts are achieved by setting `marker.size` and/or `marker.color`',
'to a numerical arrays.'
].join(' ')
};
module.exports = ScatterGl;