plotly.js
Version:
The open source javascript graphing library that powers plotly
52 lines (49 loc) • 1.47 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 = {
funnelmode: {
valType: 'enumerated',
values: ['stack', 'group', 'overlay'],
dflt: 'stack',
role: 'info',
editType: 'calc',
description: [
'Determines how bars at the same location coordinate',
'are displayed on the graph.',
'With *stack*, the bars are stacked on top of one another',
'With *group*, the bars are plotted next to one another',
'centered around the shared location.',
'With *overlay*, the bars are plotted over one another,',
'you might need to an *opacity* to see multiple bars.'
].join(' ')
},
funnelgap: {
valType: 'number',
min: 0,
max: 1,
role: 'style',
editType: 'calc',
description: [
'Sets the gap (in plot fraction) between bars of',
'adjacent location coordinates.'
].join(' ')
},
funnelgroupgap: {
valType: 'number',
min: 0,
max: 1,
dflt: 0,
role: 'style',
editType: 'calc',
description: [
'Sets the gap (in plot fraction) between bars of',
'the same location coordinate.'
].join(' ')
}
};