Hi team,
We are having a requirement to trigger different menu functionalities (available in modeBarButtons) of Plotly chart from our own settings menu. We are not able find any exported functions for these. Anyone please help me on this .
Yep, these functions arenโt part of our official API (yet).
You can require this
'use strict';
var Registry = require('../../registry');
var Plots = require('../../plots/plots');
var axisIds = require('../../plots/cartesian/axis_ids');
var Icons = require('../../fonts/ploticon');
var eraseActiveShape = require('../shapes/draw').eraseActiveShape;
var Lib = require('../../lib');
var _ = Lib._;
var modeBarButtons = module.exports = {};
/**
* ModeBar buttons configuration
*
* @param {string} name
* name / id of the buttons (for tracking)
* @param {string} title
* text that appears while hovering over the button,
* enter null, false or '' for no hover text
This file has been truncated. show original
source file, at your own risk.