Skip to content

ValueLabelConfig

Example

ts
{
  color: '#555',
  fontFamily: 'Arial',
  fontSize: 12,
  fontWeight: 'normal',
  fontVariant: 'normal',
  fontStyle: 'normal',
  padding: 0
}

Properties

Base Props

LabelConfig

padding

  • Type: number
  • Default: 0

Padding between the label and the value axis in pixels.

TypeScript

ts
interface ValueLabelConfig extends LabelConfig {
  padding?: number;
}

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