ChartType

enum ChartType : Enum<ChartType>

A list of possible Chart types

Entries

Link copied to clipboard

Like bar charts, candle charts represent OHLC except in the form of colored rectangles called ‘candles’.When the open is lower than the close, the candle is shaded green. When the open is higher than the close, the candle is shaded red. If the open and close are the same, a thin horizontal line segment is drawn at that price (this type of candle is called a "doji"). Each candle has a ‘wick’ that extends beyond the candle to indicate the high and low, respectively.

Link copied to clipboard

Bar charts consist of vertical lines with a horizontal "shelves" on either side. One "bar" is created for each interval (period) on the chart. Each bar represents the OHLC (Open, High, Low, Close) for the period. The top and bottom of the vertical line represent the high and low for the period. The left shelf is the opening price while the right shelf is the closing price. The bars are a single color.

Link copied to clipboard

A colored bar chart draws a bar chart with the bars colored to indicate price action

Link copied to clipboard

A line chart consists of segments that connect at the "Close" price for each time period. The line is a single color. Any value in your data that has a null value for "Close" will result in a gap within the line.

Link copied to clipboard

A vertex line

Link copied to clipboard

A variation of a 'Line' where lines are forced to connect in an indirect 'step' manner (horizontal and vertical lines only), rather than a direct line connecting the data-points. Horizontal lines will begin at the center of the bar.

Link copied to clipboard

Mountain charts (sometimes called area charts) are line charts with a shaded section that extends to the bottom of the chart. The result is a chart which looks like a mountain.

Link copied to clipboard

A baseline delta chart draws a line chart that oscillates across a dotted baseline. The area above the baseline is shaded green, and the area below the baseline is shaded red.

Link copied to clipboard

Like bar charts, candle charts represent OHLC except in the form of colored rectangles called ‘candles’. When the open is lower than the close, the candle is shaded green. When the open is higher than the close, the candle is shaded red. If the open and close are the same, a thin horizontal line segment is drawn at that price (this type of candle is called a "doji"). Each candle has a ‘wick’ that extends beyond the candle to indicate the high and low, respectively.

Link copied to clipboard

A volume candle chart is a hollow candle chart where the width of a candle varies to indicate volume. Each candle’s shading and fill follow the same conventions as those in hollow candle charts. Wide candles indicate high volume, while narrow candles indicate low volume.

Link copied to clipboard

A colored bar chart draws a bar chart with the bars colored to indicate price action.

Link copied to clipboard

Scatterplot draws a single 'dot' at every close and does not connect them.

Link copied to clipboard

Histogram charts resemble candle charts extending from the target price/amount, down to the bottom of the chart. The color is normally determined based off prior close.

Functions

Link copied to clipboard
fun valueOf(value: String): ChartType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<ChartType>

Returns an array containing the constants of this enum type, in the order they're declared.