XPlot icon indicating copy to clipboard operation
XPlot copied to clipboard

Feature request: XPlot.Plotly -- separate Chart.WithLayout with smaller functions

Open randomizedthinking opened this issue 7 years ago • 2 comments

When using XPlot,Plotly, one has to create a layout val even just to change a minor element. Since the Layout type contains so many components, I think it would be a good idea to have separate functions to allow users to set each value, such as:

Scatter(x=x, y=y)
|> Chart.Plot
|> Chart.WithYaxis Yaxis(tickformat=".0%")

randomizedthinking avatar Jul 25 '17 15:07 randomizedthinking

Any chance of using anonymous records for static type safety like FizzPlot? Maybe not C# friendly enough..

malisimo avatar Sep 01 '20 20:09 malisimo

In this case I'm not sure if Anonymous Records would help with the API, since you'd still have to know the magic names for various keys and values to make Plotly.js happy.

cartermp avatar Sep 01 '20 21:09 cartermp