I am using Plotly OHLC charts with Jupyter Notebook. Currently, Plotly offers some interactive controls on its OHLC charts:
While Plotly is doing a good job here, these controls are not what most the trades expect. The lack of standard OHLC controls lead to expectation mismanagement and poor UX. Thus, I would like to customize these controls.
E.g.
- Change the default action to pan instead of section selection zoom
- Make rubber band zoom controls for both X and Y axis
- Make the toolbox visible always and change the tool box controls
My question is
- What would be the starting point to customize Plotly JavaScript code to make any enhancement or new controls
- If we assume the current OHLC is too inflexible to customize and has to be rewritten, what is the process to add new widgets to Plotly Python (and JavaScript libraries)