-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathindex.js
36 lines (29 loc) · 1.09 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-2018, 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 Carpet = {};
Carpet.attributes = require('./attributes');
Carpet.supplyDefaults = require('./defaults');
Carpet.plot = require('./plot');
Carpet.calc = require('./calc');
Carpet.animatable = true;
Carpet.moduleType = 'trace';
Carpet.name = 'carpet';
Carpet.basePlotModule = require('../../plots/cartesian');
Carpet.categories = ['cartesian', 'svg', 'carpet', 'carpetAxis', 'notLegendIsolatable'];
Carpet.meta = {
description: [
'The data describing carpet axis layout is set in `y` and (optionally)',
'also `x`. If only `y` is present, `x` the plot is interpreted as a',
'cheater plot and is filled in using the `y` values.',
'`x` and `y` may either be 2D arrays matching with each dimension matching',
'that of `a` and `b`, or they may be 1D arrays with total length equal to',
'that of `a` and `b`.'
].join(' ')
};
module.exports = Carpet;