Skip to content

Latest commit

 

History

History
1245 lines (861 loc) · 124 KB

CHANGELOG.md

File metadata and controls

1245 lines (861 loc) · 124 KB

2.3.33 (2021-09-09)

Documentation Changes
New Features
Bug Fixes

2.3.32 (2021-08-25)

Documentation Changes
New Features
Bug Fixes
  • funnel: 不将 label 的 layout 的 type 设置为 interval-adjust-position (#2817) (de2efd5e)

2.3.31 (2021-08-16)

Bug Fixes
  • dual-axes: 修复双轴图使用 color 回调时,legend marker 颜色丢失 (#2800) (a45dbdb4)
  • line: 修复无拆分时折线图 color 回调报错 (#2751) (4215408f)

2.3.30 (2021-08-13)

Documentation Changes
New Features
  • state: 支持多 view 图表,如:对称条形图、箱型图、小提琴图、mix 多图层图表等的状态设置和获取 (#2773) (c64270ea)
Bug Fixes
  • funnel: 修复尖底漏斗图最后一排错位 (#2793) (603d533f)
  • dual-axes: 修复双轴图 theme 设置覆盖 columnWidthRatio 设置 (#2791) (2dc2d962)
  • word-cloud: 修复词云图 legend 配置不起效 修复 词云图 color 回调缺少其他数据 (#2787) (ec47b760)
  • dual-axes: configure legend selected (#2784) (25fbe901)
  • dual-axes: 双轴图图例 legend 使用 symbol 的时候,颜色不能自动调整 (#2776) (93000e50)

2.3.29 (2021-08-09)

Documentation Changes
New Features
Bug Fixes
  • 修复错误 & 更新官网展示 github (#2767) (cc96c741)
  • sankey: 修复桑基图 rawFields 在 label & tooltip 处不生效 (#2756) (669f881d)
  • treemap 矩阵树图支持 color 回调中使用 rawFields (color function apply rawFields) (#2750) (e1c5974d)
  • line 修复折线图 smooth 状态下,最高点有时会绘制不正确 (#3546)(daf3b8a8)

2.3.28 (2021-07-30)

Documentation Changes
  • heatmap: 热力图补充密度热力图🇭说明:color、style callback 以及 state 不可用 (#2718) (d0055e1b)
  • 更新官网公告 & demo (ed3375b9)
New Features
Bug Fixes

2.3.27 (2021-07-21)

Documentation Changes
  • legend: 图例 itemName, itemValue 增加 style 回调 (#2712) (1b039b0b8)
Bug Fixes
  • histogram: binNumber 设置出错 (#2708) (46d27699)
  • percentage stacked column: 修复 百分比堆叠分组柱状 展示不对 的问题 (#2688) (08e17224)
  • 修复 玉珏图没有考虑 isStack 的情况 重新计算最大值 (#2685) (397d8641)
  • rose: 玫瑰图 legend 默认配置,不进行 offset 偏移 (#2683) (86e23094)
  • bullet: 修复子弹图 状态量 中 设置 fill 为渐变色时,报错 (#791) (70083c2d1)
  • legend: 修复图例容器大小无法设置问题 (#2711) (3fb32f087)
Refactors

2.3.26 (2021-07-07)

Documentation Changes
  • column: fix-2669, 新增堆叠的柱状图展示总数 label 的 demo (#2681) (1ab8c3a3)
New Features
  • sunburst: 旭日图增加一些字段元信息,如 同层级节点位置索引,祖先节点,儿子节点数量等 (#2679) (8c31012f)
  • connected-area: 联通区域支持样式配置 (#2667) (9a8e1e68)
Bug Fixes
  • legend: 修复 legend marker 回调设置,spacing 不生效(#2671) (026f5eb)

2.3.25 (2021-06-30)

Documentation Changes
New Features
  • drill-down: 优化下下钻的面包屑位置 (#2664) (81beae66)
Bug Fixes
  • scatter: when scatter data length = 1 and x is cat (#2661) (dba879ac)
  • scatter: 散点图刷选交互之后的 scale 处理 (#2649) (17e8f082)
  • funnel: funnel with empty data, #2616 (#2658) (ef797330)
  • bullet: 修复轴组件添加 max 时,子弹图 scale 呈现不正确问题 (#2639) (dd23da52)

2.3.24 (2021-06-16)

Chores
Documentation Changes
New Features
  • sunburst: 旭日图增加 ignoreParentValue 配置 (#2637) (203774f5)
Bug Fixes
Refactors
  • funnel: 支持尖底漏斗图以及样式设置 (#2634) (0882b32d)

2.3.23 (2021-06-09)

Chores
  • 网站展示实际版本(use real version) (#2552) (627f8f06)
Documentation Changes
New Features
Bug Fixes
  • #2572: 修复堆叠分组状图 tooltip 展示不正常 (只展示第一个小分组的数据) (#2576) (85bbcb24)
  • #2573: 修复雷达图设置 point state 状态样式不生效 (#2577) (50a815ab)
  • issue-2502: 修复对称条形图 axis 设置 (#2565) (025446be)
Refactors
  • drilldown: 矩阵树图下钻交互改造,旭日图支持下钻 (#2608) (8c5c3e2a)

2.3.20 (2021-05-13)

Documentation Changes
New Features
  • 柱条形图支持组间和组内 padding 的像素级设置 (#2539) (1c7d199d)
  • 支持上层 tree shaking (#2528) (7f4cd17d)
  • heatmap: 热力图主题色默认从 theme 中获取连续色板 (#2535) (4948f648)
  • sankey:
    • 桑基图支持配置 rawFields, 在节点和边上获取更多原始数据信息 (#2533) (60ab2f7b)
    • add nodeDraggable interaction configure (#2521) (6ae79bb7)
  • chord: 和弦图增加 state 通道 & 文档移除 color 配置 (#2527) (c23ef6c0)
Bug Fixes
  • 修改桑基图 的 来源字段 type 类型为 cat (#2513) (c2e0d531)
Other Changes
Refactors

2.3.19 (2021-04-26)

Documentation Changes
  • chord: 和弦图增加 examples 处的文档 (#2517) (1c43752c)
  • legend: 图例补全文档 (df6968ef)
  • 文档日常更新 & 网站导航增加周边生态 (#2509) (b216b5e5)
Bug Fixes
  • 升级官网主题 & 修复文档命名错误 (#2508) (50999c32)

2.3.18 (2021-04-12)

Chores
Documentation Changes
  • 文档错误 (#2500) (c5a83826)
  • 图表组件文档完善 (#2481) (081971de)
  • 完善图例文档 & 增加图表组件的示例导航 & 补充图例两个 demo (#2477) (0740b371)
  • 完善 axis 文档(含 title, line, tickLine, subTickLine 等) (#2460) (7a651f7e)
New Features
  • 为双轴图增加 setState 功能 (#2488) (61a3ed81)
  • options: 13+图表提供获取默认配置项的静态方法 (#2489) (f62ca2fd)
Bug Fixes
  • sankey: depth is not right (#2503) (e349e32d)
  • gauge-theme: 仪表盘主题需要放在第一个设置,否则设置主题会失效 (#2501) (cee9c17b)
  • issue-2486: 不直接引用 @antv/matrix-util, 使用 G2 的 Util (#2499) (84fd908b)
  • 尝试修复词云图单测 (#2471) (ed682f21)

2.3.17 (2021-03-24)

Documentation Changes
  • G2Plot Calendar: 补充组合图表 demo & 增加一个插件图表 (#2448) (772155db)
  • scrollbar: 补充滚动条滑块的高亮色文档 (#2449) (bfd9e24d)
  • label-line: 类型定义补全 (#2443) (33dfa3b1)
  • tooltip: 更新 tooltip 关于 marker 的文档 (#2439) (9836e08c)
New Features
  • liquid: 水波图支持跟随主题色 & 水波图支持 outline 配置样式 & 文档以及 demo 优化 (#2455) (04f2a66c)
  • scatter: 散点图支持 color 和 shape 同时映射图例字段 & 添加单测 (#2406) (c7b7724e)
  • area: 面积图支持 startOnZero (#2444) (1cdea551)
  • conversion-tag: 转化分析 tag 添加 elements 信息,方便业务上使用 (#2441) (706942a7)
Bug Fixes

2.3.16 (2021-03-17)

Documentation Changes
New Features
  • add coordinate attribute to heatmap (#2425) (55842a6b)
  • second-geometry: 辅助几何图形 point 支持独立设置 state style (#2429) (7d0a5301)
Bug Fixes

2.3.14 (2021-03-11)

Documentation Changes
New Features
  • 矩形树图:新增下钻面包屑指引 (#2386) (ff9a470)
  • feat(gauge): 仪表盘支持配置 style,支持圆角仪表盘 (#2395) (7a34182)
  • feat(gauge): gauge 支持像素级别设置宽度 (#2402) (e87ea30)
Bug Fixes
  • Fix/liquid shape bugs (#2396) (e416b44)
  • fix: bullet 的 target 支持回调函数处理 (#2397) (02d9942)
  • fix(#2375): 修复饼图中心文本交互没有使用 custom-html (#2413) (bb848cf)
  • fix(pie-tooltip): tooltip 默认设置 fields 和 formatter 只针对全 0 场景 (#2415) (85156c8)

2.3.13 (2021-03-02)

Chores
Documentation Changes
New Features
Bug Fixes
  • sankey: shape order same with data, layout space (#2354) (c86625ca)

2.3.12 (2021-02-23)

Documentation Changes
New Features
  • treemap layout optimize (#2337) (312bcdbd)
  • 雷达图新增 innerRadius、startAngle、endAngle (#2323) (11639171)
  • export default-options, you can use staticMethod to getDefaultOptions, like Plot.getDefaultOptions() (#2307) (8efbdd64)
  • radial-bar: add radial bar label adaptor (#2336) (2f0961b1)
  • state-style: 若干图表支持 state 设置样式 & 增加文档 (#2334) (f45d02bc)
Bug Fixes

2.3.11 (2021-02-03)

Documentation Changes
New Features
  • 双轴图新增 slider (#2287) (0276528d)
  • sankey: add nodeWidth, nodePadding options (#2295) (947889b3)
  • animation: 增加动画文档和 demo & 多图层图表支持分 view 动画 (#2291) (9e62cb91)

2.3.10 (2021-01-27)

New Features

  • feat(gauge): 支持配置米轨仪表盘 (#2271) (53ebbfa)
  • feat(treemap): 矩形树图增加下钻交互 (#2219) (9f206e3)
  • feat(pie): 饼图 geometry 默认对 elemenent 的 zIndex 进行反序 (#2266) (a5971b6)
  • feat(pie): 饼图支持动态更新数据,支持通过 Pie.getDefauletOptions() 获取默认配置项 (#2257) (47fa687)
Bug Fixes
  • issue-2264 修复瀑布图 formatter 不生效 (#2270) (6787c8b)
  • fix: 修复散点图 size 回调不生效 (#2263) (510c1b5)
  • fix: 饼图数据存在 NaN 时,浏览器崩溃 && 修复中心统计文本更新为 false,再更新为显示,样式丢失 (#2257) (47fa687)
Documentation Changes

2.3.9 (2021-01-20)

Documentation Changes
New Features
  • 多图层图表正式开放 (#2245) (963399ac)
  • 为 treemap 新增 rectstyle 和 hierarchyConfig 属性 (#2234) (bcd21431)
  • 重写子弹图 changeData 方法 && 添加单测 (#2221) (afb49a60)
  • 散点图支持动态更新数据 & 添加单测 (#2225) (ee488955)
  • radial-bar: 玉珏图支持配置开始角度和结束角度 (#2251) (b18b4d2b)
  • waterfall: 瀑布图回调参数增加分类字段 (#2235) (e81665c5)
Bug Fixes
  • word-cloud: 由于无法判断首次 render 是否 ready,changedata 时,如果有 imageMask,重渲染 (#2252) (b5fe6475)
  • size 判断移入 geometry 里面 (#2237) (a9f37137)
  • 对称条形图 meta 支持 yField 设置别名 (#2240) (903a393d)
  • issue-2216: 饼图默认强制关闭 tooltip shared (#2241) (37cf8a70)
  • #2236: liquid distance calculate error (#2238) (319789be)
Refactors
  • bullet: 子弹图升级下 & 修复 axis 配置失效 (#2228) (8ac55498)

2.3.8 (2021-01-13)

Documentation Changes
  • Plot Guide: 教程页增加以图表类型分类的图表指引 ✨ (#2194) (d97f6910)
  • column: 柱状图的图表指引增加一些特性介绍 (#2201) (60c72b3b)
  • 添加钉钉联系方式 (#2213) (8473559e)
  • 优化图表示例 api 文档样式 (#2209) (a842cf6c)
New Features
  • columnBackground, barBackground: 柱、条形图,玉珏图等支持配置图形背景 ✨ (#2190) (cbd087ae)
  • column: 柱状图支持圆角 & 添加图表指引 ✨ (#2215) (1e186819)
  • word-cloud: 词云图支持展示 legend (#2208) (f539977d)
  • word-cloud: 词云图重写 changeData 方法 && 添加单测 (#2214) (f3d6d7e7)
  • waterfall: 重写瀑布图 changeData 方法 && 添加单测 (#2212) (547d7dd7)
  • radial-bar: 玉珏图重写 changeData 方法 && 添加单测 (#2206) (71868f22)
  • radar: 雷达图重写 changeData 方法 && 添加单测 (#2205) (144cf23b)
  • rose: 玫瑰图修改 changeData && 添加单测 (#2200) (eb44c0fd)
  • progress: 进度条和环形进度条支持 changeData (#2197) (0788dbff)
  • tiny-plot: 迷你折线图和迷你柱形图重写 changeData && 添加单测 (#2177) (921deb67)
  • stock: stock 股票图重写 changeData 方法 (#2170) (ed081070)
  • histogram: 直方图支持动态 changedata (#2199) (a817274d)
  • liquid: 水波图支持动态 changedata (#2198) (d1610f29)
  • tiny-plot: 迷你图默认开启动画效果(#2196) (8dd8064e)
  • treemap: label.formatter 传参和 label.field 相对应,方便用户使用自定义数据设置 label ,tooltip 同 (#2188) (159f80c1)
  • sankey: add default label layout (#2186) (470577ac)
Bug Fixes
  • 对称条形图: 数据顺序问题, 修复设置 title 时左侧的 title 是反转的 (#2204) (08ba3b9b)
  • 环形图及迷你进度条: crash when percent = NaN (#2211) (b8de33ac)
  • radial-bar: 修复 type=line 的玉珏图,设置colorpoint 不生效 (#2185) (c47329f4)
  • demo: demo 实例容器自适应,不需要加宽高 否则影响动画效果 (#2193) (cf8b4c14)

2.3.7 (2021-01-07)

Documentation Changes
  • plugin-plot: 收录 g2plot-lollipop 自定义图表 (#2181) (383d8f71)
  • 增加 meta options 的配置说明文档 & radar demo 移除数据处理逻辑 (#2182) (d7c09ca1)
  • 迁移和弦图文档地址 & 文档样式优化 & 修复 绘图属性文档链接 404 (#2172) (79dc60ba)
  • 修复教程页的 404 链接 & 优化 api 文档的字体间距等样式 (#2167) (2f401dc6)
New Features
  • sankey: remove the circle data in sankey (#2178) (e248c8e3)
  • 迷你折线图和迷你柱形图重写 changeData && 添加单测 (#2177) (921deb67)
  • 饼图支持配置坐标系 startAngle 和 endAngle (#2164) (24681490)
  • open-ability: 开放通用的 adaptors 给自定义扩展图表使用 (#2166) (223473de)
Bug Fixes
  • dual-axes: 双轴图的 y 字段相同的时候,导致 yaxis 配置被覆盖 (#2176) (b46e6b37)
  • stock 股票图重写 changeData 方法 (#2170) (ed081070)
  • issue-2161: 修复数据项存在非法 undefined 时,获取数据 max 为 NaN,导致玉珏图渲染页面崩溃 (#2168) (536adf90)

2.3.6 (2020-12-30)

Documentation Changes
  • 增加动态交互图表 & 文档 typo 修整 (#2154) (72bbfa4b)
New Features
Bug Fixes
  • funnel: funnel conversion value (#2159) (08cf891b)
  • conversion: conversion calculate error (#2160) (1aefd258)

2.3.5 (2020-12-28)

Bug Fixes

2.3.4 (2020-12-24)

Documentation Changes
New Features
Bug Fixes

2.3.3 (2020-12-18)

Documentation Changes
New Features
Bug Fixes
Refactors

2.3.2 (2020-12-11)

Chores
New Features
Bug Fixes
  • pie-statistic: 修复环图中心文本从 false 更新为 null,读取空对象属性出错 (#2092) (cf14b369)
  • pie-statistic-action: 修复 changeSize 时,环图中心文本偶发报错 (#2093) (d3a0ece9)
  • 修改官网样式覆盖问题 (#2090) (5a2ce6de)
  • only enable tooltip for prmary geometry for line/area/radar (#2087) (c006f467)
  • fix duplicated label renderde for line/area/radar plot (#2071) (66a1088b)
  • fix early create canvas context cause build error in server side (#2066) (5cdbda35)
  • gauge: 仪表盘的 ticks 默认不均匀,且自定义 scale 无效 (#2085) (089b123f)
  • sankey: close sankey node tooltip (#2072) (4be91f92)
  • issue-2078: 修复 waterfall 无法关闭 tooltip (#2079) (b2716608)

2.3.1 (2020-12-02)

Documentation Changes
New Features
Bug Fixes
  • bar: adjust default legend and tooltip order (#2049) (d2925451)
  • word-cloud: 修复当宽高为 0 时浏览器卡死 (#2055) (2fb711c2)

2.2.13 (2020-11-29)

New Features
  • auto set limitInPlot in dual-axes and bidirectional-bar (#2020) (0882ca3)
Bug Fixes

2.2.12 (2020-11-25)

New Features
Bug Fixes
  • y-scale: update y scale min, max (#2013) (125c4b74)
  • auto adjust scale min to zero for column/bar (#2012) (c5ff5fde)
  • 只允许在基础柱形图和条形图上开启转化率组件 (#1994) (257151c8)
  • line: do not set default range as [0, 1] (#2007) (ef87448e)

2.2.11 (2020-11-21)

Chores
Documentation Changes
Bug Fixes

Tests

2.0.10 (2020-11-19)

Chores
Documentation Changes
New Features
Bug Fixes
Reverts
Tests

2.0.9 (2020-11-10)

Reverts
New Features
  • add syncViewPadding function supported.

2.0.8 (2020-11-10)

Documentation Changes
Bug Fixes
Tests

2.0.7 (2020-11-04)

New Features
Bug Fixes
Tests

2.0.6 (2020-11-02)

Documentation Changes
New Features
Bug Fixes
Refactors
Tests

2.0.5 (2020-10-25)

Chores
Documentation Changes
New Features
Bug Fixes

2.0.4 (2020-10-18)

Chores
Documentation Changes
New Features
Bug Fixes
Refactors

2.0.3 (2020-10-14)

Build System / Dependencies
Documentation Changes
New Features
Bug Fixes
Other Changes

2.0.2 (2020-10-09)

Chores
Documentation Changes
New Features
Bug Fixes

2.0.1 (2020-09-28)

Documentation Changes
New Features
Bug Fixes
  • 修复 column/bar 图例设置 & demo 更新 (#1636) (b2dfd35f)
  • website: 直接显示 1.x 给人感觉是当前是 1.x 版本 (#1656) (79337091)

2.0.0 (2020-09-28)

Documentation Changes
New Features
Bug Fixes
  • 修复 column/bar 图例设置 & demo 更新 (#1636) (b2dfd35f)
  • website: 直接显示 1.x 给人感觉是当前是 1.x 版本 (#1656) (79337091)

2.0.0-beta.6 (2020-09-25)

Chores
Documentation Changes
New Features
Bug Fixes
Performance Improvements
  • 新增 animation 并更正其它图表 getDefaultOptions (#1507) (3d45caf9)
Refactors
Tests

2.0.0-beta.4 (2020-09-18)

Chores
Documentation Changes
New Features
Bug Fixes
Performance Improvements
  • 新增 animation 并更正其它图表 getDefaultOptions (#1507) (3d45caf9)
Refactors
Tests

2.0.0-beta.2 (2020-08-24)

Documentation Changes
New Features
  • slider: add slider common adaptor, apply to line,area,column (#1480) (b1dc58a7)
  • lint-md: add markdown lint & fix markdown error (#1466) (61b8c30b)
  • state: 添加 setState 方法,通过条件设置三种状态的激活与否 (#1460) (5ba9e0a5)
  • theme: 增加主题 examples & 调整 options 定义 & 补全 theme 通道 (#1457) (32ab2840)
  • 导出 G2 和 Tooltip 类型定义 (#1446) (076c7583)
Bug Fixes
Tests

2.0.0-beta.1 (2020-08-14)

Chores
Documentation Changes
New Features
Bug Fixes
Refactors
  • common-helper: 将 common helper 移动到 utils 目录中 (#1430) (dd8facc5)
  • common/adaptor 改为 adaptor/common (#1373) (5daa997c)