Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
randomizedthinking opened this issue Jul 25, 2017 · 2 comments

Comments

@randomizedthinking
Copy link

randomizedthinking commented Jul 25, 2017

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%")
@malisimo
Copy link

malisimo commented Sep 1, 2020

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

@cartermp
Copy link
Collaborator

cartermp commented Sep 1, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants