-
Notifications
You must be signed in to change notification settings - Fork 325
chart type radial
λ°μ ν edited this page Dec 30, 2016
·
2 revisions
- This section describes how to create radial chart with options.
- You can refer to the Getting started for base installation of Toast UI Chart.
Radial chart use the basic data type.
Basic data type is default type for Toast UI Chart.
var rawData = {
categories: ['June', 'July', 'Aug', 'Sep', 'Oct', 'Nov'],
series: [
{
name: 'Budget',
data: [5000, 3000, 6000, 3000, 6000, 4000]
},
{
name: 'Income',
data: [8000, 1000, 7000, 2000, 5000, 3000]
}
]
};
tui.chart.radialChart(container, data);
You can create a radial chart with area series by default or setting the series.showArea
option true
.
If you set series.showArea
to false
, rendering series type will be line.
//...
var options = {
//...
series: {
showArea: true // defalut
// showArea: false
}
};
tui.chart.radialChart(container, rawData, options);
You can create radial chart without series dots by defalut or setting the series.showDot
option true
.
If you set series.showDot
option to false
, series dots are didn't appear your chart.
//...
var options = {
//...
series: {
showDot: true // defalut
// showDot: false
}
};
tui.chart.radialChart(container, rawData, options);
You can create radial chart without series dots by defalut or setting the series.showDot
option true
.
If you set series.showDot
option to false
, series dots are didn't appear your chart.
//...
var options = {
//...
plot: {
type: 'spiderweb' // defalut
// type: 'circle'
}
};
tui.chart.radialChart(container, rawData, options);
- Chart Guide