-
Notifications
You must be signed in to change notification settings - Fork 81
/
Trace2D.fs
1419 lines (1330 loc) · 120 KB
/
Trace2D.fs
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
namespace Plotly.NET
open Plotly.NET.LayoutObjects
open Plotly.NET.TraceObjects
open DynamicObj
open System
open System.Runtime.InteropServices
/// The most commonly-used kind of subplot is a two-dimensional Cartesian subplot. Traces compatible with these subplots
/// support xaxis and yaxis attributes whose values must refer to corresponding objects in the layout portion of the figure.
/// For example, if xaxis="x", and yaxis="y" (which is the default) then this trace is drawn on the subplot at the intersection
/// of the axes configured under layout.xaxis and layout.yaxis, but if xaxis="x2" and yaxis="y3" then the trace is drawn at the
/// intersection of the axes configured under layout.xaxis2 and layout.yaxis3. Note that attributes such as layout.xaxis and
/// layout.xaxis2 etc do not have to be explicitly defined, in which case default values will be inferred. Multiple traces of
/// different types can be drawn on the same subplot.
///
/// X- and Y-axes support the type attribute, which enables them to represent continuous values (type="linear", type="log"),
/// temporal values (type="date") or categorical values (type="category", type="multicategory). Axes can also be overlaid on
/// top of one another to create dual-axis or multiple-axis charts. 2-d cartesian subplots lend themselves very well to creating
/// "small multiples" figures, also known as facet or trellis plots.
///
/// The following trace types are compatible with 2D-cartesian subplots via the xaxis and yaxis attributes:
///
/// - scatter-like trace types: scatter and scattergl can be used to draw scatter plots, line plots and curves, time-series plots,
/// bubble charts, dot plots and filled areas and also support error bars
///
/// - bar, funnel, waterfall: bar-like trace types which can also be used to draw timelines and Gantt charts
///
/// - histogram: an aggregating bar-like trace type
///
/// - box and violin: 1-dimensional distribution-like trace types
///
/// - histogram2D and histogram2Dcontour: 2-dimensional distribution-like density trace types
///
/// - image, heatmap and contour: matrix trace types
///
/// - ohlc and candlestick: stock-like trace types
///
/// - splom: multi-dimensional scatter plots which implicitly refer to many 2-d cartesian subplots at once.
type Trace2D(traceTypeName) =
inherit Trace (traceTypeName)
///initializes a trace of type "scatter" applying the given trace styling function
static member initScatter (applyStyle: Trace2D -> Trace2D) =
Trace2D("scatter") |> applyStyle
///initializes a trace of type "scattergl" applying the given trace styling function
static member initScatterGL (applyStyle: Trace2D -> Trace2D) =
Trace2D("scattergl") |> applyStyle
///initializes a trace of type "bar" applying the given trace styling function
static member initBar (applyStyle: Trace2D -> Trace2D) =
Trace2D("bar") |> applyStyle
///initializes a trace of type "funnel" applying the given trace styling function
static member initFunnel (applyStyle: Trace2D -> Trace2D) =
Trace2D("funnel") |> applyStyle
///initializes a trace of type "waterfall" applying the given trace styling function
static member initWaterfall (applyStyle: Trace2D -> Trace2D) =
Trace2D("waterfall") |> applyStyle
///initializes a trace of type "histogram" applying the given trace styling function
static member initHistogram (applyStyle: Trace2D -> Trace2D) =
Trace2D("histogram") |> applyStyle
///initializes a trace of type "box" applying the given trace styling function
static member initBoxPlot (applyStyle: Trace2D -> Trace2D) =
Trace2D("box") |> applyStyle
///initializes a trace of type "violin" applying the given trace styling function
static member initViolin (applyStyle: Trace2D -> Trace2D) =
Trace2D("violin") |> applyStyle
///initializes a trace of type "histogram2D" applying the given trace styling function
static member initHistogram2D (applyStyle: Trace2D -> Trace2D) =
Trace2D("histogram2D") |> applyStyle
///initializes a trace of type "histogram2Dcontour" applying the given trace styling function
static member initHistogram2DContour (applyStyle: Trace2D -> Trace2D) =
Trace2D("histogram2Dcontour") |> applyStyle
///initializes a trace of type "image" applying the given trace styling function
static member initImage (applyStyle: Trace2D -> Trace2D) =
Trace2D("image") |> applyStyle
///initializes a trace of type "heatmap" applying the given trace styling function
static member initHeatmap (applyStyle: Trace2D -> Trace2D) =
Trace2D("heatmap") |> applyStyle
///initializes a trace of type "heatmapgl" applying the given trace styling function
static member initHeatmapGL (applyStyle: Trace2D -> Trace2D) =
Trace2D("heatmapgl") |> applyStyle
///initializes a trace of type "contour" applying the given trace styling function
static member initContour (applyStyle: Trace2D -> Trace2D) =
Trace2D("contour") |> applyStyle
///initializes a trace of type "ohlc" applying the given trace styling function
static member initOHLC (applyStyle: Trace2D -> Trace2D) =
Trace2D("ohlc") |> applyStyle
///initializes a trace of type "candlestick" applying the given trace styling function
static member initCandlestick (applyStyle: Trace2D -> Trace2D) =
Trace2D("candlestick") |> applyStyle
///initializes a trace of type "SPLOM" applying the given trace styling function
static member initSplom (applyStyle: Trace2D -> Trace2D) =
Trace2D("splom") |> applyStyle
type Trace2DStyle() =
/// Sets the given axis anchor id(s) on a Trace object.
static member SetAxisAnchor
(
[<Optional;DefaultParameterValue(null)>] ?X:StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?Y:StyleParam.LinearAxisId
) =
(fun (trace:Trace2D) ->
X |> DynObj.setValueOptBy trace "xaxis" StyleParam.LinearAxisId.toString
Y |> DynObj.setValueOptBy trace "yaxis" StyleParam.LinearAxisId.toString
trace
)
/// <summary>
/// Create a function that applies the styles of a scatter plot to a Trace object
/// </summary>
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover.</param>
/// <param name="Visible">Determines whether or not this trace is visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible).</param>
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
/// <param name="LegendRank">Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with `"reversed" `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items.</param>
/// <param name="LegendGroup">Sets the legend group for this trace. Traces part of the same legend group hide/show at the same time when toggling legend items.</param>
/// <param name="LegendGroupTitle">Sets the legend group title for this trace.</param>
/// <param name="Opacity">Sets the opacity of the trace.</param>
/// <param name="Mode">Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines+markers". Otherwise, "lines".</param>
/// <param name="Ids">Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type.</param>
/// <param name="X">Sets the x coordinates.</param>
/// <param name="X0">Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.</param>
/// <param name="DX">Sets the x coordinate step. See `x0` for more info.</param>
/// <param name="Y">Sets the y coordinates.</param>
/// <param name="Y0">Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.</param>
/// <param name="DY">Sets the y coordinate step. See `y0` for more info.</param>
/// <param name="Text">Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.</param>
/// <param name="MultiText">Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.</param>
/// <param name="TextPosition">Sets the positions of the `text` elements with respects to the (x,y) coordinates.</param>
/// <param name="MultiTextPosition">Sets the positions of the `text` elements with respects to the (x,y) coordinates.</param>
/// <param name="TextTemplate">Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.</param>
/// <param name="MultiTextTemplate">Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.</param>
/// <param name="HoverText">Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.</param>
/// <param name="MultiHoverText">Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag.</param>
/// <param name="HoverInfo">Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.</param>
/// <param name="HoverTemplate">Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, "xother" will be added to those with different x positions from the first point. An underscore before or after "(x|y)other" will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variable `norm` Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>". To hide the secondary box completely, use an empty tag `<extra></extra>`.</param>
/// <param name="MultiHoverTemplate">Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, "xother" will be added to those with different x positions from the first point. An underscore before or after "(x|y)other" will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variable `norm` Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>". To hide the secondary box completely, use an empty tag `<extra></extra>`.</param>
/// <param name="XHoverFormat">Sets the hover text formatting rulefor `x` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: "%h" for half of the year as a decimal number as well as "%{n}f" for fractional seconds with n digits. For example, "2016-10-13 09:15:23.456" with tickformat "%H~%M~%S.%2f" would display "09~15~23.46"By default the values are formatted using `xaxis.hoverformat`.</param>
/// <param name="YHoverFormat">Sets the hover text formatting rulefor `y` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: "%h" for half of the year as a decimal number as well as "%{n}f" for fractional seconds with n digits. For example, "2016-10-13 09:15:23.456" with tickformat "%H~%M~%S.%2f" would display "09~15~23.46"By default the values are formatted using `xaxis.hoverformat`.</param>
/// <param name="Meta">Assigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.</param>
/// <param name="CustomData">Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, "scatter" traces also appends customdata items in the markers DOM elements</param>
/// <param name="XAxis">Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.</param>
/// <param name="YAxis">Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.</param>
/// <param name="Orientation">Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used - including if `visible` is "legendonly" but not if it is `false`. Sets the stacking direction. With "v" ("h"), the y (x) values of subsequent traces are added. Also affects the default value of `fill`.</param>
/// <param name="GroupNorm">Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used - including if `visible` is "legendonly" but not if it is `false`. Sets the normalization for the sum of this `stackgroup`. With "fraction", the value of each trace at each location is divided by the sum of all trace values at that location. "percent" is the same but multiplied by 100 to show percentages. If there are multiple subplots, or multiple `stackgroup`s on one subplot, each will be normalized within its own set.</param>
/// <param name="StackGroup">Set several scatter traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `orientation` is "h"). If blank or omitted this trace will not be stacked. Stacking also turns `fill` on by default, using "tonexty" ("tonextx") if `orientation` is "h" ("v") and sets the default `mode` to "lines" irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order.</param>
/// <param name="XPeriod">Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the x axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.</param>
/// <param name="XPeriodAlignment">Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.</param>
/// <param name="XPeriod0">Only relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.</param>
/// <param name="YPeriod">Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M<n>" on the y axis. Special values in the form of "M<n>" could be used to declare the number of months. In this case `n` must be a positive integer.</param>
/// <param name="YPeriodAlignment">Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.</param>
/// <param name="YPeriod0">Only relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.</param>
/// <param name="Marker">Sets the marker of this trace.</param>
/// <param name="Line">Sets the line of this trace.</param>
/// <param name="TextFont">Sets the text font of this trace.</param>
/// <param name="ErrorX">Sets the x error of this trace.</param>
/// <param name="ErrorY">Sets the y error of this trace.</param>
/// <param name="SelectedPoints">Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.</param>
/// <param name="Selected">Sets the style of selected points of this trace.</param>
/// <param name="Unselected">Sets the style of unselected points of this trace.</param>
/// <param name="ClipOnAxis">Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to "below traces".</param>
/// <param name="ConnectGaps">Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.</param>
/// <param name="Fill">Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if `orientation` is "v" ("h") Use with `fillcolor` if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx" and "tonexty" fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like "tozerox" and "tozeroy". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order.</param>
/// <param name="FillColor">Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.</param>
/// <param name="HoverLabel">Sets the style of the hoverlabels of this trace.</param>
/// <param name="HoverOn">Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points".</param>
/// <param name="StackGaps">Only relevant when `stackgroup` is used, and only the first `stackgaps` found in the `stackgroup` will be used - including if `visible` is "legendonly" but not if it is `false`. Determines how we handle locations at which other traces in this group have data but this one does not. With "infer zero" we insert a zero at these locations. With "interpolate" we linearly interpolate between existing values, and extrapolate a constant beyond the existing values.</param>
/// <param name="XCalendar">Sets the calendar system to use with `x` date data.</param>
/// <param name="YCalendar">Sets the calendar system to use with `y` date data.</param>
/// <param name="UIRevision">Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.</param>
static member Scatter
(
[<Optional;DefaultParameterValue(null)>] ?Name : string,
[<Optional;DefaultParameterValue(null)>] ?Visible : StyleParam.Visible,
[<Optional;DefaultParameterValue(null)>] ?ShowLegend : bool,
[<Optional;DefaultParameterValue(null)>] ?LegendRank : int,
[<Optional;DefaultParameterValue(null)>] ?LegendGroup : string,
[<Optional;DefaultParameterValue(null)>] ?LegendGroupTitle : Title,
[<Optional;DefaultParameterValue(null)>] ?Opacity : float,
[<Optional;DefaultParameterValue(null)>] ?Mode : StyleParam.Mode,
[<Optional;DefaultParameterValue(null)>] ?Ids : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?DX : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Y : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Y0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?DY : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Text : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?MultiText : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?TextPosition : StyleParam.TextPosition,
[<Optional;DefaultParameterValue(null)>] ?MultiTextPosition : seq<StyleParam.TextPosition>,
[<Optional;DefaultParameterValue(null)>] ?TextTemplate : string,
[<Optional;DefaultParameterValue(null)>] ?MultiTextTemplate : seq<string>,
[<Optional;DefaultParameterValue(null)>] ?HoverText : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverText : seq<string>,
[<Optional;DefaultParameterValue(null)>] ?HoverInfo : StyleParam.HoverInfo,
[<Optional;DefaultParameterValue(null)>] ?HoverTemplate : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverTemplate : seq<string>,
[<Optional;DefaultParameterValue(null)>] ?XHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?YHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?Meta : string,
[<Optional;DefaultParameterValue(null)>] ?CustomData : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?XAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?YAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?Orientation : StyleParam.Orientation,
[<Optional;DefaultParameterValue(null)>] ?GroupNorm : StyleParam.GroupNorm,
[<Optional;DefaultParameterValue(null)>] ?StackGroup : string,
[<Optional;DefaultParameterValue(null)>] ?XPeriod : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?XPeriodAlignment : StyleParam.PeriodAlignment,
[<Optional;DefaultParameterValue(null)>] ?XPeriod0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?YPeriod : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?YPeriodAlignment : StyleParam.PeriodAlignment,
[<Optional;DefaultParameterValue(null)>] ?YPeriod0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Marker : Marker,
[<Optional;DefaultParameterValue(null)>] ?Line : Line,
[<Optional;DefaultParameterValue(null)>] ?TextFont : Font,
[<Optional;DefaultParameterValue(null)>] ?ErrorX : Error,
[<Optional;DefaultParameterValue(null)>] ?ErrorY : Error,
[<Optional;DefaultParameterValue(null)>] ?SelectedPoints : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Selected : Selection,
[<Optional;DefaultParameterValue(null)>] ?Unselected : Selection,
[<Optional;DefaultParameterValue(null)>] ?ClipOnAxis : bool,
[<Optional;DefaultParameterValue(null)>] ?ConnectGaps : bool,
[<Optional;DefaultParameterValue(null)>] ?Fill : StyleParam.Fill,
[<Optional;DefaultParameterValue(null)>] ?FillColor : Color,
[<Optional;DefaultParameterValue(null)>] ?HoverLabel : Hoverlabel,
[<Optional;DefaultParameterValue(null)>] ?HoverOn : StyleParam.HoverOn,
[<Optional;DefaultParameterValue(null)>] ?StackGaps : StyleParam.StackGaps,
[<Optional;DefaultParameterValue(null)>] ?XCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?YCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?UIRevision : string
) =
(fun (trace:('T :> Trace)) ->
Name |> DynObj.setValueOpt trace "name"
Visible |> DynObj.setValueOptBy trace "visible" StyleParam.Visible.convert
ShowLegend |> DynObj.setValueOpt trace "showlegend"
LegendRank |> DynObj.setValueOpt trace "legendrank"
LegendGroup |> DynObj.setValueOpt trace "legendgroup"
LegendGroupTitle |> DynObj.setValueOpt trace "legendgrouptitle"
Opacity |> DynObj.setValueOpt trace "opacity"
Mode |> DynObj.setValueOptBy trace "mode" StyleParam.Mode.convert
Ids |> DynObj.setValueOpt trace "ids"
X |> DynObj.setValueOpt trace "x"
X0 |> DynObj.setValueOpt trace "x0"
DX |> DynObj.setValueOpt trace "dx"
Y |> DynObj.setValueOpt trace "y"
Y0 |> DynObj.setValueOpt trace "y0"
DY |> DynObj.setValueOpt trace "dy"
(Text, MultiText) |> DynObj.setSingleOrMultiOpt trace "text"
(TextPosition, MultiTextPosition) |> DynObj.setSingleOrMultiOptBy trace "textposition" StyleParam.TextPosition.convert
(TextTemplate, MultiTextTemplate) |> DynObj.setSingleOrMultiOpt trace "texttemplate"
(HoverText, MultiHoverText) |> DynObj.setSingleOrMultiOpt trace "hovertext"
HoverInfo |> DynObj.setValueOptBy trace "hoverinfo" StyleParam.HoverInfo.convert
(HoverTemplate, MultiHoverTemplate) |> DynObj.setSingleOrMultiOpt trace "hovertemplate"
XHoverFormat |> DynObj.setValueOpt trace "xhoverformat"
YHoverFormat |> DynObj.setValueOpt trace "yhoverformat"
Meta |> DynObj.setValueOpt trace "meta"
CustomData |> DynObj.setValueOpt trace "customdata"
XAxis |> DynObj.setValueOptBy trace "xaxis" StyleParam.LinearAxisId.convert
YAxis |> DynObj.setValueOptBy trace "yaxis" StyleParam.LinearAxisId.convert
Orientation |> DynObj.setValueOptBy trace "orientation" StyleParam.Orientation.convert
GroupNorm |> DynObj.setValueOptBy trace "groupnorm" StyleParam.GroupNorm.convert
StackGroup |> DynObj.setValueOpt trace "stackgroup"
XPeriod |> DynObj.setValueOpt trace "xperiod"
XPeriodAlignment |> DynObj.setValueOptBy trace "xperiodalignment" StyleParam.PeriodAlignment.convert
XPeriod0 |> DynObj.setValueOpt trace "xperiod0"
YPeriod |> DynObj.setValueOpt trace "yperiod"
YPeriodAlignment |> DynObj.setValueOptBy trace "yperiodalignment" StyleParam.PeriodAlignment.convert
YPeriod0 |> DynObj.setValueOpt trace "yperiod0"
Marker |> DynObj.setValueOpt trace "marker"
Line |> DynObj.setValueOpt trace "line"
TextFont |> DynObj.setValueOpt trace "textfont"
ErrorX |> DynObj.setValueOpt trace "error_x"
ErrorY |> DynObj.setValueOpt trace "error_y"
SelectedPoints |> DynObj.setValueOpt trace "selectedpoints"
Selected |> DynObj.setValueOpt trace "selected"
Unselected |> DynObj.setValueOpt trace "unselected"
ClipOnAxis |> DynObj.setValueOpt trace "cliponaxis"
ConnectGaps |> DynObj.setValueOpt trace "connectgaps"
Fill |> DynObj.setValueOptBy trace "fill" StyleParam.Fill.convert
FillColor |> DynObj.setValueOpt trace "fillcolor"
HoverLabel |> DynObj.setValueOpt trace "hoverlabel"
HoverOn |> DynObj.setValueOptBy trace "hoveron" StyleParam.HoverOn.convert
StackGaps |> DynObj.setValueOptBy trace "stackgaps" StyleParam.StackGaps.convert
XCalendar |> DynObj.setValueOptBy trace "xcalendar" StyleParam.Calendar.convert
YCalendar |> DynObj.setValueOptBy trace "ycalendar" StyleParam.Calendar.convert
UIRevision |> DynObj.setValueOpt trace "uirevision"
trace
)
/// <summary>Create a function that applies the styles of a bar plot to a Trace object</summary>
static member Bar
(
[<Optional;DefaultParameterValue(null)>] ?Name : string,
[<Optional;DefaultParameterValue(null)>] ?Visible : StyleParam.Visible,
[<Optional;DefaultParameterValue(null)>] ?ShowLegend : bool,
[<Optional;DefaultParameterValue(null)>] ?LegendRank : int,
[<Optional;DefaultParameterValue(null)>] ?LegendGroup : string,
[<Optional;DefaultParameterValue(null)>] ?LegendGroupTitle : Title,
[<Optional;DefaultParameterValue(null)>] ?Opacity : float,
[<Optional;DefaultParameterValue(null)>] ?Ids : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?DX : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Y : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Y0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?DY : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Base : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Width : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?MultiWidth : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Offset : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?MultiOffset : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Text : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?MultiText : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?TextPosition : StyleParam.TextPosition,
[<Optional;DefaultParameterValue(null)>] ?MultiTextPosition : seq<StyleParam.TextPosition>,
[<Optional;DefaultParameterValue(null)>] ?TextTemplate : string,
[<Optional;DefaultParameterValue(null)>] ?MultiTextTemplate : seq<string>,
[<Optional;DefaultParameterValue(null)>] ?HoverText : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverText : seq<string>,
[<Optional;DefaultParameterValue(null)>] ?HoverInfo : StyleParam.HoverInfo,
[<Optional;DefaultParameterValue(null)>] ?HoverTemplate : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>,
[<Optional;DefaultParameterValue(null)>] ?XHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?YHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?Meta : string,
[<Optional;DefaultParameterValue(null)>] ?CustomData : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?XAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?YAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?Orientation : StyleParam.Orientation,
[<Optional;DefaultParameterValue(null)>] ?AlignmentGroup : string,
[<Optional;DefaultParameterValue(null)>] ?OffsetGroup : string,
[<Optional;DefaultParameterValue(null)>] ?XPeriod : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?XPeriodAlignment : StyleParam.PeriodAlignment,
[<Optional;DefaultParameterValue(null)>] ?XPeriod0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?YPeriod : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?YPeriodAlignment : StyleParam.PeriodAlignment,
[<Optional;DefaultParameterValue(null)>] ?YPeriod0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Marker : Marker,
[<Optional;DefaultParameterValue(null)>] ?TextAngle : float,
[<Optional;DefaultParameterValue(null)>] ?TextFont : Font,
[<Optional;DefaultParameterValue(null)>] ?ErrorX : Error,
[<Optional;DefaultParameterValue(null)>] ?ErrorY : Error,
[<Optional;DefaultParameterValue(null)>] ?SelectedPoints : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Selected : Selection,
[<Optional;DefaultParameterValue(null)>] ?Unselected : Selection,
[<Optional;DefaultParameterValue(null)>] ?ClipOnAxis : bool,
[<Optional;DefaultParameterValue(null)>] ?Constraintext : StyleParam.ConstrainText,
[<Optional;DefaultParameterValue(null)>] ?HoverLabel : Hoverlabel,
[<Optional;DefaultParameterValue(null)>] ?InsideTextAnchor : StyleParam.InsideTextAnchor,
[<Optional;DefaultParameterValue(null)>] ?InsideTextFont : Font,
[<Optional;DefaultParameterValue(null)>] ?OutsideTextFont : Font,
[<Optional;DefaultParameterValue(null)>] ?XCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?YCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?UIRevision : string
) =
(fun (bar:('T :> Trace)) ->
Name |> DynObj.setValueOpt bar "name"
Visible |> DynObj.setValueOptBy bar "visible" StyleParam.Visible.convert
ShowLegend |> DynObj.setValueOpt bar "showlegend"
LegendRank |> DynObj.setValueOpt bar "legendrank"
LegendGroup |> DynObj.setValueOpt bar "legendgroup"
LegendGroupTitle |> DynObj.setValueOpt bar "legendgrouptitle"
Opacity |> DynObj.setValueOpt bar "opacity"
Ids |> DynObj.setValueOpt bar "ids"
X |> DynObj.setValueOpt bar "x"
X0 |> DynObj.setValueOpt bar "x0"
DX |> DynObj.setValueOpt bar "dx"
Y |> DynObj.setValueOpt bar "y"
Y0 |> DynObj.setValueOpt bar "y0"
DY |> DynObj.setValueOpt bar "dy"
Base |> DynObj.setValueOpt bar "base"
(Width, MultiWidth) |> DynObj.setSingleOrMultiOpt bar "width"
(Offset, MultiOffset) |> DynObj.setSingleOrMultiOpt bar "offset"
(Text, MultiText) |> DynObj.setSingleOrMultiOpt bar "text"
(TextPosition, MultiTextPosition) |> DynObj.setSingleOrMultiOptBy bar "textposition" StyleParam.TextPosition.convert
(TextTemplate, MultiTextTemplate) |> DynObj.setSingleOrMultiOpt bar "texttemplate"
(HoverText, MultiHoverText) |> DynObj.setSingleOrMultiOpt bar "hovertext"
HoverInfo |> DynObj.setValueOptBy bar "hoverinfo" StyleParam.HoverInfo.convert
(HoverTemplate, MultiHoverTemplate) |> DynObj.setSingleOrMultiOpt bar "hovertemplate"
XHoverFormat |> DynObj.setValueOpt bar "xhoverformat"
YHoverFormat |> DynObj.setValueOpt bar "yhoverformat"
Meta |> DynObj.setValueOpt bar "meta"
CustomData |> DynObj.setValueOpt bar "customdata"
XAxis |> DynObj.setValueOptBy bar "xaxis" StyleParam.LinearAxisId.convert
YAxis |> DynObj.setValueOptBy bar "yaxis" StyleParam.LinearAxisId.convert
Orientation |> DynObj.setValueOptBy bar "orientation" StyleParam.Orientation.convert
AlignmentGroup |> DynObj.setValueOpt bar "alignmentgroup"
OffsetGroup |> DynObj.setValueOpt bar "offsetgroup"
XPeriod |> DynObj.setValueOpt bar "xperiod"
XPeriodAlignment |> DynObj.setValueOptBy bar "xperiodalignment" StyleParam.PeriodAlignment.convert
XPeriod0 |> DynObj.setValueOpt bar "xperiod0"
YPeriod |> DynObj.setValueOpt bar "yperiod"
YPeriodAlignment |> DynObj.setValueOptBy bar "yperiodalignment" StyleParam.PeriodAlignment.convert
YPeriod0 |> DynObj.setValueOpt bar "yperiod0"
Marker |> DynObj.setValueOpt bar "marker"
TextAngle |> DynObj.setValueOpt bar "textangle"
TextFont |> DynObj.setValueOpt bar "textfont"
ErrorX |> DynObj.setValueOpt bar "errorx"
ErrorY |> DynObj.setValueOpt bar "errory"
SelectedPoints |> DynObj.setValueOpt bar "selectedpoints"
Selected |> DynObj.setValueOpt bar "selected"
Unselected |> DynObj.setValueOpt bar "unselected"
ClipOnAxis |> DynObj.setValueOpt bar "cliponaxis"
Constraintext |> DynObj.setValueOptBy bar "constraintext" StyleParam.ConstrainText.convert
HoverLabel |> DynObj.setValueOpt bar "hoverlabel"
InsideTextAnchor |> DynObj.setValueOptBy bar "insidetextanchor" StyleParam.InsideTextAnchor.convert
InsideTextFont |> DynObj.setValueOpt bar "insidetextfont"
OutsideTextFont |> DynObj.setValueOpt bar "outsidetextfont"
XCalendar |> DynObj.setValueOptBy bar "xcalendar" StyleParam.Calendar.convert
YCalendar |> DynObj.setValueOptBy bar "ycalendar" StyleParam.Calendar.convert
UIRevision |> DynObj.setValueOpt bar "uirevision"
bar
)
static member Funnel
(
x : seq<#IConvertible>,
y : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?x0,
[<Optional;DefaultParameterValue(null)>] ?dX : float,
[<Optional;DefaultParameterValue(null)>] ?y0,
[<Optional;DefaultParameterValue(null)>] ?dY : float,
[<Optional;DefaultParameterValue(null)>] ?Width : float,
[<Optional;DefaultParameterValue(null)>] ?Offset : float,
[<Optional;DefaultParameterValue(null)>] ?Orientation : StyleParam.Orientation,
[<Optional;DefaultParameterValue(null)>] ?Alignmentgroup : string,
[<Optional;DefaultParameterValue(null)>] ?Offsetgroup : string,
[<Optional;DefaultParameterValue(null)>] ?Cliponaxis : bool,
[<Optional;DefaultParameterValue(null)>] ?Connector : FunnelConnector,
[<Optional;DefaultParameterValue(null)>] ?Insidetextfont : Font,
[<Optional;DefaultParameterValue(null)>] ?Outsidetextfont: Font
) =
(fun (trace:('T :> Trace)) ->
x |> DynObj.setValue trace "x"
y |> DynObj.setValue trace "y"
x0 |> DynObj.setValueOpt trace "x0"
dX |> DynObj.setValueOpt trace "dx"
y0 |> DynObj.setValueOpt trace "y0"
dY |> DynObj.setValueOpt trace "dy"
Width |> DynObj.setValueOpt trace "width"
Offset |> DynObj.setValueOpt trace "offset"
Orientation |> DynObj.setValueOptBy trace "orientation" StyleParam.Orientation.convert
Alignmentgroup |> DynObj.setValueOpt trace "alignmentgroup"
Offsetgroup |> DynObj.setValueOpt trace "offsetgroup"
Cliponaxis |> DynObj.setValueOpt trace "cliponaxis"
Connector |> DynObj.setValueOpt trace "connector"
Insidetextfont |> DynObj.setValueOpt trace "insidetextfont"
Outsidetextfont |> DynObj.setValueOpt trace "outsidetextfont"
trace
)
/// Applies the styles of candlestick plot to TraceObjects
///
/// Parameters:
///
/// x : Sets the x coordinates.
///
/// y : Sets the y coordinates.
///
/// Base : Sets where the bar base is drawn (in position axis units).
///
/// Width : Sets the bar width (in position axis units).
///
/// Measure : An array containing types of values. By default the values are considered as 'relative'. However; it is possible to use 'total' to compute the sums. Also 'absolute' could be applied to reset the computed total or to declare an initial value where needed.
///
/// Orientation : Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal).
///
/// Connector : Sets the styling of the connector lines
///
/// AlignmentGroup : Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently.
///
/// OffsetGroup : Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up.
///
/// Offset : Shifts the position where the bar is drawn (in position axis units). In "group" barmode, traces that set "offset" will be excluded and drawn in "overlay" mode instead.
static member Waterfall
(
x : #IConvertible seq,
y : #IConvertible seq,
[<Optional;DefaultParameterValue(null)>] ?Base : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Width : float,
[<Optional;DefaultParameterValue(null)>] ?Measure : StyleParam.WaterfallMeasure seq,
[<Optional;DefaultParameterValue(null)>] ?Orientation : StyleParam.Orientation,
[<Optional;DefaultParameterValue(null)>] ?Connector : WaterfallConnector,
[<Optional;DefaultParameterValue(null)>] ?AlignmentGroup : string,
[<Optional;DefaultParameterValue(null)>] ?OffsetGroup : string,
[<Optional;DefaultParameterValue(null)>] ?Offset
) =
(fun (trace:('T :> Trace)) ->
x |> DynObj.setValue trace "x"
y |> DynObj.setValue trace "y"
Base |> DynObj.setValueOpt trace "base"
Width |> DynObj.setValueOpt trace "width"
Measure |> DynObj.setValueOptBy trace "measure" (Seq.map StyleParam.WaterfallMeasure.convert)
Orientation |> DynObj.setValueOptBy trace "orientation" StyleParam.Orientation.convert
AlignmentGroup |> DynObj.setValueOpt trace "alignmentgroup"
Connector |> DynObj.setValueOpt trace "connector"
OffsetGroup |> DynObj.setValueOpt trace "offsetgroup"
Offset |> DynObj.setValueOpt trace "offset"
trace
)
// Applies the styles of histogram to TraceObjects
static member Histogram
(
[<Optional;DefaultParameterValue(null)>] ?Name : string,
[<Optional;DefaultParameterValue(null)>] ?Visible : StyleParam.Visible,
[<Optional;DefaultParameterValue(null)>] ?ShowLegend : bool,
[<Optional;DefaultParameterValue(null)>] ?LegendRank : int,
[<Optional;DefaultParameterValue(null)>] ?LegendGroup : string,
[<Optional;DefaultParameterValue(null)>] ?LegendGroupTitle : Title,
[<Optional;DefaultParameterValue(null)>] ?Opacity : float,
[<Optional;DefaultParameterValue(null)>] ?Ids : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Y : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Text : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?MultiText : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?HoverText : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverText : seq<string>,
[<Optional;DefaultParameterValue(null)>] ?HoverInfo : StyleParam.HoverInfo,
[<Optional;DefaultParameterValue(null)>] ?HoverTemplate : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>,
[<Optional;DefaultParameterValue(null)>] ?XHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?YHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?Meta : string,
[<Optional;DefaultParameterValue(null)>] ?CustomData : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?XAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?YAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?Orientation : StyleParam.Orientation,
[<Optional;DefaultParameterValue(null)>] ?HistFunc : StyleParam.HistFunc,
[<Optional;DefaultParameterValue(null)>] ?HistNorm : StyleParam.HistNorm,
[<Optional;DefaultParameterValue(null)>] ?AlignmentGroup : string,
[<Optional;DefaultParameterValue(null)>] ?OffsetGroup : string,
[<Optional;DefaultParameterValue(null)>] ?NBinsX : int,
[<Optional;DefaultParameterValue(null)>] ?NBinsY : int,
[<Optional;DefaultParameterValue(null)>] ?AutoBinX : bool,
[<Optional;DefaultParameterValue(null)>] ?AutoBinY : bool,
[<Optional;DefaultParameterValue(null)>] ?BinGroup : string,
[<Optional;DefaultParameterValue(null)>] ?XBins : Bins,
[<Optional;DefaultParameterValue(null)>] ?YBins : Bins,
[<Optional;DefaultParameterValue(null)>] ?Marker : Marker,
[<Optional;DefaultParameterValue(null)>] ?Line : Line,
[<Optional;DefaultParameterValue(null)>] ?ErrorX : Error,
[<Optional;DefaultParameterValue(null)>] ?ErrorY : Error,
[<Optional;DefaultParameterValue(null)>] ?SelectedPoints : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Selected : Selection,
[<Optional;DefaultParameterValue(null)>] ?Unselected : Selection,
[<Optional;DefaultParameterValue(null)>] ?Cumulative : Cumulative,
[<Optional;DefaultParameterValue(null)>] ?HoverLabel : Hoverlabel,
[<Optional;DefaultParameterValue(null)>] ?XCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?YCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?UIRevision : string
) =
(fun (histogram:('T :> Trace)) ->
Name |> DynObj.setValueOpt histogram "name"
Visible |> DynObj.setValueOptBy histogram "visible" StyleParam.Visible.convert
ShowLegend |> DynObj.setValueOpt histogram "showlegend"
LegendRank |> DynObj.setValueOpt histogram "legendrank"
LegendGroup |> DynObj.setValueOpt histogram "legendgroup"
LegendGroupTitle |> DynObj.setValueOpt histogram "legendgrouptitle"
Opacity |> DynObj.setValueOpt histogram "opacity"
Ids |> DynObj.setValueOpt histogram "ids"
X |> DynObj.setValueOpt histogram "x"
Y |> DynObj.setValueOpt histogram "y"
(Text, MultiText) |> DynObj.setSingleOrMultiOpt histogram "text"
(HoverText, MultiHoverText) |> DynObj.setSingleOrMultiOpt histogram "hovertext"
HoverInfo |> DynObj.setValueOptBy histogram "hoverinfo" StyleParam.HoverInfo.convert
(HoverTemplate, MultiHoverTemplate) |> DynObj.setSingleOrMultiOpt histogram "hovertemplate"
XHoverFormat |> DynObj.setValueOpt histogram "xhoverformat"
YHoverFormat |> DynObj.setValueOpt histogram "yhoverformat"
Meta |> DynObj.setValueOpt histogram "meta"
CustomData |> DynObj.setValueOpt histogram "customdata"
XAxis |> DynObj.setValueOptBy histogram "xaxis" StyleParam.LinearAxisId.convert
YAxis |> DynObj.setValueOptBy histogram "yaxis" StyleParam.LinearAxisId.convert
Orientation |> DynObj.setValueOptBy histogram "orientation" StyleParam.Orientation.convert
HistFunc |> DynObj.setValueOptBy histogram "histfunc" StyleParam.HistFunc.convert
HistNorm |> DynObj.setValueOptBy histogram "histnorm" StyleParam.HistNorm.convert
AlignmentGroup |> DynObj.setValueOpt histogram "alignmentgroup"
OffsetGroup |> DynObj.setValueOpt histogram "offsetgroup"
NBinsX |> DynObj.setValueOpt histogram "nbinsx"
NBinsY |> DynObj.setValueOpt histogram "nbinsy"
AutoBinX |> DynObj.setValueOpt histogram "autobinx"
AutoBinY |> DynObj.setValueOpt histogram "autobiny"
BinGroup |> DynObj.setValueOpt histogram "bingroup"
XBins |> DynObj.setValueOpt histogram "xbins"
YBins |> DynObj.setValueOpt histogram "ybins"
Marker |> DynObj.setValueOpt histogram "marker"
Line |> DynObj.setValueOpt histogram "line"
ErrorX |> DynObj.setValueOpt histogram "error_x"
ErrorY |> DynObj.setValueOpt histogram "error_y"
SelectedPoints |> DynObj.setValueOpt histogram "selectedpoints"
Selected |> DynObj.setValueOpt histogram "selected"
Unselected |> DynObj.setValueOpt histogram "unselected"
Cumulative |> DynObj.setValueOpt histogram "cumulative"
HoverLabel |> DynObj.setValueOpt histogram "hoverlabel"
XCalendar |> DynObj.setValueOptBy histogram "xcalendar" StyleParam.Calendar.convert
YCalendar |> DynObj.setValueOptBy histogram "ycalendar" StyleParam.Calendar.convert
UIRevision |> DynObj.setValueOpt histogram "uirevision"
histogram
)
// Applies the styles of box plot plot to TraceObjects
static member BoxPlot
(
[<Optional;DefaultParameterValue(null)>] ?Name : string,
[<Optional;DefaultParameterValue(null)>] ?Visible : StyleParam.Visible,
[<Optional;DefaultParameterValue(null)>] ?ShowLegend : bool,
[<Optional;DefaultParameterValue(null)>] ?LegendRank : int,
[<Optional;DefaultParameterValue(null)>] ?LegendGroup : string,
[<Optional;DefaultParameterValue(null)>] ?LegendGroupTitle : Title,
[<Optional;DefaultParameterValue(null)>] ?Opacity : float,
[<Optional;DefaultParameterValue(null)>] ?Ids : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?DX : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Y : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Y0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?DY : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Width : float,
[<Optional;DefaultParameterValue(null)>] ?Text : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?MultiText : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?HoverText : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverText : seq<string>,
[<Optional;DefaultParameterValue(null)>] ?HoverInfo : StyleParam.HoverInfo,
[<Optional;DefaultParameterValue(null)>] ?HoverTemplate : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>,
[<Optional;DefaultParameterValue(null)>] ?XHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?YHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?Meta : string,
[<Optional;DefaultParameterValue(null)>] ?CustomData : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?XAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?YAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?Orientation : StyleParam.Orientation,
[<Optional;DefaultParameterValue(null)>] ?AlignmentGroup : string,
[<Optional;DefaultParameterValue(null)>] ?OffsetGroup : string,
[<Optional;DefaultParameterValue(null)>] ?XPeriod : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?XPeriodAlignment : StyleParam.PeriodAlignment,
[<Optional;DefaultParameterValue(null)>] ?XPeriod0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?YPeriod : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?YPeriodAlignment : StyleParam.PeriodAlignment,
[<Optional;DefaultParameterValue(null)>] ?YPeriod0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Marker : Marker,
[<Optional;DefaultParameterValue(null)>] ?Line : Line,
[<Optional;DefaultParameterValue(null)>] ?BoxMean : StyleParam.BoxMean,
[<Optional;DefaultParameterValue(null)>] ?BoxPoints : StyleParam.BoxPoints,
[<Optional;DefaultParameterValue(null)>] ?Notched : bool,
[<Optional;DefaultParameterValue(null)>] ?NotchWidth : float,
[<Optional;DefaultParameterValue(null)>] ?Whiskerwidth : float,
[<Optional;DefaultParameterValue(null)>] ?Q1 : seq<IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Median : seq<IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Q3 : seq<IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?LowerFence : seq<IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?UpperFence : seq<IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?NotchSpan : seq<IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Mean : seq<IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?SD : seq<IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?QuartileMethod : StyleParam.QuartileMethod,
[<Optional;DefaultParameterValue(null)>] ?SelectedPoints : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Selected : Selection,
[<Optional;DefaultParameterValue(null)>] ?Unselected : Selection,
[<Optional;DefaultParameterValue(null)>] ?FillColor : Color,
[<Optional;DefaultParameterValue(null)>] ?HoverLabel : Hoverlabel,
[<Optional;DefaultParameterValue(null)>] ?HoverOn : StyleParam.HoverOn,
[<Optional;DefaultParameterValue(null)>] ?PointPos : float,
[<Optional;DefaultParameterValue(null)>] ?Jitter : float,
[<Optional;DefaultParameterValue(null)>] ?XCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?YCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?UIRevision : string
) =
(fun (boxPlot:('T :> Trace)) ->
Name |> DynObj.setValueOpt boxPlot "name"
Visible |> DynObj.setValueOptBy boxPlot "visible" StyleParam.Visible.convert
ShowLegend |> DynObj.setValueOpt boxPlot "showlegend"
LegendRank |> DynObj.setValueOpt boxPlot "legendrank"
LegendGroup |> DynObj.setValueOpt boxPlot "legendgroup"
LegendGroupTitle |> DynObj.setValueOpt boxPlot "legendgrouptitle"
Opacity |> DynObj.setValueOpt boxPlot "opacity"
Ids |> DynObj.setValueOpt boxPlot "ids"
X |> DynObj.setValueOpt boxPlot "x"
X0 |> DynObj.setValueOpt boxPlot "x0"
DX |> DynObj.setValueOpt boxPlot "dx"
Y |> DynObj.setValueOpt boxPlot "y"
Y0 |> DynObj.setValueOpt boxPlot "y0"
DY |> DynObj.setValueOpt boxPlot "dy"
Width |> DynObj.setValueOpt boxPlot "width"
(Text, MultiText) |> DynObj.setSingleOrMultiOpt boxPlot "text"
(HoverText, MultiHoverText) |> DynObj.setSingleOrMultiOpt boxPlot "hovertext"
HoverInfo |> DynObj.setValueOptBy boxPlot "hoverinfo" StyleParam.HoverInfo.convert
(HoverTemplate, MultiHoverTemplate) |> DynObj.setSingleOrMultiOpt boxPlot "hovertemplate"
XHoverFormat |> DynObj.setValueOpt boxPlot "xhoverformat"
YHoverFormat |> DynObj.setValueOpt boxPlot "yhoverformat"
Meta |> DynObj.setValueOpt boxPlot "meta"
CustomData |> DynObj.setValueOpt boxPlot "customdata"
XAxis |> DynObj.setValueOptBy boxPlot "xaxis" StyleParam.LinearAxisId.convert
YAxis |> DynObj.setValueOptBy boxPlot "yaxis" StyleParam.LinearAxisId.convert
Orientation |> DynObj.setValueOptBy boxPlot "orientation" StyleParam.Orientation.convert
AlignmentGroup |> DynObj.setValueOpt boxPlot "alignmentgroup"
OffsetGroup |> DynObj.setValueOpt boxPlot "offsetgroup"
XPeriod |> DynObj.setValueOpt boxPlot "xperiod"
XPeriodAlignment |> DynObj.setValueOptBy boxPlot "xperiodalignment" StyleParam.PeriodAlignment.convert
XPeriod0 |> DynObj.setValueOpt boxPlot "xperiod0"
YPeriod |> DynObj.setValueOpt boxPlot "yperiod"
YPeriodAlignment |> DynObj.setValueOptBy boxPlot "yperiodalignment" StyleParam.PeriodAlignment.convert
YPeriod0 |> DynObj.setValueOpt boxPlot "yperiod0"
Marker |> DynObj.setValueOpt boxPlot "marker"
Line |> DynObj.setValueOpt boxPlot "line"
BoxMean |> DynObj.setValueOptBy boxPlot "boxmean" StyleParam.BoxMean.convert
BoxPoints |> DynObj.setValueOptBy boxPlot "boxpoints" StyleParam.BoxPoints.convert
Notched |> DynObj.setValueOpt boxPlot "notched"
NotchWidth |> DynObj.setValueOpt boxPlot "notchwidth"
Whiskerwidth |> DynObj.setValueOpt boxPlot "whiskerwidth"
Q1 |> DynObj.setValueOpt boxPlot "q1"
Median |> DynObj.setValueOpt boxPlot "median"
Q3 |> DynObj.setValueOpt boxPlot "q3"
LowerFence |> DynObj.setValueOpt boxPlot "lowerfence"
UpperFence |> DynObj.setValueOpt boxPlot "upperfence"
NotchSpan |> DynObj.setValueOpt boxPlot "notchspan"
Mean |> DynObj.setValueOpt boxPlot "mean"
SD |> DynObj.setValueOpt boxPlot "sd"
QuartileMethod |> DynObj.setValueOptBy boxPlot "quartilemethod" StyleParam.QuartileMethod.convert
SelectedPoints |> DynObj.setValueOpt boxPlot "selectedpoints"
Selected |> DynObj.setValueOpt boxPlot "selected"
Unselected |> DynObj.setValueOpt boxPlot "unselected"
FillColor |> DynObj.setValueOpt boxPlot "fillcolor"
HoverLabel |> DynObj.setValueOpt boxPlot "hoverlabel"
HoverOn |> DynObj.setValueOptBy boxPlot "hoveron" StyleParam.HoverOn.convert
PointPos |> DynObj.setValueOpt boxPlot "pointpos"
Jitter |> DynObj.setValueOpt boxPlot "jitter"
XCalendar |> DynObj.setValueOptBy boxPlot "xcalendar" StyleParam.Calendar.convert
YCalendar |> DynObj.setValueOptBy boxPlot "ycalendar" StyleParam.Calendar.convert
UIRevision |> DynObj.setValueOpt boxPlot "uirevision"
// out ->
boxPlot
)
// Applies the styles of violin plot plot to TraceObjects
static member Violin
(
[<Optional;DefaultParameterValue(null)>] ?Name : string,
[<Optional;DefaultParameterValue(null)>] ?Visible : StyleParam.Visible,
[<Optional;DefaultParameterValue(null)>] ?ShowLegend : bool,
[<Optional;DefaultParameterValue(null)>] ?LegendRank : int,
[<Optional;DefaultParameterValue(null)>] ?LegendGroup : string,
[<Optional;DefaultParameterValue(null)>] ?LegendGroupTitle : Title,
[<Optional;DefaultParameterValue(null)>] ?Opacity : float,
[<Optional;DefaultParameterValue(null)>] ?Ids : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?DX : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Y : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Y0 : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?DY : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?Width : float,
[<Optional;DefaultParameterValue(null)>] ?Text : #IConvertible,
[<Optional;DefaultParameterValue(null)>] ?MultiText : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?HoverText : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverText : seq<string>,
[<Optional;DefaultParameterValue(null)>] ?HoverInfo : StyleParam.HoverInfo,
[<Optional;DefaultParameterValue(null)>] ?HoverTemplate : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>,
[<Optional;DefaultParameterValue(null)>] ?XHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?YHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?Meta : string,
[<Optional;DefaultParameterValue(null)>] ?CustomData : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?XAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?YAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?Orientation : StyleParam.Orientation,
[<Optional;DefaultParameterValue(null)>] ?AlignmentGroup : string,
[<Optional;DefaultParameterValue(null)>] ?OffsetGroup : string,
[<Optional;DefaultParameterValue(null)>] ?Marker : Marker,
[<Optional;DefaultParameterValue(null)>] ?Line : Line,
[<Optional;DefaultParameterValue(null)>] ?Box : Box,
[<Optional;DefaultParameterValue(null)>] ?SelectedPoints : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?Selected : Selection,
[<Optional;DefaultParameterValue(null)>] ?Unselected : Selection,
[<Optional;DefaultParameterValue(null)>] ?BandWidth : float,
[<Optional;DefaultParameterValue(null)>] ?FillColor : Color,
[<Optional;DefaultParameterValue(null)>] ?HoverLabel : Hoverlabel,
[<Optional;DefaultParameterValue(null)>] ?HoverOn : StyleParam.HoverOn,
[<Optional;DefaultParameterValue(null)>] ?PointPos : float,
[<Optional;DefaultParameterValue(null)>] ?Jitter : float,
[<Optional;DefaultParameterValue(null)>] ?MeanLine : MeanLine,
[<Optional;DefaultParameterValue(null)>] ?Points : StyleParam.JitterPoints,
[<Optional;DefaultParameterValue(null)>] ?ScaleGroup : string,
[<Optional;DefaultParameterValue(null)>] ?ScaleMode : StyleParam.ScaleMode,
[<Optional;DefaultParameterValue(null)>] ?Side : StyleParam.ViolinSide,
[<Optional;DefaultParameterValue(null)>] ?Span : StyleParam.Range,
[<Optional;DefaultParameterValue(null)>] ?SpanMode : StyleParam.SpanMode,
[<Optional;DefaultParameterValue(null)>] ?UIRevision : string
) =
(fun (violin:('T :> Trace)) ->
Name |> DynObj.setValueOpt violin "name"
Visible |> DynObj.setValueOptBy violin "visible" StyleParam.Visible.convert
ShowLegend |> DynObj.setValueOpt violin "showlegend"
LegendRank |> DynObj.setValueOpt violin "legendrank"
LegendGroup |> DynObj.setValueOpt violin "legendgroup"
LegendGroupTitle |> DynObj.setValueOpt violin "legendgrouptitle"
Opacity |> DynObj.setValueOpt violin "opacity"
Ids |> DynObj.setValueOpt violin "ids"
X |> DynObj.setValueOpt violin "x"
X0 |> DynObj.setValueOpt violin "x0"
DX |> DynObj.setValueOpt violin "dx"
Y |> DynObj.setValueOpt violin "y"
Y0 |> DynObj.setValueOpt violin "y0"
DY |> DynObj.setValueOpt violin "dy"
Width |> DynObj.setValueOpt violin "width"
(Text, MultiText) |> DynObj.setSingleOrMultiOpt violin "text"
(HoverText, MultiHoverText) |> DynObj.setSingleOrMultiOpt violin "hovertext"
HoverInfo |> DynObj.setValueOptBy violin "hoverinfo" StyleParam.HoverInfo.convert
(HoverTemplate, MultiHoverTemplate) |> DynObj.setSingleOrMultiOpt violin "hovertemplate"
XHoverFormat |> DynObj.setValueOpt violin "xhoverformat"
YHoverFormat |> DynObj.setValueOpt violin "yhoverformat"
Meta |> DynObj.setValueOpt violin "meta"
CustomData |> DynObj.setValueOpt violin "customdata"
XAxis |> DynObj.setValueOptBy violin "xaxis" StyleParam.LinearAxisId.convert
YAxis |> DynObj.setValueOptBy violin "yaxis" StyleParam.LinearAxisId.convert
Orientation |> DynObj.setValueOptBy violin "orientation" StyleParam.Orientation.convert
AlignmentGroup |> DynObj.setValueOpt violin "alignmentgroup"
OffsetGroup |> DynObj.setValueOpt violin "offsetgroup"
Marker |> DynObj.setValueOpt violin "marker"
Line |> DynObj.setValueOpt violin "line"
Box |> DynObj.setValueOpt violin "box"
SelectedPoints |> DynObj.setValueOpt violin "selectedpoints"
Selected |> DynObj.setValueOpt violin "selected"
Unselected |> DynObj.setValueOpt violin "unselected"
BandWidth |> DynObj.setValueOpt violin "bandwidth"
FillColor |> DynObj.setValueOpt violin "fillcolor"
HoverLabel |> DynObj.setValueOpt violin "hoverlabel"
HoverOn |> DynObj.setValueOptBy violin "hoveron" StyleParam.HoverOn.convert
PointPos |> DynObj.setValueOpt violin "pointpos"
Jitter |> DynObj.setValueOpt violin "jitter"
MeanLine |> DynObj.setValueOpt violin "meanline"
Points |> DynObj.setValueOptBy violin "points" StyleParam.JitterPoints.convert
ScaleGroup |> DynObj.setValueOpt violin "scalegroup"
ScaleMode |> DynObj.setValueOptBy violin "scalemode" StyleParam.ScaleMode.convert
Side |> DynObj.setValueOptBy violin "side" StyleParam.ViolinSide.convert
Span |> DynObj.setValueOptBy violin "span" StyleParam.Range.convert
SpanMode |> DynObj.setValueOptBy violin "spanmode" StyleParam.SpanMode.convert
UIRevision |> DynObj.setValueOpt violin "uirevision"
violin
)
static member Histogram2D
(
[<Optional;DefaultParameterValue(null)>] ?Name : string,
[<Optional;DefaultParameterValue(null)>] ?Visible : StyleParam.Visible,
[<Optional;DefaultParameterValue(null)>] ?ShowLegend : bool,
[<Optional;DefaultParameterValue(null)>] ?LegendRank : int,
[<Optional;DefaultParameterValue(null)>] ?LegendGroup : string,
[<Optional;DefaultParameterValue(null)>] ?LegendGroupTitle : Title,
[<Optional;DefaultParameterValue(null)>] ?Opacity : float,
[<Optional;DefaultParameterValue(null)>] ?Ids : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?X : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?XGap : int,
[<Optional;DefaultParameterValue(null)>] ?Y : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?YGap : int,
[<Optional;DefaultParameterValue(null)>] ?Z : seq<#seq<#IConvertible>>,
[<Optional;DefaultParameterValue(null)>] ?HoverInfo : StyleParam.HoverInfo,
[<Optional;DefaultParameterValue(null)>] ?HoverTemplate : string,
[<Optional;DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>,
[<Optional;DefaultParameterValue(null)>] ?XHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?YHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?Meta : string,
[<Optional;DefaultParameterValue(null)>] ?CustomData : seq<#IConvertible>,
[<Optional;DefaultParameterValue(null)>] ?XAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?YAxis : StyleParam.LinearAxisId,
[<Optional;DefaultParameterValue(null)>] ?ColorAxis : StyleParam.SubPlotId,
[<Optional;DefaultParameterValue(null)>] ?HistFunc : StyleParam.HistFunc,
[<Optional;DefaultParameterValue(null)>] ?HistNorm : StyleParam.HistNorm,
[<Optional;DefaultParameterValue(null)>] ?NBinsX : int,
[<Optional;DefaultParameterValue(null)>] ?NBinsY : int,
[<Optional;DefaultParameterValue(null)>] ?AutoBinX : bool,
[<Optional;DefaultParameterValue(null)>] ?AutoBinY : bool,
[<Optional;DefaultParameterValue(null)>] ?XBins : Bins,
[<Optional;DefaultParameterValue(null)>] ?YBins : Bins,
[<Optional;DefaultParameterValue(null)>] ?Marker : Marker,
[<Optional;DefaultParameterValue(null)>] ?ColorBar : ColorBar,
[<Optional;DefaultParameterValue(null)>] ?AutoColorScale : bool,
[<Optional;DefaultParameterValue(null)>] ?ColorScale : StyleParam.Colorscale,
[<Optional;DefaultParameterValue(null)>] ?ShowScale : bool,
[<Optional;DefaultParameterValue(null)>] ?ReverseScale : bool,
[<Optional;DefaultParameterValue(null)>] ?ZAuto : bool,
[<Optional;DefaultParameterValue(null)>] ?ZHoverFormat : string,
[<Optional;DefaultParameterValue(null)>] ?Zmin : float,
[<Optional;DefaultParameterValue(null)>] ?Zmid : float,
[<Optional;DefaultParameterValue(null)>] ?Zmax : float,
[<Optional;DefaultParameterValue(null)>] ?ZSmooth : StyleParam.SmoothAlg,
[<Optional;DefaultParameterValue(null)>] ?HoverLabel : Hoverlabel,
[<Optional;DefaultParameterValue(null)>] ?XCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?YCalendar : StyleParam.Calendar,
[<Optional;DefaultParameterValue(null)>] ?UIRevision : string
) =
(fun (histogram2D:('T :> Trace)) ->
Name |> DynObj.setValueOpt histogram2D "name"
Visible |> DynObj.setValueOptBy histogram2D "visible" StyleParam.Visible.convert
ShowLegend |> DynObj.setValueOpt histogram2D "showlegend"
LegendRank |> DynObj.setValueOpt histogram2D "legendrank"
LegendGroup |> DynObj.setValueOpt histogram2D "legendgroup"
LegendGroupTitle |> DynObj.setValueOpt histogram2D "legendgrouptitle"
Opacity |> DynObj.setValueOpt histogram2D "opacity"
Ids |> DynObj.setValueOpt histogram2D "ids"
X |> DynObj.setValueOpt histogram2D "x"
XGap |> DynObj.setValueOpt histogram2D "xgap"
Y |> DynObj.setValueOpt histogram2D "y"
YGap |> DynObj.setValueOpt histogram2D "ygap"
Z |> DynObj.setValueOpt histogram2D "z"
HoverInfo |> DynObj.setValueOptBy histogram2D "hoverinfo" StyleParam.HoverInfo.convert
(HoverTemplate, MultiHoverTemplate) |> DynObj.setSingleOrMultiOpt histogram2D "hovertemplate"
XHoverFormat |> DynObj.setValueOpt histogram2D "xhoverformat"
YHoverFormat |> DynObj.setValueOpt histogram2D "yhoverformat"
Meta |> DynObj.setValueOpt histogram2D "meta"
CustomData |> DynObj.setValueOpt histogram2D "customdata"
XAxis |> DynObj.setValueOptBy histogram2D "xaxis" StyleParam.LinearAxisId.convert
YAxis |> DynObj.setValueOptBy histogram2D "yaxis" StyleParam.LinearAxisId.convert
ColorAxis |> DynObj.setValueOpt histogram2D "coloraxis"
HistFunc |> DynObj.setValueOptBy histogram2D "histfunc" StyleParam.HistFunc.convert
HistNorm |> DynObj.setValueOptBy histogram2D "histnorm" StyleParam.HistNorm.convert
NBinsX |> DynObj.setValueOpt histogram2D "nbinsx"
NBinsY |> DynObj.setValueOpt histogram2D "nbinsy"
AutoBinX |> DynObj.setValueOpt histogram2D "autobinx"
AutoBinY |> DynObj.setValueOpt histogram2D "autobiny"
XBins |> DynObj.setValueOpt histogram2D "xbins"
YBins |> DynObj.setValueOpt histogram2D "ybins"
Marker |> DynObj.setValueOpt histogram2D "marker"
ColorBar |> DynObj.setValueOpt histogram2D "colorbar"
AutoColorScale |> DynObj.setValueOpt histogram2D "autocolorscale"
ColorScale |> DynObj.setValueOptBy histogram2D "colorscale" StyleParam.Colorscale.convert
ShowScale |> DynObj.setValueOpt histogram2D "showscale"
ReverseScale |> DynObj.setValueOpt histogram2D "reversescale"
ZAuto |> DynObj.setValueOpt histogram2D "zauto"
ZHoverFormat |> DynObj.setValueOpt histogram2D "zhoverformat"
Zmin |> DynObj.setValueOpt histogram2D "zmin"
Zmid |> DynObj.setValueOpt histogram2D "zmid"
Zmax |> DynObj.setValueOpt histogram2D "zmax"
ZSmooth |> DynObj.setValueOptBy histogram2D "zsmooth" StyleParam.SmoothAlg.convert
HoverLabel |> DynObj.setValueOpt histogram2D "hoverlabel"
XCalendar |> DynObj.setValueOptBy histogram2D "xcalendar" StyleParam.Calendar.convert
YCalendar |> DynObj.setValueOptBy histogram2D "ycalendar" StyleParam.Calendar.convert
UIRevision |> DynObj.setValueOpt histogram2D "uirevision"
histogram2D
)
static member Histogram2DContour
(
[<Optional;DefaultParameterValue(null)>] ?Name : string,
[<Optional;DefaultParameterValue(null)>] ?Visible : StyleParam.Visible,
[<Optional;DefaultParameterValue(null)>] ?ShowLegend : bool,
[<Optional;DefaultParameterValue(null)>] ?LegendRank : int,
[<Optional;DefaultParameterValue(null)>] ?LegendGroup : string,
[<Optional;DefaultParameterValue(null)>] ?LegendGroupTitle : Title,
[<Optional;DefaultParameterValue(null)>] ?Opacity : float,