@@ -706,21 +706,6 @@ type Trace2DStyle() =
706
706
)
707
707
708
708
709
-
710
-
711
-
712
-
713
-
714
-
715
-
716
-
717
-
718
-
719
-
720
-
721
-
722
-
723
-
724
709
// Applies the styles of histogram to TraceObjects
725
710
static member Histogram
726
711
(
@@ -1634,32 +1619,87 @@ type Trace2DStyle() =
1634
1619
/// ?XCalendar : Sets the calendar system to use with `x` date data.
1635
1620
static member OHLC
1636
1621
(
1637
- ``open`` : #IConvertible seq ,
1638
- high : #IConvertible seq ,
1639
- low : #IConvertible seq ,
1640
- close : #IConvertible seq ,
1641
- x : #IConvertible seq ,
1642
- [<Optional; DefaultParameterValue( null ) >] ? Increasing : Line ,
1643
- [<Optional; DefaultParameterValue( null ) >] ? Decreasing : Line ,
1644
- [<Optional; DefaultParameterValue( null ) >] ? Line : Line ,
1645
- [<Optional; DefaultParameterValue( null ) >] ? Tickwidth : float ,
1646
- [<Optional; DefaultParameterValue( null ) >] ? XCalendar : StyleParam.Calendar
1622
+ [<Optional; DefaultParameterValue( null ) >] ? Name : string ,
1623
+ [<Optional; DefaultParameterValue( null ) >] ? Visible : StyleParam.Visible ,
1624
+ [<Optional; DefaultParameterValue( null ) >] ? ShowLegend : bool ,
1625
+ [<Optional; DefaultParameterValue( null ) >] ? LegendRank : int ,
1626
+ [<Optional; DefaultParameterValue( null ) >] ? LegendGroup : string ,
1627
+ [<Optional; DefaultParameterValue( null ) >] ? LegendGroupTitle : Title ,
1628
+ [<Optional; DefaultParameterValue( null ) >] ? Opacity : float ,
1629
+ [<Optional; DefaultParameterValue( null ) >] ? Ids : seq < #IConvertible >,
1630
+ [<Optional; DefaultParameterValue( null ) >] ? X : seq < #IConvertible >,
1631
+ [<Optional; DefaultParameterValue( null ) >] ? Close : seq < #IConvertible >,
1632
+ [<Optional; DefaultParameterValue( null ) >] ? Open : seq < #IConvertible >,
1633
+ [<Optional; DefaultParameterValue( null ) >] ? High : seq < #IConvertible >,
1634
+ [<Optional; DefaultParameterValue( null ) >] ? Low : seq < #IConvertible >,
1635
+ [<Optional; DefaultParameterValue( null ) >] ? Text : #IConvertible ,
1636
+ [<Optional; DefaultParameterValue( null ) >] ? MultiText : seq < #IConvertible >,
1637
+ [<Optional; DefaultParameterValue( null ) >] ? HoverText : string ,
1638
+ [<Optional; DefaultParameterValue( null ) >] ? MultiHoverText : seq < string >,
1639
+ [<Optional; DefaultParameterValue( null ) >] ? HoverInfo : StyleParam.HoverInfo ,
1640
+ [<Optional; DefaultParameterValue( null ) >] ? XHoverFormat : string ,
1641
+ [<Optional; DefaultParameterValue( null ) >] ? YHoverFormat : string ,
1642
+ [<Optional; DefaultParameterValue( null ) >] ? Meta : string ,
1643
+ [<Optional; DefaultParameterValue( null ) >] ? CustomData : seq < #IConvertible >,
1644
+ [<Optional; DefaultParameterValue( null ) >] ? XAxis : StyleParam.LinearAxisId ,
1645
+ [<Optional; DefaultParameterValue( null ) >] ? YAxis : StyleParam.LinearAxisId ,
1646
+ [<Optional; DefaultParameterValue( null ) >] ? XPeriod : #IConvertible ,
1647
+ [<Optional; DefaultParameterValue( null ) >] ? XPeriodAlignment : StyleParam.PeriodAlignment ,
1648
+ [<Optional; DefaultParameterValue( null ) >] ? XPeriod0 : #IConvertible ,
1649
+ [<Optional; DefaultParameterValue( null ) >] ? YPeriod : #IConvertible ,
1650
+ [<Optional; DefaultParameterValue( null ) >] ? YPeriodAlignment : StyleParam.PeriodAlignment ,
1651
+ [<Optional; DefaultParameterValue( null ) >] ? YPeriod0 : #IConvertible ,
1652
+ [<Optional; DefaultParameterValue( null ) >] ? Line : Line ,
1653
+ [<Optional; DefaultParameterValue( null ) >] ? SelectedPoints : seq < #IConvertible >,
1654
+ [<Optional; DefaultParameterValue( null ) >] ? Increasing : FinanceMarker ,
1655
+ [<Optional; DefaultParameterValue( null ) >] ? Decreasing : FinanceMarker ,
1656
+ [<Optional; DefaultParameterValue( null ) >] ? HoverLabel : Hoverlabel ,
1657
+ [<Optional; DefaultParameterValue( null ) >] ? TickWidth : float ,
1658
+ [<Optional; DefaultParameterValue( null ) >] ? XCalendar : StyleParam.Calendar ,
1659
+ [<Optional; DefaultParameterValue( null ) >] ? YCalendar : StyleParam.Calendar ,
1660
+ [<Optional; DefaultParameterValue( null ) >] ? UIRevision : string
1661
+
1647
1662
) =
1648
- ( fun ( trace :( 'T : > Trace )) ->
1649
- DynObj.setValue trace " open" `` open ``
1650
- DynObj.setValue trace " high" high
1651
- DynObj.setValue trace " low" low
1652
- DynObj.setValue trace " close" close
1653
- DynObj.setValue trace " x" x
1654
- DynObj.setValue trace " xaxis" " x"
1655
- DynObj.setValue trace " yaxis" " y"
1656
- DynObj.setValueOpt trace " increasing" Increasing
1657
- DynObj.setValueOpt trace " decreasing" Decreasing
1658
- DynObj.setValueOpt trace " tickwidth" Tickwidth
1659
- DynObj.setValueOpt trace " line" Line
1660
- DynObj.setValueOpt trace " xcalendar" XCalendar
1661
-
1662
- trace
1663
+ ( fun ( ohlc :( 'T : > Trace )) ->
1664
+
1665
+ Name |> DynObj.setValueOpt ohlc " name"
1666
+ Visible |> DynObj.setValueOptBy ohlc " visible" StyleParam.Visible.convert
1667
+ ShowLegend |> DynObj.setValueOpt ohlc " showlegend"
1668
+ LegendRank |> DynObj.setValueOpt ohlc " legendrank"
1669
+ LegendGroup |> DynObj.setValueOpt ohlc " legendgroup"
1670
+ LegendGroupTitle |> DynObj.setValueOpt ohlc " legendgrouptitle"
1671
+ Opacity |> DynObj.setValueOpt ohlc " opacity"
1672
+ Ids |> DynObj.setValueOpt ohlc " ids"
1673
+ X |> DynObj.setValueOpt ohlc " x"
1674
+ Close |> DynObj.setValueOpt ohlc " close"
1675
+ Open |> DynObj.setValueOpt ohlc " open"
1676
+ High |> DynObj.setValueOpt ohlc " high"
1677
+ Low |> DynObj.setValueOpt ohlc " low"
1678
+ ( Text, MultiText) |> DynObj.setSingleOrMultiOpt ohlc " text"
1679
+ ( HoverText, MultiHoverText) |> DynObj.setSingleOrMultiOpt ohlc " hovertext"
1680
+ HoverInfo |> DynObj.setValueOptBy ohlc " hoverinfo" StyleParam.HoverInfo.convert
1681
+ XHoverFormat |> DynObj.setValueOpt ohlc " xhoverformat"
1682
+ YHoverFormat |> DynObj.setValueOpt ohlc " yhoverformat"
1683
+ Meta |> DynObj.setValueOpt ohlc " meta"
1684
+ CustomData |> DynObj.setValueOpt ohlc " customdata"
1685
+ XAxis |> DynObj.setValueOptBy ohlc " xaxis" StyleParam.LinearAxisId.convert
1686
+ YAxis |> DynObj.setValueOptBy ohlc " yaxis" StyleParam.LinearAxisId.convert
1687
+ XPeriod |> DynObj.setValueOpt ohlc " xperiod"
1688
+ XPeriodAlignment |> DynObj.setValueOptBy ohlc " xperiodalignment" StyleParam.PeriodAlignment.convert
1689
+ XPeriod0 |> DynObj.setValueOpt ohlc " xperiod0"
1690
+ YPeriod |> DynObj.setValueOpt ohlc " yperiod"
1691
+ YPeriodAlignment |> DynObj.setValueOptBy ohlc " yperiodalignment" StyleParam.PeriodAlignment.convert
1692
+ YPeriod0 |> DynObj.setValueOpt ohlc " yperiod0"
1693
+ Line |> DynObj.setValueOpt ohlc " line"
1694
+ Increasing |> DynObj.setValueOpt ohlc " increasing"
1695
+ Decreasing |> DynObj.setValueOpt ohlc " decreasing"
1696
+ HoverLabel |> DynObj.setValueOpt ohlc " hoverlabel"
1697
+ TickWidth |> DynObj.setValueOpt ohlc " tickwidth"
1698
+ XCalendar |> DynObj.setValueOptBy ohlc " xcalendar" StyleParam.Calendar.convert
1699
+ YCalendar |> DynObj.setValueOptBy ohlc " ycalendar" StyleParam.Calendar.convert
1700
+ UIRevision |> DynObj.setValueOpt ohlc " uirevision"
1701
+
1702
+ ohlc
1663
1703
)
1664
1704
1665
1705
0 commit comments