Skip to content

Releases: antvis/G2

4.1.2

11 Dec 06:39
82a206f
Compare
Choose a tag to compare
Chores
Documentation Changes
Bug Fixes
  • fix early create canvas context cause build error in server side (#3081) (773abdd9)
  • issue-3073: 修复数据存在null值,在pie-outer 标签布局下报错 (#3074) (73708e93)

4.1.0

01 Dec 13:55
2c2db0f
Compare
Choose a tag to compare
Chores
Documentation Changes
New Features
Bug Fixes
Refactors
  • theme: 主题重构,暴露 createTheme 方法 (#3018) (e7471d70)

v4.0.14

30 Jul 09:27
dbbe294
Compare
Choose a tag to compare
New Features
  • Polygon 为 polygon 添加 square shape,用于绘制正方形矩阵块,同时支持 size 通道映射
  • Facet 分面标题支持格式化
  • Legend 图例新增 maxItemWidth 属性,超出自动省略
  • Annotation annotation 中文本绘制能力增强,可设置自动缩略以及背景框
Bug Fixes
  • 坐标轴 verticalLimitLength 的参照物是画布 (#2692) (85d94fca)
  • 修复 'top-right' 类型的图例位置主题默认 maxItemWidth 不生效的问题

v4.0.10

10 Jun 03:48
b431148
Compare
Choose a tag to compare
New Features
Bug Fixes

v4.0.9

28 May 02:34
6097cf6
Compare
Choose a tag to compare
New Features
Bug Fixes

v4.0.8

18 May 03:52
17a76cf
Compare
Choose a tag to compare
Documentation Changes
New Features
  • slider: add formatMask property (aac56a86)
  • interaction: use get method (78e2c32f)
Bug Fixes
  • 2365: 修复极坐标系圆弧坐标轴文本不响应坐标系 rotate 的问题 (#2424) (5c2bc3ff)
  • 2371: 修复未判断 labels 为空导致的饼图图例过滤错误 (#2422) (a30eb71f)
  • 2377: registerTheme 时,需要和基础主题进行合并 (#2416) (0c220765)
  • 2412: 修复 axis title offset 设置不生效的问题,默认自动计算 (#2417) (a220df31)
  • fix min/max value map to color (#2442) (b3d41214)

v4.0.7

17 Apr 02:26
Compare
Choose a tag to compare
Bug Fixes
  • do not set tooltip position when follow is false (62f5e279)
  • delegation: mouse leave failed (d3a30ed2)
  • element: 修复获取 state style 报错的问题 (320e22f0)

v4.0.6

10 Apr 08:40
179445e
Compare
Choose a tag to compare
New Features
  • view 上添加手势事件支持 (e4f74a22)
Bug Fixes
  • geometry: geometry.clear() 以及 destroy() 时要清空、销毁内部变量 (c89ff974)
  • #2272: 当映射数据中不存在 x 和 y 时,不绘制 label (df60733e)
Performance Improvements
  • 性能优化,详见 MR
Documentation Changes
  • 添加 Gestrue 手势使用文档 (2c459853)

v4.0.5

08 Apr 05:21
303ef9e
Compare
Choose a tag to compare
Bug Fixes
  • #2261: 修复 tooltip 数据查找补全的问题 (4b29feab)
  • #2241: 修改图表更新过程中,tooltip 未及时消失而出现内容为空的问题 (0e9e65f5)

v4.0.4

03 Apr 06:17
Compare
Choose a tag to compare
New Features
  • event: 添加 plot:enter 和 plot:leave 事件 (1f9b96be)
  • interaction:
  • view:
    • 支持 plot 上的移动事件触发 (4a86b08a)
    • 添加一些方法的别名,以兼容 3.x,但是这些方法将会在 4.1 版本中移除 (6356363a)
  • force-fit: add forceFit api for chart (719b61b3)
Bug Fixes
  • theme:
    • 修复主题切换后,Geometry 样式未更新的问题 (7e75a543)
    • 修复在 chart 构造函数中设置 theme 对象不生效的问题. Closed #2258 (6863a69f)
    • 移除 label 的描边,会带来性能损耗 (99b799d9)
  • 移除 coord.getRadius() 的 ts-ignore 注释 (a02b7316)
  • geometry: 修复层叠点图上下区间点全部绘制的问题。Closed #2202 (d7edf5e6)
  • view: 修复 syncScale() 调用时机不当导致分面渲染性能直线下降的问题 (d492c0ea)
  • #2264: 修复 canvas 样式导致的 resize 问题, 修复容器层级 (10200851)
  • #2232: fix 当 legend item 点击的时候, 图例项变少 (19ca46ff)
  • #2173: fix legend overlap when in same direction (59db3b59)
  • #2212: fix when slider option has no start or end (36a3b5db)
  • #2222: fix scale pool memory leak (7f23a4c0)
  • #2215: fix chart min size = 100 (e49646d3)
  • #2195: fix autoFit 不生效 (92d607ec)
Refactors
  • use unpkg other than browser field in package.json (0185949b)
  • theme: 移除注册样式表机制,只提供根据样式表生成主题的方法 (9b0020ad)
  • geometry: 将获取 shape 默认属性时机从 Element 绘制提到 Geometry getDrawCfg() (cf9b2f4f)
  • sync-scale: use Map for perf (76813745)