Skip to content
πŸžπŸ“Š Beautiful chart for data visualization.
JavaScript TypeScript CSS
Branch: master
Clone or download
Latest commit 5ff3296 Sep 23, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist chore: version up v3.8.0 Sep 23, 2019
docs chore: change org name (#202) Apr 10, 2019
examples Feat: apply tui doc (#180) Feb 25, 2019
maps fix: remove unnecessary maps parameter(taiwan, thailand) and chnage r… Feb 11, 2019
src feat: axis label ellipsis (#225) Sep 23, 2019
test feat: axis label ellipsis (#225) Sep 23, 2019
.babelrc feat: change config for es6 Apr 6, 2018
.bowerrc add bower Jul 2, 2015
.eslintignore chore: config update for es6 Apr 25, 2018
.eslintrc.js fixed broken test Dec 17, 2018
.gitignore Merge branch 'master' into production Aug 6, 2018
.tern-project chore: change org name (#202) Apr 10, 2019 chore: change org name (#202) Apr 10, 2019
LICENSE chore: change author name (nhnent -> nhn)(#195) (#198) Apr 1, 2019 Update Jul 12, 2019
bower.json chore: change org name (#202) Apr 10, 2019
index.d.ts chore: version up v3.8.0 Sep 23, 2019
jsdoc.conf.json chore: change org name (#202) Apr 10, 2019
karma.conf.js feat: axis label ellipsis (#225) Sep 23, 2019
package-lock.json chore: version up v3.8.0 Sep 23, 2019
package.json chore: version up v3.8.0 Sep 23, 2019
tsBannerGenerator.js chore: update-auto-ts-version-script (#155) Dec 27, 2018
tslint.json Chore/fix any type (#159) Jan 9, 2019
tuidoc.config.json chore: change org name (#202) Apr 10, 2019
webpack.config.js chore: change author name (nhnent -> nhn)(#195) (#198) Apr 1, 2019

Toast UI Chart

πŸžπŸ“ˆ Spread your data on TOAST UI Chart. TOAST UI Chart is Beautiful Statistical Data Visualization library

GitHub release npm GitHub license PRs welcome code with hearth by NHN


chart_animation all

🚩 Table of Contents

Collect statistics on the use of open source

TOAST UI Chart applies Google Analytics (GA) to collect statistics on the use of open source, in order to identify how widely TOAST UI Chart is used throughout the world. It also serves as important index to determine the future course of projects. location.hostname (e.g. > β€œ") is to be collected and the sole purpose is nothing but to measure statistics on the usage. To disable GA, use the following usageStatistics option when creating charts.

var options = {
  usageStatistics: false

tui.chart.barChart(container, data, options);

Or, include tui-code-snippet(v1.5.0 or later) and then immediately write the options as follows:

tui.usageStatistics = false;

🌏 Browser Support

Chrome Chrome IE Internet Explorer Edge Edge Safari Safari Firefox Firefox
Yes 8+ Yes Yes Yes

🌈 True Cross Browser Charts And It's Beautiful!


No one likes legacy, but sometimes it matters.
We started TOAST UI Chart because we could not find a project supporting legacy browsers, maintained reliably, and free for commercial use.

The visuals of the charts in IE8 are exactly as it looks in Chrome.
The TOAST UI Chart guarantees an identical look for all browsers. Draws fast and requires no polyfill, ToastUI uses of the native browser formats, such as SVG and RVML.

The TOAST UI Chart will continue to support legacy browsers under the MIT license
With over 50 releases since June 2015 under MIT License, the TOAST UI Chart is the answer if you have the same requirements as us.

🎨 Features

  • Intuitive and easy to apply.
  • Is an open-source JavaScript library.
  • Can be used in legacy browsers including IE8.
  • Change the chart in detail using many options and custom themes.

Single Charts

The TOAST UI Chart provides many types of charts to visualize the various forms of data.

2018-03-13 10 33 49 2018-03-13 10 44 51 2018-03-13 10 46 31 2018-03-13 10 43 07
Map Boxplot Bullet
2018-03-13 10 47 56 2018-03-13 10 51 01 2018-03-13 10 59 27 2018-03-13 11 01 46

Combo Charts

The TOAST UI Chart covers complex data visualization.

Column-Line Pie-Donut Line-Area Line-Scatter
2018-03-13 11 04 48 2018-03-13 11 06 16 2018-03-13 11 07 44 2018-03-13 11 19 42


Visualize the data in different styles by customizing the details of the charts.

Various expressions Custom theme Stack option Diverging option Group tooltip
2018-03-13 11 43 13 2018-03-13 11 40 43 2018-03-13 11 44 15 2018-03-13 11 45 15 2018-03-13 11 46 39

And More From Examples

Check out Example and wiki to discover more.

πŸ’Ύ Install

The TOAST UI products can be installed by using the package manager or downloading the source directly. However, we highly recommend using the package manager.

Via Package Manager

The TOAST UI products are registered in two package managers, npm and bower. Install by using the commands provided by each package manager. When using npm, be sure Node.js is installed in the environment.


$ npm install --save tui-chart # Latest version
$ npm install --save tui-chart@<version> # Specific version


$ bower install tui-chart # Latest version
$ bower install tui-chart#<tag> # Specific version

Via Contents Delivery Network (CDN)

The TOAST UI Chart is available over a CDN.

  • You can use cdn as below.
<link rel="stylesheet" href="">
<script src=""></script>
  • The types of distribution files are classified into three types depending on whether or not they exist in the code of the dependency file.

    1. tui-chart.js - This is not include dependency modules in the code.
    2. tui-chart-all.js - Includes all dependency modules, including 'babel-polyfill', in bundle file code
    3. tui-chart-polyfill.js - This includes only babel-polyfill in code.
  • Within the download you'll find the following directories

β”œβ”€ latest
β”‚  β”œβ”€ tui-chart.js
β”‚  β”œβ”€ tui-chart.min.js
β”‚  β”œβ”€ tui-chart-all.js
β”‚  β”œβ”€ tui-chart-all.min.js
β”‚  β”œβ”€ tui-chart-polyfill.js
β”‚  β”œβ”€ tui-chart-polyfill.min.js
β”‚  β”œβ”€ tui-chart.css
β”‚  β”œβ”€ tui-chart.min.css
β”‚  β”œβ”€ maps/
β”‚  β”‚  β”œβ”€β”€ (china | japan | singapore | south-korea | taiwan | thailand | use | world).js
β”œβ”€ v3.0.1/

Download Source Files

πŸ”¨ Usage


Add the container element where TOAST UI Chart will be created.

<div id="chart"></div>



The TOAST UI Chart can be used by creating an instance with the constructor function. To access the constructor function, import the module using one of the three following methods depending on your environment.

var chart = tui.chart; /* namespace */
var chart = require('tui-chart'); /* CommonJS in Node.js */
import chart from 'tui-chart'; /* ES6 in Node.js */

Factory function needs three parameters: container, data, options

  • container: Wrapper HTML element that will contain the chart as a child
  • data: Numerical data the chart will be based on
  • options: functional options including legend, alignment, and tooltip visibilities
var container = document.getElementById('chart-area');
var data = {
    category: [...], series: [...]
var options = {
    chart: {width: 700, height: 400}

chart.barChart(container, data, options);

Refer to details for additional informations.

πŸ”§ Development

The TOAST UI products are open-source. After fixing issues, create a pull request(PR). Run npm scripts and develop with the following process.


Fork develop branch into your personal repository. Clone to local computer. Install node modules. Before starting development, check for any errors.

$ git clone{username}/tui.chart.git
$ cd tui.chart
$ npm install
$ npm run test


Let's start development! Run a server and see the code reflected. Add test cases and then make them green.

Run webpack-dev-server

$ npm run serve
$ npm run serve:ie8 # Run on Internet Explorer 8

Run karma test

$ npm run test

Pull Request

Before creating a PR, test and check for any errors. If there are no errors, then commit and push!

For more information, please refer to the Contributing section.

$ npm run deploy
$ npm run test

πŸ“™ Documents

See the older versions of API page on the releases page.

πŸ’¬ Contributing

🍞 TOAST UI Family

πŸš€ Used By

πŸ“œ License

This software is licensed under the MIT Β© NHN.

You can’t perform that action at this time.