Releases: nhn/tui.chart
Releases Β· nhn/tui.chart
v3.4.1
Improved
- Speed up when creating and using large numbers of charts in one page (Improved text dimension calculation).
- Improved ways to find data from chart mouse events when chart spacing is narrow (improved with x-coordinate first search).
- When the x-coordinate distance is narrow, there is a problem that the tooltip of the last data at the right end of the chart of the line or area chart is not displayed.
Fixed
- Fixed a bug where the value of the tooltip label changed when trying to change the
makingSeriesLabel
value with thechart.format
option. - Fixed a bug where the
series.colorByPoint
option was not applied. - Fixed a bug where the legend list was broken when the legend align was top or bottom
- Fixed a bug where the zoom selection area of the line and area chart was pushed to the left and was incorrectly rendered.
- A plot is not drawn when there is only one category in a chart, and a bug that caused a javascript error has been fixed.
v3.4.0
Added
-
Added
setData
api - you can change the data in the chart and draw it.//... var chart = tui.chart.barChart(data); chart.setData({ categories: ['June', 'July', 'Aug', 'Sep', 'Oct', 'Nov'], series: [ { name: 'Budget', data: [5000, 3000, 5000, 7000, 6000, 4000], visible: false }, { name: 'Income', data: [8000, 1000, 7000, 2000, 5000, 3000] } ] });
-
Added
getCheckedLegend
api - you can to be know legend checkbox state.//... var chart = tui.chart.barChart(data); var checkedLegendInfo = chart.getCheckedLegend(); console.log(checkedLegendInfo);
-
Added
changeChecedLenged
event as a public event.//... var chart = tui.chart.barChart(data); chart.on('changeCheckedLegends', function(info) { console.log(info); });
Changed
- Improved ga hostname collection method. (From tui-code-snippet version v1.4.0)
Fixed
- Fixed a bug that caused data to return to the previous version when the legend checkbox was changed after calling
rerender
.(rerender
API has been deprecated. It is recommended to usesetData
api instead.)
v3.3.1
Fixed
- Fixed an error when
series.showLabel
andseries.showLegend
option is true and data value is 0 in pie chart.
v3.3.0
Added
- The
sereis.labelSuffix
andseries.labelPrefix
options have been added to the labelable charts.
series: {
showLabel: true,
labelSuffix: '$',
labelPrefix: '^',
}
- Important - Added bundle file type in 'dist directory'.
- Added
tui-chart-all.js
- Includes all dependency modules, including 'babel-polyfill', in bundle file code - Added
tui-chart-polyfill.js
- Dependency modules are not included in the code, but include only 'babel-polyfill'.
- Added
Changed
tui-chart.js
- The babel-polyfill dependency code in the main bundle file tui-chart.js has been removed.tui-chart.js
does not include a dependency module.
Prev version's 'tui-chart.js' includes 'babel-polyfill' in the code, so we've added atui-chart-polyfill.js
file to reduce user confusion.- 'tui-cahrt-polyfill.js' is an intermediate temporary distribution file intended to reduce user confusion and will be deprecated soon.
Fixed
- Fixed a bug where a 0-byte file was created when exporting a line chart or a chart containing lines to image.
v3.2.1
Fixed
- Fixed bug where the bottom of the chart does not appear when the
legend.align
option is 'top' and thechart.title
option is empty.
v3.2.0
Added
-
Added two yAxis options in the line chart.
-
//... var options = { //... yAxis: [{ title: 'Temperature (Celsius)', }, { title: 'Percent (%)', min: 0, max: 100, suffix: '%' }] }; //... tui.chart.lineChart(container, rawData, options);
-
-
Added two yAxis options in the bar chart.
-
//... var options = { //... yAxis: [{ title: 'Month' }, { title: 'Secondary Info', categories: ['06 / 2017', '07 / 2017', '08 / 2017', '09 / 2017', '10 / 2017', '11 / 2017'] }], }; //... tui.chart.barChart(container, rawData, options);
-
Fixed
- Fixed a bug where there was no data when exporting from a pie chart.
- Fixed bug where rightYAxis of diverging chart is not visible.
- Fixed a bug that Using
two yAxis options in Combo chart
did not work.
v3.1.2
Fixed
- Fixed a bug where the tooltip of the first value on the radial chart was broken.
- Fixed an issue in which pieChart was drawn abnormally when using radiusRange in seriese with value 0.
v3.1.1
Improved
- Apply ES6 with babel
Fixed
- Fixed a bug where sorting with chart.title.align option was awkward.
- When using the xAxis.tickInterval option, a bug where the last label on the x axis overlaps the previous label has been fixed.
- Fixed a bug where file contents are not normally displayed when exporting xls, csv from IE.
v3.1.0
Added
- Title alignment options left, right, center.
-
title.align
var options = { chart: { title: { text: 'chart title center', align: 'center' // left | center | right } } };
-
usageStatistics
option : Send the hostname to google analytics. If you do not want to send the hostname, this option set tofalse
.
Improved
- Improved that tooltip is not visible in column & bar chart where data is 0
- Improvements where labels are not clearly visible where the labelRotate option is true
- Improved that the x-axis start and end values are displayed at the beginning and end of the graph when the autoInterval option is true.
- Improvements in the stack&column chart where the totals are sometimes out of the chart.
Fixed
- Fixed a bug that caused errors when calling the
chart.resize()
API - Fixed a bug where the showLabel option in the legend area is false, but the group tooltips are used together
- Fixed non-animated bug in lines or bands added when adding PlotLine and PlotBand options in dynamic charts
- Fixed a bug where there was only one series in the area chart with spline and stack options.
v2.17.1
Improved
- Improved that tooltip is not visible in column & bar chart where data is 0
Fixed
- Fixed non-animated bug in lines or bands added when adding PlotLine and PlotBand options in dynamic charts