@@ -6,30 +6,41 @@ open Fable.Core
66
77[<Erase>]
88type line =
9- static member inline strokeWidth ( value : int ) = Interop.mkLineAttr " strokeWidth" value
9+ static member inline strokeWidth ( value : int ) = Interop.mkLineAttr " strokeWidth" value
10+
1011 /// The source data, in which each element is an object.
11- static member inline data ( values : seq < 'a >) = Interop.mkLineAttr " data" ( Seq.toArray values)
12+ static member inline data ( values : seq < 'a >) =
13+ Interop.mkLineAttr " data" ( Seq.toArray values)
14+
1215 /// The source data, in which each element is an object.
13- static member inline data ( values : 'a list ) = Interop.mkLineAttr " data" ( List.toArray values)
16+ static member inline data ( values : 'a list ) =
17+ Interop.mkLineAttr " data" ( List.toArray values)
18+
1419 /// The source data, in which each element is an object.
15- static member inline data ( values : 'a array ) = Interop.mkLineAttr " data" values
20+ static member inline data ( values : 'a array ) = Interop.mkLineAttr " data" values
1621
1722 static member inline name ( value : string ) = Interop.mkLineAttr " name" value
18- static member inline dataKey ( value : string ) = Interop.mkLineAttr " dataKey" value
19- static member inline dataKey ( f : 'a -> string ) = Interop.mkLineAttr " dataKey" f
20- static member inline dataKey ( f : 'a -> int ) = Interop.mkLineAttr " dataKey" f
21- static member inline dataKey ( f : 'a -> float ) = Interop.mkLineAttr " dataKey" f
22- static member inline dataKey ( f : 'a -> string option ) = Interop.mkLineAttr " dataKey" f
23- static member inline dataKey ( f : 'a -> int option ) = Interop.mkLineAttr " dataKey" f
24- static member inline dataKey ( f : 'a -> float option ) = Interop.mkLineAttr " dataKey" f
25- static member inline stroke ( value : string ) = Interop.mkLineAttr " stroke" value
26- static member inline strokeOpacity ( value : float ) = Interop.mkLineAttr " stroke-opacity" value
27- static member inline fill ( value : string ) = Interop.mkLineAttr " fill" value
28- static member inline xAxisId ( value : string ) = Interop.mkLineAttr " xAxisId" value
29- static member inline yAxisId ( value : string ) = Interop.mkLineAttr " yAxisId" value
30- static member inline xAxisId ( value : int ) = Interop.mkLineAttr " xAxisId" value
31- static member inline yAxisId ( value : int ) = Interop.mkLineAttr " yAxisId" value
32- static member inline strokeDasharray ( [<ParamArray>] values : int []) = Interop.mkLineAttr " strokeDasharray" ( values |> Array.map string |> String.concat " " )
23+ static member inline dataKey ( value : string ) = Interop.mkLineAttr " dataKey" value
24+ static member inline dataKey ( f : 'a -> string ) = Interop.mkLineAttr " dataKey" f
25+ static member inline dataKey ( f : 'a -> int ) = Interop.mkLineAttr " dataKey" f
26+ static member inline dataKey ( f : 'a -> float ) = Interop.mkLineAttr " dataKey" f
27+ static member inline dataKey ( f : 'a -> string option ) = Interop.mkLineAttr " dataKey" f
28+ static member inline dataKey ( f : 'a -> int option ) = Interop.mkLineAttr " dataKey" f
29+ static member inline dataKey ( f : 'a -> float option ) = Interop.mkLineAttr " dataKey" f
30+ static member inline stroke ( value : string ) = Interop.mkLineAttr " stroke" value
31+
32+ static member inline strokeOpacity ( value : float ) =
33+ Interop.mkLineAttr " strokeOpacity" value
34+
35+ static member inline fill ( value : string ) = Interop.mkLineAttr " fill" value
36+ static member inline xAxisId ( value : string ) = Interop.mkLineAttr " xAxisId" value
37+ static member inline yAxisId ( value : string ) = Interop.mkLineAttr " yAxisId" value
38+ static member inline xAxisId ( value : int ) = Interop.mkLineAttr " xAxisId" value
39+ static member inline yAxisId ( value : int ) = Interop.mkLineAttr " yAxisId" value
40+
41+ static member inline strokeDasharray ( [<ParamArray>] values : int []) =
42+ Interop.mkLineAttr " strokeDasharray" ( values |> Array.map string |> String.concat " " )
43+
3344 static member inline monotone = Interop.mkLineAttr " type" " monotone"
3445 static member inline basis = Interop.mkLineAttr " type" " basis"
3546 static member inline basisClosed = Interop.mkLineAttr " type" " basisClosed"
@@ -42,7 +53,7 @@ type line =
4253 static member inline stepBefore = Interop.mkLineAttr " type" " stepBefore"
4354 static member inline stepAfter = Interop.mkLineAttr " type" " stepAfter"
4455 static member inline monotoneY = Interop.mkLineAttr " type" " monotoneY"
45- static member inline connectNulls ( value : bool ) = Interop.mkLineAttr " connectNulls" value
56+ static member inline connectNulls ( value : bool ) = Interop.mkLineAttr " connectNulls" value
4657 static member inline dot ( value : bool ) = Interop.mkLineAttr " dot" value
4758 static member inline dot ( render : IDotProperties < 'a > -> ReactElement ) = Interop.mkLineAttr " dot" render
4859 static member inline activeDot ( value : bool ) = Interop.mkLineAttr " activeDot" value
@@ -52,14 +63,22 @@ type line =
5263 static member inline label ( value : float ) = Interop.mkLineAttr " label" value
5364 static member inline label ( value : ReactElement ) = Interop.mkLineAttr " label" value
5465 static member inline label ( value : ILabelProperties -> ReactElement ) = Interop.mkLineAttr " label" value
66+
5567 /// If set false, animation of area will be disabled.
56- static member inline isAnimationActive ( value : bool ) = Interop.mkLineAttr " isAnimationActive" value
68+ static member inline isAnimationActive ( value : bool ) =
69+ Interop.mkLineAttr " isAnimationActive" value
70+
5771 /// Specifies when the animation should begin, the unit of this option is ms.
58- static member inline animationBegin ( value : int ) = Interop.mkLineAttr " animationBegin" value
72+ static member inline animationBegin ( value : int ) =
73+ Interop.mkLineAttr " animationBegin" value
74+
5975 /// Specifies the duration of animation, the unit of this option is ms. Default is ` 1500ms ` .
60- static member inline animationDuration ( value : int ) = Interop.mkLineAttr " animationDuration" value
76+ static member inline animationDuration ( value : int ) =
77+ Interop.mkLineAttr " animationDuration" value
78+
6179 /// Specifies the duration of animation. Default is ` 1500ms ` .
62- static member inline animationDuration ( value : TimeSpan ) = Interop.mkLineAttr " animationDuration" value.TotalMilliseconds
80+ static member inline animationDuration ( value : TimeSpan ) =
81+ Interop.mkLineAttr " animationDuration" value.TotalMilliseconds
6382
6483[<Erase>]
6584module line =
0 commit comments