Skip to main content

Baseline Chart

Line chart split by a baseline (typically zero or moving average).

Structure

  • Line as in standard line chart
  • Horizontal baseline dividing area
  • Two colored regions (above/below baseline)

Baseline Types

  • Zero line: Price above/below origin
  • Moving average: Deviation from trend
  • Custom level: User-defined reference

When To Use

  • Positive/negative territory analysis
  • Deviation from mean/trend
  • Performance vs benchmark
  • Risk zone identification

Visual Benefits

  • Clear territory markers
  • Easy to see extremes
  • Good for momentum analysis

API

chart.setChartType('baseline');

Comparison

ChartTerritory ClarityTrend Clarity
LineNoneGood
AreaModerateGood
BaselineExcellentGood