@nebula.js/sn-scatter-plot:plugins

v2.0.0
experimental

Scatter plot plugins API definitions

pluginArguments

namespace
experimental

The arguments that are passed to the fn function of the plugin definition. For example, the layout and keys in the following plugin: const pointPlugin = { info: { name: 'point-plugin', type: 'component-definition', }, fn: ({ layout, keys }) => { const componentDefinition = { key: keys.components.point, type: 'point', settings: { // Some new settings that make use of // the data in layout and keys }, }; return componentDefinition; }, ;

Properties

keys
experimental

The keys (references) to different types of chart internals

layout
experimental
object

The layout from the enigma model.

Was this page helpful?