デモStep area

Step area

import { Chart } from '@tradecanvas/chart'

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

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

● ブラウザー内で生成したシミュレーション市場データ

階段状のラインの下を塗りつぶしたチャート。

API: chartType: 'stepArea'

使いどころ

何が見えるか
価格がどこにとどまり、いつ動いたかを、ひと目で読める塗りつぶしの形で示します。
注意点
階段状のラインと同じく終値だけで、足の中の値動きは描かれません。
誰が使うか
段階的に変わる金利、フィキシング、価格、概要パネル。

上のチャートを同じ系統のタイプに切り替えられます。どのタイプもこの相場のままです。