plotly.js
Version:
The open source javascript graphing library that powers plotly
37 lines (33 loc) • 1.11 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 = {
attributes: require('./attributes'),
supplyDefaults: require('./defaults'),
colorbar: require('../heatmap/colorbar'),
calc: require('./calc'),
calcGeoJSON: require('./plot').calcGeoJSON,
plot: require('./plot').plot,
style: require('./style').style,
styleOnSelect: require('./style').styleOnSelect,
hoverPoints: require('./hover'),
eventData: require('./event_data'),
selectPoints: require('./select'),
moduleType: 'trace',
name: 'choropleth',
basePlotModule: require('../../plots/geo'),
categories: ['geo', 'noOpacity', 'showLegend'],
meta: {
description: [
'The data that describes the choropleth value-to-color mapping',
'is set in `z`.',
'The geographic locations corresponding to each value in `z`',
'are set in `locations`.'
].join(' ')
}
};