Repository navigation
Sliders #120
Description
Activity
Hi!
Can I try to implement it at the weekend? We need this functionality in the project, and I want to know if it's being implemented by someone right now
Hi @amakhno ,
To my knowledge, this is not currently worked on, so feel free to have a go!
All properties of the Slider object can be found here alongside the correct property names
The pattern we use for layout objects can be for example seen here: https://github.com/plotly/Plotly.NET/blob/dev/src/Plotly.NET/Layout/ObjectAbstractions/Common/Annotation.fs
as you see, it is basically just the task of copy pasting the props and names and assigning correct .NET types. A few hints on that (it may be possible that you do not need this though):
- nested objects need their own abstractions, for example the font (check if they are implemented already,
Fontdoes exist for example.) data arrayshould beseq<#IConvertible>numbershould be an int (for example for pixels) or float (for example for fractions) depending on context of the reference docs- things that can be a single value or an array of values on the JS side should use the single or multi pattern you can see for example here
And a function for adding such an object to the layout here for F#, and here for the C# extension.
If you have additional questions feel free to ask here or in the fslab discord channel!
- nested objects need their own abstractions, for example the font (check if they are implemented already,
closed via #232