데모Dots

Dots

import { Chart } from '@tradecanvas/chart'

const chart = new Chart(document.getElementById('chart')!, {
  theme: 'light',
  chartType: 'dots',
})
chart.setData(bars)          // OHLCV bars, oldest first
chart.setChartType('dots')  // switch at any time
import { Chart } from '@tradecanvas/chart'

const chart = new Chart(document.getElementById('chart')!, {
  theme: 'dark',
  chartType: 'dots',
})
chart.setData(bars)          // OHLCV bars, oldest first
chart.setChartType('dots')  // switch at any time

● 브라우저에서 생성한 시뮬레이션 시장 데이터

각 종가에 점을 찍습니다.

API: chartType: 'dots'

언제 쓰나

보여 주는 것
종가를 하나씩 따로 보여 주며, 가격이 다음 종가로 어떻게 갔는지 암시하는 선이 없습니다.
유의할 점
화면에 봉이 많으면 점들이 이어져 선처럼 보입니다.
누가 쓰나
종가를 점으로 비교하거나 다른 차트 위에 시리즈를 겹치려는 누구나.

위 차트를 같은 계열의 다른 유형으로 바꿔 보세요. 어느 유형이든 이 시장을 그대로 유지합니다.