-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathSunburst.fs
More file actions
34 lines (22 loc) · 771 Bytes
/
Sunburst.fs
File metadata and controls
34 lines (22 loc) · 771 Bytes
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
namespace Plotly.NET.TraceObjects
open Plotly.NET
open Plotly.NET.LayoutObjects
open DynamicObj
open System
open System.Runtime.InteropServices
type SunburstRoot() =
inherit DynamicObj()
static member init(?Color: Color) =
SunburstRoot() |> SunburstRoot.style (?Color = Color)
static member style(?Color: Color) =
fun (root: SunburstRoot) ->
root
|> DynObj.withOptionalProperty "color" Color
type SunburstLeaf() =
inherit DynamicObj()
static member init(?Opacity: float) =
SunburstLeaf() |> SunburstLeaf.style (?Opacity = Opacity)
static member style(?Opacity: float) =
fun (leaf: SunburstLeaf) ->
leaf
|> DynObj.withOptionalProperty "opacity" Opacity