fslaborg / fslaborg/XPlot

XPlot.Plotly some configuration options are missing

Open
#135 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
289
Forks
70
PR merge metrics
No merged PRs in 30d

Description

According to the Plotly site to [disable the modebar](https://plot.ly/javascript/configuration-options/#never-display-the-modebar) I have to use following option `{displayModeBar: false}`:

`Plotly.newPlot('myDiv', data, layout, {displayModeBar: false});`

While the [current JS generator](https://github.com/fslaborg/XPlot/blob/1e97f7e397e4d90c81d588791e711872aee2e9a3/src/XPlot.Plotly/Main.fs#L37) doesn't allow me to specify the last parameter.

Currently working around it with an ugly `string.replace`, but would be nice to have the possibility to supply these options in type safe mode.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.