Skip to content

Added

  • Added selectSeries, unselectSeries api - You can select and deselect series by api.
var chart = tui.chart.barChart(container, data, options);

chart.selectSeries({legendIndex: 1, index: 0}, true); 
chart.unselectSeries();
Assets 2

@jung-han jung-han released this Apr 1, 2019 · 5 commits to master since this release

Fixed

  • #191 Set Data on button click to update existing chart
  • #190 coordinate chart zoom not working properly
  • #192 coordinate chart band not working properly when zooming
  • #199 Multiple readme links broken

Changed

  • #195 change company name(NHN Ent. -> NHN.)
  • #196 apply readme.md review(change awkward expression)
Assets 2

@jung-han jung-han released this Mar 5, 2019 · 11 commits to master since this release

Fixed

  • #164 setData method throws TypeError on map chart
  • #188 resets button on zoomed chart does not disappear
Assets 2

@jung-han jung-han released this Feb 25, 2019 · 13 commits to master since this release

Improved

  • #180 change document site(apply new tui-doc)

Fixed

  • #184 line chart coordinate data zoom issue
  • #152 radial chart resize error
  • #163 Resized map chart overflows
  • #182 radial chart showArea option not working
  • #178 index.d.ts, tsconfig.json option change
  • #53 The tooltip is covered by the export menu
  • #176 docs: fix typo
Assets 2

@jung-han jung-han released this Feb 12, 2019 · 20 commits to master since this release

Fixed

  • Fixed a bug when using Taiwan and Thailand mapchart by ES6 import.
  • Fix link on README.md(release link).
Assets 2

@jinwoo-kim-nhn jinwoo-kim-nhn released this Feb 1, 2019 · 22 commits to master since this release

Fixed

  • Fixed a bug where plot.lines was not positioned correctly when line graph's xAxis.pointOnColum option was applied.
  • Fixed a bug that the tooltip function did not work when unchecking the value corresponding to the line chart in the line & column combo chart as below.
Assets 2

@jinwoo-kim-nhn jinwoo-kim-nhn released this Jan 11, 2019 · 26 commits to master since this release

Added

  • Added series.labelFilter option for pie chart
var options = {
    ...
    series: {
        ...
        showLegend: true,
        showLabel: true,
        labelFilter: function(labelInfo) {
            console.log(labelInfo)
            /* {
             *     value: "Chrome", // legend name or value
             *     labelType: "legend", // legend or value
             *     seriesName: "Chrome", // Checks the identity of the value if labelType is value.
             *     ratio: 0.46020000000000005
             * }
             */
            return labelInfo.ratio > 0.05; // Less than 5% does not expose.
        }
    }
};

Improved

  • Change tooltip event detection method in coordinate type line chart
  • Improved Typescript Any type and global declaration issues

Fixed

  • Fixed JavaScript error when using zoom function after using rerender or setData api in line and area chart
  • Fixed a bug where the last category in chart x-axis category was not visible under certain circumstances.
Assets 2

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

Added

  • Added declaration file(./index.d.ts) for Typescript support.

Changed

  • Update tui-code-snippet version to 1.5.0 for improving Google Analytics.
Assets 2

@jinwoo-kim-nhn jinwoo-kim-nhn released this Nov 22, 2018 · 38 commits to master since this release

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 the chart.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.
Assets 2

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

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.)
Assets 2
You can’t perform that action at this time.