@jinwoo-kim-nhn jinwoo-kim-nhn released this Oct 12, 2018 · 6 commits to master since this release

Assets 2

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 use setData api instead.)

@jinwoo-kim-nhn jinwoo-kim-nhn released this Aug 7, 2018 · 10 commits to master since this release

Assets 2

Fixed

  • Fixed an error when series.showLabel and series.showLegend option is true and data value is 0 in pie chart.

@jinwoo-kim-nhn jinwoo-kim-nhn released this Aug 6, 2018 · 17 commits to master since this release

Assets 2

Added

  • The sereis.labelSuffix and series.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'.

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 a tui-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.

@jinwoo-kim-nhn jinwoo-kim-nhn released this Jul 20, 2018 · 30 commits to master since this release

Assets 2

Fixed

  • Fixed bug where the bottom of the chart does not appear when the legend.align option is 'top' and the chart.title option is empty.

@jinwoo-kim-nhn jinwoo-kim-nhn released this Jul 17, 2018 · 34 commits to master since this release

Assets 2

Added

  • Added two yAxis options in the line chart.

    • example link

      //...
      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.

    • example link

      //...
      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.

@jinwoo-kim-nhn jinwoo-kim-nhn released this Jun 19, 2018 · 63 commits to master since this release

Assets 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.

@jinwoo-kim-nhn jinwoo-kim-nhn released this May 15, 2018 · 75 commits to master since this release

Assets 2

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.

@jinwoo-kim-nhn jinwoo-kim-nhn released this Apr 17, 2018 · 130 commits to master since this release

Assets 2

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 to false.

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.

@jinwoo-kim-nhn jinwoo-kim-nhn released this Apr 17, 2018 · 420 commits to master since this release

Assets 2

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

@jinwoo-kim-nhn jinwoo-kim-nhn released this Mar 13, 2018 · 205 commits to master since this release

Assets 2

Added

  • Labels hidden on x and y axes

    • [xAxis|yAxis|rightYAxis].showLabel

      var option = {
          yAxis: {
              showLabel: false
          }
      }
  • Ability to change the output order of spectrum legends

    • legend.reversed

      var option = {
          legend: {
              reversed: true
          }
      }

Fixed

  • Fixed a bug where the tooltip of the selected series did not appear when data values of series were overlapped.
  • Fixed a bug where the color of a part of the spectrum legend area did not appear.
  • Fixed a bug where the font color of the series label in the theme does not apply.
  • Fixed a bug where the band / line was not created if the plot band / line setting was set to a string number when the data was a time stamp type.

Removed

  • The option to rotate the y-axis title has been removed (removed as an option that is not appropriate for the changed design)
  • Removed the tooltip.position option that was deprecated (can be replaced with tooltip.offsetX or tooltip.offsetY)

Design Changed

    1. Common area
    • change chart default color specified in defaultTheme
    • chart title sort has been changed from center sort to left sort
    • y axis title position has been changed to top
    • change to x-axis title position left alignment
    • changed x, y axis line thickness to look thinner
    • change legend area checkbox appearance and icon appearance
    • change the default appearance of tooltip
    • exportMenu Change appearance
    1. Bar chart
    • removed the gap between the bars
    • change the mouseover effect
    1. Column chart
    • removed the gap between the bars.
    • change the mouseover effect.
    1. Line chart
    • the default line thickness has increased (2px => 6px)
    • change the size and shape of the default dot
    1. Area chart
    • change the default appearance of area
      • Default areaOpacity changed from 0.5 to 1
    • change the shape and animation effect when mouseover
      • the default line thickness has increased (2px => 6px)
      • The mouseover area area changed to transparent
    1. Bubble chart
    • the opacity of the basic bubble has been changed from 0.5 to 0.8
    • change the shape and animation effect when mouseover
    1. Scatter chart
    • default scatter opacity has been changed from 0.5 to 0.8
    1. Pie chart
    • The series label status of the pie chart has been changed
      • regardless of the labelAlign option, the sereis value label is always centered (applies only to legend labels)
      • when the labelAlign option is outer, the color of the legend label of the series is changed to be applied
    • change the mouseover effect
    1. Map chart
    • zoom button position change
    • change default spectrum color
    • change spectrum legend shape
    • change the shape and animation effect when mouseover
    1. Heatmap chart
    • change default spectrum color
    • change spectrum legend shape
    • change the shape and animation effect when mouseover
    1. Treemap chart
    • The color representation of the series has been changed
    1. Radial chart
    • the default line thickness has increased (2px => 6px)
    • change the mouseover effect