forked from plotly/Plotly.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTickFormatStop.fs
More file actions
45 lines (38 loc) · 1.64 KB
/
Copy pathTickFormatStop.fs
File metadata and controls
45 lines (38 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
namespace Plotly.NET
open Plotly.NET
open DynamicObj
open System
open System.Runtime.InteropServices
type TickFormatStop() =
inherit DynamicObj()
static member init
(
[<Optional; DefaultParameterValue(null)>] ?Enabled: bool,
[<Optional; DefaultParameterValue(null)>] ?DTickRange: seq<string * string>,
[<Optional; DefaultParameterValue(null)>] ?Value: string,
[<Optional; DefaultParameterValue(null)>] ?Name: string,
[<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string
) =
TickFormatStop()
|> TickFormatStop.style (
?Enabled = Enabled,
?DTickRange = DTickRange,
?Value = Value,
?Name = Name,
?TemplateItemName = TemplateItemName
)
static member style
(
[<Optional; DefaultParameterValue(null)>] ?Enabled: bool,
[<Optional; DefaultParameterValue(null)>] ?DTickRange: seq<string * string>,
[<Optional; DefaultParameterValue(null)>] ?Value: string,
[<Optional; DefaultParameterValue(null)>] ?Name: string,
[<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string
) =
(fun (tickFormatStop: TickFormatStop) ->
Enabled |> DynObj.setValueOpt tickFormatStop "enabled"
DTickRange |> DynObj.setValueOpt tickFormatStop "dtickrange"
Value |> DynObj.setValueOpt tickFormatStop "value"
Name |> DynObj.setValueOpt tickFormatStop "name"
TemplateItemName |> DynObj.setValueOpt tickFormatStop "templateitemname"
tickFormatStop)