Description
currently, it is only possible to remove the default rangeslider like this:
open Plotly.NET
open Plotly.NET.LayoutObjects
open System
Chart.OHLC(
``open`` = [1.2; 2.7],
high = [1.8; 8.5],
low = [0.5; 0.1],
close = [1.1; 2.9],
x = [DateTime.Parse("07/07/2021"); DateTime.Parse("07/07/2022") ]
)
|> Chart.withXAxisRangeSlider(RangeSlider.init(Visible = false))
a direct option for this on Chart.OHLC would be better. same is true for Chart.Candlestick:
Chart.OHLC(
``open`` = [1.2; 2.7],
high = [1.8; 8.5],
low = [0.5; 0.1],
close = [1.1; 2.9],
x = [DateTime.Parse("07/07/2021"); DateTime.Parse("07/07/2022") ],
ShowXAxisRangeSlider = false
)