Financial Traces

  • Draws waterfall trace which is useful graph to displays the contribution of various elements (either positive or negative) in a bar chart.

    The data visualized by the span of the bars is set in y if orientation is set th v (the default) and the labels are set in x. By setting orientation to h, the roles are interchanged.

    See also

    Documentation for Python, JavaScript or R
    See more

    Declaration

    Swift

    public struct Waterfall<XData, YData> : Trace, XYSubplot where XData : Plotable, YData : Plotable
  • The candlestick is a style of financial chart describing open, high, low and close for a given x coordinate (most likely time).

    The boxes represent the spread between the open and close values and the lines represent the spread between the low and high values Sample points where the close value is higher (lower) then the open value are called increasing (decreasing). By default, increasing candles are drawn in green whereas decreasing are drawn in red.

    See also

    Documentation for Python, JavaScript or R
    See more

    Declaration

    Swift

    public struct Candlestick<XData, OHLCData> : Trace, XYSubplot where XData : Plotable, OHLCData : Plotable
  • Visualize stages in a process using area-encoded trapezoids.

    This trace can be used to show data in a part-to-whole representation similar to a “pie” trace, wherein each item appears in a single stage. See also the “funnel” trace type for a different approach to visualizing funnel data.

    See also

    Documentation for Python, JavaScript or R
    See more

    Declaration

    Swift

    public struct FunnelArea<LabelsData, ValuesData> : Trace, DomainSubplot where LabelsData : Plotable, ValuesData : Plotable
  • Visualize stages in a process using length-encoded bars.

    This trace can be used to show data in either a part-to-whole representation wherein each item appears in a single stage, or in a “drop-off” representation wherein each item appears in each stage it traversed. See also the “funnelarea” trace type for a different approach to visualizing funnel data.

    See also

    Documentation for Python, JavaScript or R
    See more

    Declaration

    Swift

    public struct Funnel<XData, YData> : Trace, XYSubplot where XData : Plotable, YData : Plotable
  • The ohlc (short for Open-High-Low-Close) is a style of financial chart describing open, high, low and close for a given x coordinate (most likely time).

    The tip of the lines represent the low and high values and the horizontal segments represent the open and close values. Sample points where the close value is higher (lower) then the open value are called increasing (decreasing). By default, increasing items are drawn in green whereas decreasing are drawn in red.

    See also

    Documentation for Python, JavaScript or R
    See more

    Declaration

    Swift

    public struct OHLC<XData, OHLCData> : Trace, XYSubplot where XData : Plotable, OHLCData : Plotable