diff --git a/src/Dash.NET/DashComponents/CoreComponents/Graph.fs b/src/Dash.NET/DashComponents/CoreComponents/Graph.fs index 4134a82..3038daa 100644 --- a/src/Dash.NET/DashComponents/CoreComponents/Graph.fs +++ b/src/Dash.NET/DashComponents/CoreComponents/Graph.fs @@ -105,8 +105,8 @@ module Graph = ///• loading_state (record with the fields: 'is_loading: boolean (optional)', 'prop_name: string (optional)', 'component_name: string (optional)') - Object that holds the loading state object coming from dash-renderer /// type Prop = - | Figure of Plotly.NET.GenericChart.Figure - | Config of Plotly.NET.Config + | Figure of obj + | Config of Config | ClickData of obj | ClickAnnotationData of obj | HoverData of obj @@ -216,7 +216,13 @@ module Graph = ///https://plotly.com/javascript/reference ///`config` is set separately by the `config` property /// - static member figure(p: Plotly.NET.GenericChart.Figure) = Prop(Figure p) + static member figure(p: GenericChart.Figure) = Prop(Figure p) + /// + ///Plotly `figure` object. See schema: + ///https://plotly.com/javascript/reference + ///`config` is set separately by the `config` property + /// + static member figure(p: obj) = Prop(Figure p) /// ///Generic style overrides on the plot div ///