價格: TWD 43.31
A simple currency exchange chart built with Vue.js and Chart.js, using the ExchangeRate API. lucas-santosp.github.io/currency-exchange-chart/
A tooltip item context is generated for each item that appears in the tooltip. This is the primary model that the callback methods interact with.
Labeling Axes. When creating a chart, you want to tell the viewer what data they are viewing. To do this, you need to label the axis.
I'm new to chart.js, but here's what I had to do to make Billy Moon's answer work with the latest version 2.1.6.
Chart.js - Financial chart. See the source for this example, README, and Chart.js docs for more details. Sample Chart. Bar Type: Candlestick, OHLC.
Use the Numeral.js library in the tooltips callbacks to format the numbers as currency. Example: This code creates a responsive line chart