RangeSlider

public struct RangeSlider : Encodable

Undocumented

  • Sets the background color of the range slider.

    Declaration

    Swift

    public var backgroundColor: Color?
  • Sets the border color of the range slider.

    Declaration

    Swift

    public var borderColor: Color?
  • Sets the border width of the range slider.

    Declaration

    Swift

    public var borderWidth: Int?
  • Determines whether or not the range slider range is computed in relation to the input data.

    If range is provided, then autorange is set to false.

    Declaration

    Swift

    public var autoRange: Bool?
  • Sets the range of the range slider.

    If not set, defaults to the full xaxis range. If the axis type is log, then you must take the log of your desired range. If the axis type is date, it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis type is category, it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.

    Declaration

    Swift

    public var range: InfoArray?
  • The height of the range slider as a fraction of the total plot area height.

    Declaration

    Swift

    public var thickness: Double?
  • Determines whether or not the range slider will be visible.

    If visible, perpendicular axes will be set to fixedrange

    Declaration

    Swift

    public var visible: Bool?
  • Undocumented

    See more

    Declaration

    Swift

    public struct YAxis : Encodable
  • Undocumented

    Declaration

    Swift

    public var yAxis: YAxis?
  • Creates RangeSlider object with specified properties.

    Declaration

    Swift

    public init(backgroundColor: Color? = nil, borderColor: Color? = nil, borderWidth: Int? = nil,
            autoRange: Bool? = nil, range: InfoArray? = nil, thickness: Double? = nil, visible: Bool? = nil,
            yAxis: YAxis? = nil)

    Parameters

    backgroundColor

    Sets the background color of the range slider.

    borderColor

    Sets the border color of the range slider.

    borderWidth

    Sets the border width of the range slider.

    autoRange

    Determines whether or not the range slider range is computed in relation to the input data.

    range

    Sets the range of the range slider.

    thickness

    The height of the range slider as a fraction of the total plot area height.

    visible

    Determines whether or not the range slider will be visible.

    yAxis