plotly.js
Version:
The open source javascript graphing library that powers plotly
27 lines (21 loc) • 814 B
JavaScript
module.exports = {
moduleType: 'trace',
name: 'indicator',
basePlotModule: require('./base_plot'),
categories: ['svg', 'noOpacity', 'noHover'],
animatable: true,
attributes: require('./attributes'),
supplyDefaults: require('./defaults').supplyDefaults,
calc: require('./calc').calc,
plot: require('./plot'),
meta: {
description: [
'An indicator is used to visualize a single `value` along with some',
'contextual information such as `steps` or a `threshold`, using a',
'combination of three visual elements: a number, a delta, and/or a gauge.',
'Deltas are taken with respect to a `reference`.',
'Gauges can be either angular or bullet (aka linear) gauges.'
].join(' ')
}
};
;