Trading Session Chart
Business-day time scale skips weekends on the X axis while keeping epoch timestamps in tooltips.
Business-day skips weekends on the X axis; continuous keeps calendar gaps. Data includes Sat/Sun timestamps.
Code
typescript
import { createStackedChart } from 'velo-plot/trading'
const stack = createStackedChart({
container,
panes: [/* price + volume */],
xAxis: {
type: 'time',
timeScale: { calendar: 'business-day', session: '24x7' },
},
})Session presets
| Preset | Description |
|---|---|
24x7 | Weekends only (default MVP) |
NYSE | Reserved for session-hour filtering |