Skip to content

PanelControlsConfig

Example

ts
{
  goToLatestButton: {}
}

Properties

goToLatestButton

Configuration for the "go to latest" button, which scrolls the chart to the most recent data. Set to false to hide it, or provide a ButtonConfig object for custom styling.

TypeScript

ts
interface PanelControlsConfig {
  goToLatestButton?: false | ButtonConfig;
}

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