Skip to content

Releases: nhn/tui.chart

v3.9.0

07 Nov 06:07
Compare
Choose a tag to compare

Added

  • Added title align option to XAxis. (default value: 'right')
var options = {
  xAxis: {
    title: {
      text: 'title',
      align: 'left'
    }
  }
}
var chart = tui.chart.barChart(container, data, options);
  • left
    image

  • right(default)
    image

Fixed

  • fix background type: #228

v3.8.0

23 Sep 07:02
Compare
Choose a tag to compare

Added

  • Added maxWidth option to Axis. If the text is longer than maxWidth, text display an ellipsis ('…').
var options = {
  xAxis: {
    maxWidth: 30
  },
  yAxis: {
    maxWidth: 50
  }
}
var chart = tui.chart.barChart(container, data, options);

v3.7.0

23 Apr 02:14
Compare
Choose a tag to compare

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();

v3.6.2

01 Apr 05:38
Compare
Choose a tag to compare

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)

v3.6.1

05 Mar 07:15
Compare
Choose a tag to compare

Fixed

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

v3.6.0

25 Feb 06:08
Compare
Choose a tag to compare

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

v3.5.2

12 Feb 00:14
Compare
Choose a tag to compare

Fixed

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

v3.5.1

01 Feb 06:27
Compare
Choose a tag to compare

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.

v3.5.0

11 Jan 02:06
Compare
Choose a tag to compare

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.

v3.4.2

24 Dec 05:46
Compare
Choose a tag to compare

Added

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

Changed

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