Skip to content

API Reference

Chart

<Chart>Root chart component
BordersConfigChart border styling
CrosshairsConfigCrosshair configuration
TimeCrosshairConfigTime crosshair configuration
ValueCrosshairConfigValue crosshair configuration
TimeCrosshairLabelConfigTime crosshair label
ValueCrosshairLabelConfigValue crosshair label
GridConfigGrid line configuration
XAxisConfigX-axis configuration
DataPointOHLCV data point
GranularityCandle time interval

Panel

PanelConfigPanel configuration
PanelControlsConfigPanel controls configuration

Layer

LayerConfigUnion of all layer config types
BaseLayerConfigShared properties for all layers
AtrLayerConfigAverage True Range
BollingerBandsLayerConfigBollinger Bands
CandlestickLayerConfigCandlesticks
EmaLayerConfigExponential Moving Average
MacdLayerConfigMACD
PriceLineLayerConfigPrice line
RsiLayerConfigRelative Strength Index
SmaLayerConfigSimple Moving Average
StochasticLayerConfigStochastic Oscillator
VolumeBarsLayerConfigVolume bars
YAxisConfigY-axis configuration

Value Marker

ValueMarkerConfigValue marker configuration
DirectionalValueMarkerConfigDirectional value marker configuration
ValueMarkerModeValue marker mode

Legend

LegendConfigLegend configuration
LegendFieldConfigLegend field configuration

Elements

Line

LineConfigLine styling
DirectionalLineConfigDirectional line styling

Bar

BarConfigBar styling
DirectionalBarConfigDirectional bar styling

Label

LabelConfigBase label styling
ValueLabelConfigValue axis label
TimeLabelConfigTime axis label
BoxedValueLabelConfigBoxed value label
BoxedTimeLabelConfigBoxed time label

Button

ButtonConfigButton styling

Theme

ThemeFull theme interface
Light ThemeDefault light theme values
Dark ThemeDefault dark theme values

React Candlesticks is available on npm and GitHub under the MIT License.