Skip to content

Commit 0bed1c0

Browse files
committed
fix #370:
- Update .NET interactive references
1 parent 6a34516 commit 0bed1c0

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

src/Plotly.NET/ChartAPI/Chart.fs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,11 +1187,6 @@ type Chart =
11871187

11881188
Chart.withXAxis (xaxis, ?Id = Id)
11891189

1190-
[<Obsolete("Use withXAxisRangeSlider instead")>]
1191-
[<CompiledName("WithX_AxisRangeSlider")>]
1192-
static member withX_AxisRangeSlider(rangeSlider: RangeSlider, [<Optional; DefaultParameterValue(null)>] ?Id) =
1193-
Chart.withXAxisRangeSlider (rangeSlider, ?Id = Id)
1194-
11951190
/// Sets the range slider for the xAxis
11961191
[<CompiledName("WithXAxisRangeSlider")>]
11971192
static member withXAxisRangeSlider(rangeSlider: RangeSlider, [<Optional; DefaultParameterValue(null)>] ?Id) =

src/Plotly.NET/ChartAPI/Chart2D.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2451,17 +2451,17 @@ module Chart2D =
24512451
let increasing =
24522452
Increasing
24532453
|> Option.defaultValue (FinanceMarker.init ())
2454-
|> FinanceMarker.style (?MarkerColor = IncreasingColor)
2454+
|> FinanceMarker.style (?FillColor = IncreasingColor)
24552455

24562456
let decreasing =
24572457
Decreasing
24582458
|> Option.defaultValue (FinanceMarker.init ())
2459-
|> FinanceMarker.style (?MarkerColor = DecreasingColor)
2459+
|> FinanceMarker.style (?FillColor = DecreasingColor)
24602460

24612461
let totals =
24622462
Totals
24632463
|> Option.defaultValue (FinanceMarker.init ())
2464-
|> FinanceMarker.style (?MarkerColor = TotalsColor)
2464+
|> FinanceMarker.style (?FillColor = TotalsColor)
24652465

24662466
Trace2D.initWaterfall (
24672467
Trace2DStyle.Waterfall(

src/Plotly.NET/Traces/ObjectAbstractions/FinanceMarker.fs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,24 @@ open System.Runtime.InteropServices
99
type FinanceMarker() =
1010
inherit DynamicObj()
1111

12-
[<Obsolete("the argument 'MarkerColor' is obsolete and will be dropped in the next major release")>]
1312
static member init
1413
(
15-
[<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color,
1614
[<Optional; DefaultParameterValue(null)>] ?FillColor: Color,
1715
[<Optional; DefaultParameterValue(null)>] ?LineColor: Color,
1816
[<Optional; DefaultParameterValue(null)>] ?LineWidth: float,
1917
[<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle
2018
) =
2119
FinanceMarker()
2220
|> FinanceMarker.style (
23-
?MarkerColor = MarkerColor,
2421
?FillColor = FillColor,
2522
?LineColor = LineColor,
2623
?LineWidth = LineWidth,
2724
?LineDash = LineDash
2825

2926
)
3027

31-
[<Obsolete("the argument 'MarkerColor' is obsolete and will be dropped in the next major release")>]
3228
static member style
3329
(
34-
[<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color,
3530
[<Optional; DefaultParameterValue(null)>] ?FillColor: Color,
3631
[<Optional; DefaultParameterValue(null)>] ?LineColor: Color,
3732
[<Optional; DefaultParameterValue(null)>] ?LineWidth: float,

0 commit comments

Comments
 (0)