XPlot
XPlot copied to clipboard
Feature request: XPlot.Plotly -- separate Chart.WithLayout with smaller functions
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%")
Any chance of using anonymous records for static type safety like FizzPlot? Maybe not C# friendly enough..
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.