Step Line Chart
Line chart that moves horizontally then vertically (stair-step pattern).
Structure
- Horizontal line at previous close
- Vertical jump to new close
- Creates step-like appearance
When To Use
- Discrete time periods (daily, weekly)
- Emphasizing that change happens at period ends
- Reducing intermediate interpolation
- Statistical reporting
Comparison
| Feature | Line | Step Line |
|---|---|---|
| Interpolation | Continuous | Discrete |
| Visual smoothness | Smooth | Angular |
| Price continuity | Implied | Explicit |
| Best for | Trends | Period reporting |
API
chart.setChartType('stepLine');