Skip to content

Separator

Customize the line between the main chart and indicator panels.

← Back to Custom Styles overview

Copy the property path into your setCustomStyles config. You only need to include the values you want to change.

PropertyDescriptionTypeExample
separator.sizeThickness of the separator linenumber1
separator.colorColor of the separator linecolor'#DDDDDD'
separator.fillFill the separator areabooleantrue
separator.activeBackgroundColorHighlight when dragging to resizecolor'rgba(22, 119, 255, 0.08)'

Example

typescript
chart.setCustomStyles({
  global: {
    separator: {
      color: '#444444',
      activeBackgroundColor: 'rgba(22, 119, 255, 0.15)',
    },
  },
})

Developers who need full TypeScript interfaces can use the type reference.