# Chart
## Chart lib type
- **Must** be able to view the Vega chart by default
- **Must** be able to switch to the TradingView chart
- **Must** have the interval persisted between chart types
## Pennant chart
### Display options
- **Must** be able to change time interval from a list of intervals (6007-CHAR-001)
- 1m
- 5m
- 15m
- 1H
- 6H
- 1D
- **Must** be able to change display type from a list of display types (6007-CHAR-002)
- Mountain
- Candlestick
- Line
- OHLC
- **Must** icon will change depending on the display type selected (6007-CHAR-003)
- Mountain
- Candlestick
- Line
- OHLC
- **Must** be able to add overlays by selecting from a list of overlays (6007-CHAR-004)
- Bollinger bands
- Envelope
- EMA
- Moving Average
- Price monitoring bounds
- **Must** be able to add studies by selecting from a list of studies (6007-CHAR-005)
- Eldar-ray
- Force index
- MACD
- RSI
- Volume
- **Must** be able to add multiple studies at the same time (6007-CHAR-006)
- **Must** be able to close any studies selected (6007-CHAR-007)
- **Must** be able to add multiple overlays at the same time (6007-CHAR-008)
- **Must** be able to close any overlays selected (6007-CHAR-009)
### Price and Time
- **Must** see details of price from where my mouse cursor is on the chart(6007-CHAR-010)
- Time (24h)
- Date (dd/MMM/yyyy)
- O
- H
- L
- C
- Change
- **Must** see crosshair on the chart where my mouse cursor is(6007-CHAR-011)
- **Must** be able to mousewheel scroll to extend/reduce time range(6007-CHAR-012)
- **Must** x axis shows time range(6007-CHAR-013)
- **Must** y axis shows price range(6007-CHAR-014)
- **Must** show the last price line on the Y axis (6007-CHAR-015)
### Display Types
#### Mountain
- **Must** show area line chart with the line being at the last price (6007-CHAR-016)
#### Candlestick
- **Must** body is green if the close is higher than the open (6007-CHAR-017)
- **Must** body is red if the close is lower than the open (6007-CHAR-018)
- **Must** show open price (6007-CHAR-019)
- **Must** show high price (6007-CHAR-020)
- **Must** show low price (6007-CHAR-021)
- **Must** show close price (6007-CHAR-022)
#### Line
- **Must** show line on the chart with the line being the the last price (6007-CHAR-023)
#### OHLC
- **Must** show open price (6007-CHAR-024)
- **Must** show high price (6007-CHAR-025)
- **Must** show low price (6007-CHAR-026)
- **Must** show close price (6007-CHAR-027)
- **Must** show in green if the close is higher than the open (6007-CHAR-028)
- **Must** show in red if the close is lower than the open (6007-CHAR-029)
### Overlays
#### Bollinger bands
- **Must** show upper band (6007-CHAR-030)
- **Must** show lower band (6007-CHAR-031)
- **Must** show band values at time of cursor position (6007-CHAR-032)
#### Envelope
- **Must** show upper line (6007-CHAR-033)
- **Must** show lower line (6007-CHAR-034)
- **Must** show line values at time of cursor position (6007-CHAR-035)
#### EMA
- **Must** show line (6007-CHAR-036)
- **Must** show line value at time of cursor position (6007-CHAR-037)
#### Moving Average
- **Must** show line (6007-CHAR-038)
- **Must** show line value at time of cursor position (6007-CHAR-039)
#### Price monitoring bounds
- **Must** show min line (6007-CHAR-040)
- **Must** show max line (6007-CHAR-041)
- **Must** show reference line (6007-CHAR-042)
- **Must** show line values at time of cursor position (6007-CHAR-043)
### Studies
#### Eldar-ray
- **Must** show bear power line (6007-CHAR-044)
- **Must** show bull power line (6007-CHAR-045)
- **Must** show line values at time of cursor position (6007-CHAR-046)
#### Force index
- **Must** show force line (6007-CHAR-047)
- **Must** show line value at time of cursor position (6007-CHAR-048)
#### MACD
- **Must** show MACD line (6007-CHAR-049)
- **Must** show signal line (6007-CHAR-050)
- **Must** show histogram (6007-CHAR-051)
- **Must** show line values at time of cursor position (6007-CHAR-052)
#### RSI
- **Must** show RSI line (6007-CHAR-053)
- **Must** show line value at time of cursor position (6007-CHAR-054)
#### Volume
- **Must** show volume bars (6007-CHAR-055)
- **Must** show bar value at time of cursor position (6007-CHAR-056)
## TradingView
- **Must** persist interval in chart settings
- **Must** must show an attribution to trading view