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
+46-8Lines changed: 46 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ module Props =
67
67
right:float
68
68
left:float }
69
69
70
-
type[<RequireQualifiedAccess>]ChartProp=
70
+
type[<RequireQualifiedAccess>]Chart=
71
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.
72
72
| SyncId ofstring
73
73
| Layout ofLayout
@@ -90,14 +90,33 @@ module Props =
90
90
/// AreaChart: The base value of are.
91
91
| BaseValue ofU2<float,BaseValue>
92
92
93
+
/// ComposedChart: If false set, stacked items will be rendered left to right. If true set, stacked items will be rendered right to left. (Render direction affects SVG layering, not x position.)
94
+
| ReverseStackOrder ofbool
95
+
96
+
/// RadarChart: [Percentage (e.g. "50%") | Number] The x-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of width.
97
+
| Cx ofobj
98
+
/// RadarChart: [Percentage (e.g. "50%") | Number] The y-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of height.
99
+
| Cy ofobj
100
+
/// RadarChart: The angle of first radial direction line.
101
+
| StartAngle offloat
102
+
/// RadarChart: The angle of last point in the circle which should be startAngle - 360 or startAngle + 360. We'll calculate the direction of chart by 'startAngle' and 'endAngle'.
103
+
| EndAngle offloat
104
+
/// RadarChart: The inner radius of first circle grid. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy.
105
+
| InnerRadius ofobj
106
+
/// RadarChart: The outer radius of last circle grid. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy.
107
+
| OuterRadius ofobj
108
+
93
109
// Events
94
110
| OnClick of(React.MouseEvent->unit)
95
-
| OnMouseEnter of(React.MouseEvent->unit)
111
+
| OnMouseDown of(React.MouseEvent->unit)
112
+
| OnMouseUp of(React.MouseEvent->unit)
96
113
| OnMouseMove of(React.MouseEvent->unit)
114
+
| OnMouseOver of(React.MouseEvent->unit)
115
+
| OnMouseEnter of(React.MouseEvent->unit)
97
116
| OnMouseLeave of(React.MouseEvent->unit)
98
-
static member inlineCustom(key:string,value:obj):ChartProp=!!(key, value)
117
+
static member inlineCustom(key:string,value:obj):Chart=!!(key, value)
99
118
100
-
type[<RequireQualifiedAccess>]CartesianProp=
119
+
type[<RequireQualifiedAccess>]Cartesian=
101
120
/// The interpolation type of line. And customized interpolation function can be set to type. It's the same as type in Area.
102
121
| Type ofInterpolation
103
122
/// The key of a group of data which should be unique in a LineChart.
@@ -152,7 +171,7 @@ module Props =
152
171
| OnMouseMove of(React.MouseEvent->unit)
153
172
| OnMouseLeave of(React.MouseEvent->unit)
154
173
interface Fable.Helpers.React.Props.IProp
155
-
static member inlineCustom(key:string,value:obj):ChartProp=!!(key, value)
174
+
static member inlineCustom(key:string,value:obj):Chart=!!(key, value)
0 commit comments