We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have to pass in 54 none options and some of the types the editor cannot even resolve 😅
I tried dynamic object but no luck
Same is true for Config.init and Layout.init 😅
Axis.LinearAxis.init(Autorange: StyleParam.AutoRange.Reversed);
var xAxis = new Axis.LinearAxis(); xAxis.SetValue("autorange", StyleParam.AutoRange.Reversed);
All the arguments should be optional.
All arguments are mandatory.
var xAxis = Axis.LinearAxis.init(FSharpOption<StyleParam.AxisType>.None, FSharpOption<string>.None, FSharpOption<Font>.None, StyleParam.AutoRange.Reversed, FSharpOption<StyleParam.RangeMode>.None, FSharpOption<StyleParam.Range>.None, FSharpOption<RangeSlider>.None, FSharpOption<bool>.None, FSharpOption<StyleParam.TickMode>.None, FSharpOption<int>.None, FSharpOption<float>.None, FSharpOption<float>.None, FSharpOption<IEnumerable<float>>.None, FSharpOption<IEnumerable<float>>.None, FSharpOption<StyleParam.TickOptions>.None, FSharpOption<StyleParam.Mirror>.None, FSharpOption<double>.None, FSharpOption<double>.None, FSharpOption<string>.None, FSharpOption<bool>.None, FSharpOption<Font>.None, FSharpOption<int>.None, FSharpOption<string>.None, FSharpOption<StyleParam.ShowTickOption>.None, FSharpOption<string>.None, FSharpOption<StyleParam.ShowTickOption>.None, FSharpOption<StyleParam.ShowExponent>.None, FSharpOption<StyleParam.ExponentFormat>.None, FSharpOption<string>.None, FSharpOption<string>.None, FSharpOption<bool>.None, FSharpOption<string>.None, FSharpOption<double>.None, FSharpOption<bool>.None, FSharpOption<string>.None, FSharpOption<double>.None, FSharpOption<bool>.None, FSharpOption<string>.None, FSharpOption<double>.None, FSharpOption<StyleParam.AxisAnchorId>.None, FSharpOption<StyleParam.Side>.None, FSharpOption<StyleParam.AxisAnchorId>.None, FSharpOption<StyleParam.Range>.None, FSharpOption<double>.None, FSharpOption<bool>.None, FSharpOption<bool>.None, FSharpOption<double>.None, FSharpOption<string>.None, FSharpOption<bool>.None, FSharpOption<string>.None, FSharpOption<bool>.None, FSharpOption<bool>.None, FSharpOption<StyleParam.CategoryOrder>.None, FSharpOption<IEnumerable<string>>.None);
v2.0.0-preview.6
The text was updated successfully, but these errors were encountered:
Yeah we have to specifically Set these parameters as optional with null as default value, and that has not happened everywhere yet.
The Set value workaround should work though, you have to transform the type via StyleParam.AutoRange.convert.
Sorry, something went wrong.
I'll try the convert 👍
should be fixed with the next release.
Plotly.NET/src/Plotly.NET/Layout/ObjectAbstractions/Common/LinearAxis.fs
Line 92 in 9dfed2c
Thanks @kMutagene
No branches or pull requests
Description
I have to pass in 54 none options and some of the types the editor cannot even resolve 😅
I tried dynamic object but no luck
Same is true for Config.init and Layout.init 😅
Repro steps
Expected behavior
All the arguments should be optional.
Actual behavior
All arguments are mandatory.
Known workarounds
Related information
v2.0.0-preview.6
The text was updated successfully, but these errors were encountered: