package.src.traces.indicator.index.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plotly.js Show documentation
Show all versions of plotly.js Show documentation
The open source javascript graphing library that powers plotly
The newest version!
'use strict';
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(' ')
}
};