plotly.js
Version:
The open source javascript graphing library that powers plotly
38 lines (31 loc) • 1.18 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 = {
moduleType: 'trace',
name: 'funnelarea',
basePlotModule: require('./base_plot'),
categories: ['pie-like', 'funnelarea', 'showLegend'],
attributes: require('./attributes'),
layoutAttributes: require('./layout_attributes'),
supplyDefaults: require('./defaults'),
supplyLayoutDefaults: require('./layout_defaults'),
calc: require('./calc').calc,
crossTraceCalc: require('./calc').crossTraceCalc,
plot: require('./plot'),
style: require('./style'),
styleOne: require('../pie/style_one'),
meta: {
description: [
'Visualize stages in a process using area-encoded trapezoids. This trace can be used',
'to show data in a part-to-whole representation similar to a "pie" trace, wherein',
'each item appears in a single stage. See also the "funnel" trace type for a different',
'approach to visualizing funnel data.'
].join(' ')
}
};