You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Fable.Recharts/Fable.Recharts.fs
+24-14Lines changed: 24 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -5,21 +5,24 @@ open Fable.Core
5
5
openFable.Core.JsInterop
6
6
7
7
moduleProps =
8
-
[<StringEnum>]
9
-
typeLayout=
8
+
9
+
type[<StringEnum>]Layout=
10
10
| Horizontal
11
11
| Vertical
12
12
13
-
[<StringEnum>]
14
-
typeStackOffset=
13
+
type[<StringEnum>]StackOffset=
15
14
| Expand
16
15
| Wiggle
17
16
| Silhouette
18
17
| Sign
19
18
|[<CompiledName("none")>] NoStackOffset
20
19
21
-
[<StringEnum>]
22
-
typeInterpolation=
20
+
type[<StringEnum>]BaseValue=
21
+
| DataMin
22
+
| DataMax
23
+
| Auto
24
+
25
+
type[<StringEnum>]Interpolation=
23
26
| Basis
24
27
| BasisClosed
25
28
| BasisOpen
@@ -34,8 +37,7 @@ module Props =
34
37
| StepAfter
35
38
//| Function
36
39
37
-
[<StringEnum>]
38
-
typeLegend=
40
+
type[<StringEnum>]Legend=
39
41
| Line
40
42
| Square
41
43
| Rect
@@ -47,8 +49,7 @@ module Props =
47
49
| Wye
48
50
|[<CompiledName("none")>] NoLegend
49
51
50
-
[<StringEnum>]
51
-
typeEasing=
52
+
type[<StringEnum>]Easing=
52
53
| Ease
53
54
|[<CompiledName("ease-in")>] EaseIn
54
55
|[<CompiledName("ease-out")>] EaseOut
@@ -66,7 +67,7 @@ module Props =
66
67
right:float
67
68
left:float }
68
69
69
-
typeChartProp=
70
+
type[<RequireQualifiedAccess>]ChartProp=
70
71
/// If any two categorical charts(LineChart, AreaChart, BarChart, ComposedChart) have the same syncId, these two charts can sync the position tooltip, and the startIndex, endIndex of Brush.
71
72
| SyncId ofstring
72
73
| Layout ofLayout
@@ -86,14 +87,17 @@ module Props =
86
87
/// BarChart: The type of offset function used to generate the lower and upper values in the series array. The four types are built-in offsets in d3-shape.
0 commit comments