新特性

  • 折线、面积图更新动画心电图效果 (plot解决)

    1. [https://github.com/antvis/g2/issues/1320](https://github.com/antvis/g2/issues/1320)<br /> [https://github.com/antvis/g2/issues/1175](https://github.com/antvis/g2/issues/1175)<br /> (附:[https://bost.ocks.org/mike/path/](https://bost.ocks.org/mike/path/))
  • regionFilter ( 当前存在的情况,不能跟随动画,不支持单view使用等)

    https://github.com/antvis/g2/issues/1266

  • chart.filter接受更多参数 (根据用户反馈,参数限制也是很多组件formatter体验不好的地方)

    1. [https://github.com/antvis/g2/issues/1264](https://github.com/antvis/g2/issues/1264)
  • slider支持y轴

    1. [https://github.com/antvis/g2/issues/1211](https://github.com/antvis/g2/issues/1211)<br /> [https://github.com/antvis/g2/issues/887](https://github.com/antvis/g2/issues/887)
  • grid style加入callback支持 (应用场景: 着重显示0值时的网格线)

    标轴网格线grid支持回调函数 https://github.com/antvis/g2/issues/1147

  • label参与padding计算 (plot解决)

    1. [https://github.com/antvis/g2/issues/1125](https://github.com/antvis/g2/issues/1125)<br /> [https://github.com/antvis/g2/issues/1045](https://github.com/antvis/g2/issues/1045)
  • 移动端事件支持

    https://github.com/antvis/g2/issues/877

  • axis title offset支持xy数组 (位置更加灵活)

    1. [https://github.com/antvis/g2/issues/1115](https://github.com/antvis/g2/issues/1115)<br /> [https://github.com/antvis/g2/issues/595](https://github.com/antvis/g2/issues/595)
  • scale tick采样优化

    https://github.com/antvis/g2/issues/1046
    https://github.com/antvis/g2/issues/455
    autoRotate 优化:https://github.com/antvis/g2/issues/1143

  • 混合图表统一方案,重灾区legend (plot解决)

    https://github.com/antvis/g2/issues/1039
    https://github.com/antvis/g2/issues/1042

  • 双y轴分组柱状图

    https://github.com/antvis/g2/issues/927

  • sortable geom

    https://github.com/antvis/g2/issues/958

  • treemap label placement

    https://github.com/antvis/g2/issues/348

  • 图表联动 (plot解决)

    1. [https://github.com/antvis/g2/issues/485](https://github.com/antvis/g2/issues/485) (思路不错)
  • 柱状图label优化负值时的显示 (plot解决)

    1. [https://github.com/antvis/g2/issues/476](https://github.com/antvis/g2/issues/476)
  • 漏斗图增加展示转化率的设计 (plot解决)

    1. [https://github.com/antvis/g2/issues/1083](https://github.com/antvis/g2/issues/1083)
  • label与tooltip联动展示

https://github.com/antvis/g2/issues/1132

  • g2 设置主题后,单个集合图形的 tooltip marker颜色有问题

https://github.com/antvis/g2/issues/1091

  • 柱图提供 minHeight 配置

https://github.com/antvis/g2/issues/1077

  • 基础折线图,两端的折线点,当鼠标mouseover时,tooltip并不会出现

https://github.com/antvis/g2/issues/1050

官网demo

Bug

  • resize时渐变色填充报错 (在大屏项目中也遇到同样的问题)

    1. [https://github.com/antvis/g2/issues/1282](https://github.com/antvis/g2/issues/1282)
  • tooltip渐变色marker

    1. [https://github.com/antvis/g2/issues/1271](https://github.com/antvis/g2/issues/1271)<br /> [https://github.com/antvis/g2/issues/1006](https://github.com/antvis/g2/issues/1006)
  • 鼠标边界计算

    https://github.com/antvis/g2/issues/1268

  • alias为id时坐标轴显示问题 (字符<=2时)

    1. [https://github.com/antvis/g2/issues/1249](https://github.com/antvis/g2/issues/1249)
  • 直接设置ticks,当max小于数据实际max时不生效

    https://github.com/antvis/g2/issues/1222

  • label使用html模式渲染时,repaint、render没有销毁

    1. [https://github.com/antvis/g2/issues/1213](https://github.com/antvis/g2/issues/1213)<br /> [https://github.com/antvis/g2/issues/1127](https://github.com/antvis/g2/issues/1127)<br /> h[ttps://github.com/antvis/g2/issues/1105](https://github.com/antvis/g2/issues/1105)
  • 使用svg渲染时,label会使tail-legend定位错误

    https://github.com/antvis/g2/issues/1162

  • legend-item mouseenter事件失效

    https://github.com/antvis/g2/issues/1207

  • html legend的各种bug

  • ploygon空心面绘制错误

    https://github.com/antvis/g2/issues/1114
    https://github.com/antvis/g2/issues/1008

  • geom active style设置opacity无效

    https://github.com/antvis/g2/issues/1122

  • element select之后的zIndex问题

    1. [https://github.com/antvis/g2/issues/792](https://github.com/antvis/g2/issues/792)
  • venn图的相关bug

    1. [https://github.com/antvis/g2/issues/1095](https://github.com/antvis/g2/issues/1095)<br /> [https://github.com/antvis/g2/issues/1214](https://github.com/antvis/g2/issues/1214)
  • axis zindex设置失效

    1. [https://github.com/antvis/g2/issues/1177](https://github.com/antvis/g2/issues/1177)