plotly.js
Version:
The open source javascript graphing library that powers plotly
40 lines (36 loc) • 1.16 kB
JavaScript
/**
* Copyright 2012-2020, 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.
*/
;
module.exports = {
xaxis: {
valType: 'subplotid',
role: 'info',
dflt: 'x',
editType: 'calc+clearAxisTypes',
description: [
'Sets a reference between this trace\'s x coordinates and',
'a 2D cartesian x axis.',
'If *x* (the default value), the x coordinates refer to',
'`layout.xaxis`.',
'If *x2*, the x coordinates refer to `layout.xaxis2`, and so on.'
].join(' ')
},
yaxis: {
valType: 'subplotid',
role: 'info',
dflt: 'y',
editType: 'calc+clearAxisTypes',
description: [
'Sets a reference between this trace\'s y coordinates and',
'a 2D cartesian y axis.',
'If *y* (the default value), the y coordinates refer to',
'`layout.yaxis`.',
'If *y2*, the y coordinates refer to `layout.yaxis2`, and so on.'
].join(' ')
}
};