Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
1135 lines (752 sloc) 65.4 KB

2022-04-02

Chores
Documentation Changes
New Features
Bug Fixes
  • tooltip 鍦 geometry 涔嬪墠鏄剧ず鏃讹紝浣嶇疆涓嶅 (#1429) (d6f6f614)
  • fragment 绫诲瀷鏍囩 (#1422) (28bcc8d4)
  • 淇鍗曟祴鏂囦欢 ts 绫诲瀷鎶ラ敊 (#1420) (355f3ec5)
  • 瀹樼綉 demo riddle 鎵撳紑鏃舵姤閿 (#1419) (998eddca)

3.8.9 (2021-06-03)

New Features
  • 鍥剧墖娣诲姞缂撳瓨閰嶇疆锛岄槻姝㈤噸澶嶅姞杞界殑鎶栧姩 (bc95e200)

3.8.8 (2021-05-12)

New Features
  • image shape 鏀寔fillOpacity璁剧疆 (5e700130)
Bug Fixes
  • 淇娣诲姞鍥剧墖鍚庯紝toDataURL 鎶ecurityError (6c9f36f0)

3.8.7 (2021-05-07)

Bug Fixes
  • 淇group鑳屾櫙鑹茬粯鍒朵笉姝g‘ (8f38df11)
  • 杩炵画骞崇Щ鍚巘ick璁$畻涓嶅 (4bb28700)

3.8.4 (2021-04-01)

Bug Fixes
  • cat绫诲瀷骞崇Щ鍚巘icks涓嶆洿鏂 (03752e7a)

3.8.3 (2021-03-05)

Bug Fixes
  • rect 璁剧疆radius鏃讹紝鍥惧舰鐢讳笉鍑烘潵 (10666e85)

3.8.2 (2021-03-04)

Chores
  • 鍗囩骇travis node 鐗堟湰 (3e990f15)
New Features
  • image 娣诲姞 radius 灞炴 (31ddbc50)
  • group 鏀寔娣诲姞鑳屾櫙 (94403b69)
Bug Fixes
  • 淇touchend 鍚庯紝points涓虹┖ (e769d642)
  • 淇hollowCircle鎶ラ敊鍜屽geom鏃讹紝crosshairs涓嶆樉绀虹殑闂銆侳ixed #1140 (c1b5c85b)
  • 淇tooltip posy灏忎簬0琚埅鏂笉鏄剧ず (bcda3586)

3.8.1 (2020-12-04)

Bug Fixes
  • 淇repaint鏃跺姩鐢讳笉鐢熸晥 (f0ba1814)
  • 淇repaint shape灞炴т笉鐢熸晥銆侰losed #1102 (b1ba85e5)

3.8.0 (2020-11-23)

Chores
Documentation Changes
  • 淇敼瀹樼綉棣栭〉example閾炬帴 (b7a4e220)
  • 淇敼demo (9834ec86)
  • 娣诲姞tooltip show hide 鐨勬枃妗h鏄 (034cf4dc)
  • 娣诲姞鏃犻殰纰峚ria鐨勯厤缃拰浣跨敤鏂囨。 (771a8157)
  • 淇敼鏂囨。缁撴瀯鍜屽唴瀹 (539575b2)
New Features
  • 鏂板妯睆鐨勬敮鎸 (9eb85ca1)
  • 鏀寔澶栭儴娉ㄥ唽鍜屾墿灞曟覆鏌撳紩鎿 (a29f627f)
  • 娣诲姞鍦板浘demo (e5b764a7)
  • 娣诲姞shape鐨勬棤闅滅澶勭悊 (a740a941)
  • 鍥捐〃绀轰緥鍚嶇О淇敼 (7e813303)
  • 鍘婚櫎icon (cf8c12eb)
  • 鏂板gallery (38c273df)
  • 鍗囩骇@antv/gatsby-theme-antv涓婚 (34f521ab)
  • export tooltip component (4067ecd7)
Bug Fixes
  • 淇閮ㄥ垎404鏂囨。璺宠浆閾炬帴 (0c8fa827)
  • gitee sync fail (2bdfbf00)
  • remove circular dependency (3817e75a)
  • 寮曠敤hammerjs瀵艰嚧灏忕▼搴忔姤閿 (0c15a67c)
  • setTheme 鍗曠嫭浣跨敤鎶ラ敊,鍗抽潪Global.setTheme璋冪敤 (01080d03)
  • 鍒涙剰鍥剧粨鏋勪慨鏀 (9c9c8077)
Tests
  • 娣诲姞svg娉ㄥ唽鐨勬祴璇曠敤渚 (7ca79112)

3.7.7 (2020-09-04)

Chores
  • group鍜宑anvas鐨刣rawInner缁熶竴鍒癱ontainer閲 (c94804f8)
Bug Fixes
  • region-filter鏄剧ず閿欒. Fixed #1013 (1348281f)
  • 鍙寉杞达紝 getPosition鍙栦笉鍒皃oint. Fixed #1004 (147a1c2c)
  • 淇alwaysshow涓簍rue鏃讹紝婊戝姩鍒皃lot澶栭潰锛宼ooltip杩樹細闅愯棌鐨勯棶棰 (0f002fef)
  • 鍔ㄧ敾绌烘墽琛岄鍑 (d0ea34f5)
  • 淇tooltip showXTip 鏄剧ず鏃讹紝measureText闇瑕佹柊寤篶anvas. Fixed #1015 (010d5161)

3.7.6 (2020-08-19)

Bug Fixes

3.7.5 (2020-08-19)

Bug Fixes
  • 淇褰搃nterval涓哄皬鏁版椂锛屽皬鏁颁綅鏁颁細灏1浣 (3a0bb6d6)

3.7.4 (2020-08-18)

Documentation Changes
  • remove scale/time-cat import (16b20a30)
Bug Fixes

3.7.3 (2020-08-14)

Chores
  • 璋冩暣浠g爜缁撴瀯 (3681ff50)
Documentation Changes
  • modify f2 cdn url (a75384fc)
  • uniform AntV navbar's order and naming (e492a364)
  • 淇鏂囨。涓婁竴浜涘け鏁堢殑閾炬帴 (478f56d8)
New Features
  • 寮傚父鍊煎鐞 (9d5455e8)
  • 绠楁硶浼樺寲 (cd412e3c)
  • 绉诲姩tick鏂规硶鍒皊cale涓 (5f64ee9c)
  • 鍗曟祴琛ラ綈 娴偣鏁板垽鏂 (52cbf6db)
  • 鍒诲害鍊间紭閫夊師鍒 (b0594f64)
  • 杩炵画鏁板煎埢搴︾畻娉 (83b1d348)
  • 娣诲姞repaint浜嬩欢 (29a3b1d3)
  • scale 鐗堟湰0.3.3 (70ef7108)
  • 澧炲姞ticks绠楁硶鍗曟祴 (12f6d69d)
  • 瑕嗙洊0.3.X鐨則ime-cat绠楁硶 (f17d467a)
  • 澧炲姞f2 鑷畾涔塼ime-cat scale绠楁硶 (83a556b1)
  • 渚濊禆scale 0.3.2 (d55d3161)
  • 浣跨敤jest 鍐呯疆expect鏂█ (77c440f7)
  • 淇敼scale搴﹂噺淇敼鐨勫崟娴 (52dc3313)
  • remove scalue._toTimeStamp (b3c07713)
Bug Fixes
  • 鐗规畩鎯呭喌涓媔nterval涓嶆弧瓒宠姹傛椂锛岄渶瑕侀掑綊璁$畻 (5543d488)
  • 淇鏁版嵁瀛楁瀛樺湪x,y鏃讹紝鍐嶆mapping鍚庯紝鏁版嵁涓嶅 (db9def3e)
  • 鍒诲害淇敼锛屼慨澶嶅崟娴 (cff266fa)
  • 鍗曟祴淇敼 (a46809ef)
  • 淇 interval 骞崇Щ鍚庝笉鏄剧ず鐨勯棶棰 Fixed #954 (e5c64bfc)
  • 淇婕忔枟鍥緇egend鐐瑰嚮鍚庯紝label浣嶇疆涓嶈皟鏁 Fixed #979 (9b43f4d3)
  • fix animation register error in codesandbox (0d64825f)
  • fix demo bugs in sandbox (294e655b)
  • transform arrow functions (8d73bba1)
  • values涓暟杈圭晫鍒ゆ柇 (f2e64bab)
  • 淇绮惧害鐨勫崟娴 (5c8e9910)
  • 鍏煎 0.3.X scale timeCat type (01078256)
  • 淇pieLabel鎻掍欢鍒ゆ柇鐭╁舰閲嶅彔鐨勫嚱鏁 (c139a6ab)
Other Changes
Tests
  • 淇敼pieLabel鍗曟祴锛屾祴璇曞墠涓涓覆鏌撹繃鐨勬爣绛炬瘮鍚庝竴涓暱锛屽悗涓涓繀娓叉煋鐨刡ug銆 (690bb0fc)

3.7.0 (2020-07-09)

Chores
  • tsconfig: disable @types/* check (60d17bb1)
  • gitignore: ignore yarn.lock (78ca6140)
Documentation Changes
New Features
Bug Fixes
  • types:
    • fix the types of the entries and plugins (2fb80547)
    • mix support any number of sources (d8ab5803)
  • 琛ュ厖types鐨勫畾涔 (7e25cec8)
  • merge master conflicts (85197b90)
  • merge master conflicts (21efd54b)
  • site build error (5ceccda9)
  • site 瀹樼綉鐨勪竴浜涢敊璇 (d6a51e31)
  • module mix fixed (d17c4d82)
  • 淇site缂栬瘧鎶ラ敊鐨勯棶棰 (b9496f75)
  • 鍘婚櫎澶氫綑jest閰嶇疆 (fa40727c)
  • 淇敼寮曠敤鏂瑰紡 (9089dfcc)
  • remove alilas (c8315815)
  • emit: arr len will reduce after splice (45430d50)

3.6.4 (2020-07-06)

Chores
  • add leaks action (734f5b12)
  • 馃攢 add GitHub Action to sync Gitee (09b7e27c)
  • deps-dev:
    • bump nunjucks from 3.0.1 to 3.2.1 (462073e7)
    • bump chai from 4.0.2 to 4.2.0 (500dcc04)
    • bump connect from 3.6.6 to 3.7.0 (1ed6c46c)
    • bump babel-preset-gatsby from 0.2.36 to 0.4.0 (1993a0ef)
    • bump babel-eslint from 7.2.3 to 10.1.0 (bc550803)
    • bump debug from 3.1.0 to 4.1.1 (3e361484)
New Features
  • adjust interval (f4ea6de8)
  • 涓 tooltip 鐨 xtip/ytip 澧炲姞 text 鏍峰紡閰嶇疆 (bbbdf91a)
  • 娣诲姞geom draw 浜嬩欢 (b52f7088)
  • 娣诲姞clear鐩稿叧浜嬩欢 (390a0b88)
  • geom娣诲姞getRecords鏂规硶 (7ab43728)
Bug Fixes
  • geom rerender (#915) (033a3668)
  • 淇touchstart瑙﹀彂press鏃讹紝娌℃湁璁剧疆direction (b6f45a6a)
  • 浜や簰閿姣佹椂锛屾敞閿浜嬩欢 (912a13c1)
  • 淇rect radius澶т簬瀹介珮鏃讹紝鍥惧舰缁樺埗涓嶆纭 (558fe91c)
  • 娣诲姞浜や簰鐨勫嚑涓挬瀛愪簨浠 (16fbcaee)
Other Changes
  • 鏇存柊 tooltip 鏂囨。 (b7c60996)
  • 琛ュ厖 mapping 缂撳瓨鍗曟祴 (67483760)
Tests
  • 琛ュ厖鏂 pan 鏂规硶鐨勫崟娴 (b5f47fa5)
  • 琛ュ厖event controller鐨勫崟娴 (955b5405)
  • add onstart hooks test case (c2f0f678)

3.6.3 (2020-03-30)

Bug Fixes

3.6.2 (2020-03-24)

New Features
  • 鎶奾elper鍜宑omponent閫忓嚭鏉 (3bc0220d)
Bug Fixes
  • render 涔嬪悗鍐嶆淇敼geom鐨剆ize. Closed #797 (a90d9608)
  • 淇瀹樼綉鐨勯摼鎺ラ棶棰 (1e8c0bfe)

3.6.1 (2020-03-19)

Chores
  • 璋冩暣geom attr鐨勬槧灏勪唬鐮 (441e2408)
  • deps: upgrade eslint 3.19.0 to 6.7.2 (234edfc1)
  • deps-dev: bump open from 0.0.5 to 7.0.0 (cba92c2a)
New Features
  • pinch 娣诲姞range閰嶇疆 (9560f70d)
  • 澶嶆潅浜や簰鏀寔灏忕▼搴 (707f6198)
  • chart娣诲姞浜嬩欢澶勭悊 (bc9afcda)
  • 娣诲姞鍐呴儴鐨勪簨鎯呭鐞 (9209b635)
  • 鍗囩骇@antv/util (30babec1)
Bug Fixes
  • 娣诲姞browser瀛楁銆侰losed #789 (e5a798f1)
  • ios spa澶氭鍒涘缓瀵艰嚧canvas鐧藉睆銆侰losed #630 (ea3f84f4)
  • preventDefault娣诲姞绌哄垽鏂 (ec99ed5a)
  • 鍐嶅垵濮嬪畬鎴愬悗锛岄渶瑕佽窡鏂皌icks (54a11e9d)
  • 淇ci鐨勬姤閿 (ce404908)
  • scale閿佸畾0.1.3 (0fe2de5c)
  • 淇touchstart鏃讹紝浼氳Е鍙憄an浜嬩欢 (1be26b83)
  • 缂╂斁鍚庯紝legend鐐瑰嚮浼氳缂╂斁澶辨晥 (b490bbe0)
  • 娣诲姞swipe浜嬩欢 (eaa89f9c)
  • 淇tag浣嶇疆涓篘aN鏃剁殑缁樺埗闂 (3aee6443)
  • 淇浜嬩欢鍒犻櫎鐨刡ug锛屽苟琛ュ厖鍗曟祴 (a7f37899)
  • 淇x, y涓0鐨勬儏鍐 (1dcb5f92)
  • touchend鏃讹紝timeount娌℃湁娓呴櫎瀵艰嚧鎶ラ敊 (1059bdd0)
  • 浼樺寲press浜嬩欢鐨勫鐞 (5b0153dc)
  • 淇tooltip touchend涓嶆秷澶辩殑闂 (cb834770)
  • 鏈缃甮eometry鏃讹紝clear鎶ラ敊 (065c7ea3)
  • 淇闈炴祻瑙堝櫒鐜鏃讹紝currentStyle鎶ラ敊 (f90affa3)
Refactors
  • tooltip鍝嶅簲浜嬩欢鏀规垚press (9a1a21a6)
  • 涓簃apping澧炲姞缂撳瓨锛屽噺灏戣绠楄楁椂 (f96a452d)
  • attr妯″潡杩佺Щ鍐呴儴 (d13ca752)
  • 璋冩暣浜屾缁樺埗鐨勬ц兘 (05c6c2c4)

3.5.0 (2020-01-12)

Chores
  • npm鍖呮坊鍔爏rc婧愭枃浠 (16d026c4)
  • deps: upgrade eslint 3.19.0 to 6.7.2 (234edfc1)
  • deps-dev: bump open from 0.0.5 to 7.0.0 (cba92c2a)
Documentation Changes
  • 娣诲姞filter鐨勪娇鐢ㄨ鏄 (79038d47)
New Features
  • 娣诲姞婕忔枟鍥 (47c8a233)
  • 澶氱澶氱幆澧冪殑閫傞厤涓庢敮鎸 (458c3fbf)
Bug Fixes
  • 鏈缃甮eometry鏃讹紝clear鎶ラ敊 (065c7ea3)
  • 淇闈炴祻瑙堝櫒鐜鏃讹紝currentStyle鎶ラ敊 (f90affa3)
Refactors
  • 鍘绘帀eventemitter锛屽彧瑕佺畝鍗曠殑浜嬩欢澶勭悊灏卞彲浠ヤ簡 (b63c63a6)

3.4.4 (2019-12-06)

Documentation Changes
New Features
  • GeomBase: add ignoreEmptyGroup config to geom base (bb1b0107)
Bug Fixes
  • 婊戝姩x杞存椂锛宑at鐨則icks浼氳缃垚null (49d4a86b)
  • 淇Shape.Text 鍦ㄨ缃 rotate 涔嬪悗 Box 瀹介珮涓嶆纭殑闂 (27e3eec)

3.4.3 (2019-11-20)

Bug Fixes
  • 淇鍙湁1涓偣鏃讹紝tooltip涓嶆樉绀虹殑闂 (da62475)
  • 淇澶氱被鍨嬫崲鍥剧偣鍑婚変腑鐨勯棶棰 (10c4b04)

3.4.2 (2019-10-15)

Chores
  • 鍙戝竷鏃跺檅abelrc & webpackrc & lintrc閮藉甫涓婁簡 杩欎細褰卞搷宸ョ▼鏈韩 (4c6f3b47)
New Features
  • 榛樿澧炲姞guide point鎻掍欢 (28d9e0c4)
Bug Fixes
  • 鍥句緥鍙敮鎸佸垎绫绘暟鎹 (bfe50422)
  • 淇鍥句緥杩囨护涓嶈冭檻绌烘暟鎹殑闂銆 (78ee9fca)
  • Guide 鐨 position 鐧惧垎姣旇В鏋愰渶瑕佽冭檻鍘熷鏁版嵁涓湰韬寘鍚 '%' 鐨勬儏鍐.Closed #590. (b299390c)

3.3.8 (2019-04-02)

Bug Fixes
  • 褰撳彧鏈1涓墖褰㈡椂锛岃搴﹁绠-6.285040585751744e-7鍜0锛岀浉鍑忓皬浜0.0001锛屼篃涓嶇粯鍒

3.3.7 (2019-03-15)

Bug Fixes
  • bbox.js: getBBoxFromArc鏂规硶瀵逛簬鏁村渾鐨勫垽鏂敊璇紝瀵艰嚧鍗婂渾寮х殑鏈灏忓寘鍥寸洅璁$畻閿欒 (8763929f)
  • fix the error when pie chart data difference is very large. Closed #514 (b3bf2932)
  • add null value judgment to prevent error. (c9be938a)
Other Changes

3.3.5 (2019-02-11)

Chores
New Features
  • add shadow graphic property for ant-mini-program. Closed #486 (b558eada)
Bug Fixes
  • legend filter should work during pan or pinch. Closed #467 (3be0359f)
  • should filter the points when calculate the polyline shape's bounding box. Closed #468 (00883059)
Other Changes
Tests

3.3.4 (2018-12-27)

Chores

3.3.3 (2018-12-20)

New Features
  • tooltip: miniprogram support xTip. (e9115c38)

3.3.2 (2018-12-19)

New Features
  • add label1offsetY, label2OffsetY to adjust label position for pie-label. (7cac3ce4)
Bug Fixes
  • Guide.Point, fix the bug caused by parsePoint() return null. Closed #458. (2edbb03f)
  • pieLabel getBBox() should compact node and mini program env. Closed #448. (29ebd491)
  • fix the bug that axis configuration not work when data is empty. Closed #439. (594e4f84)
  • fix the bug that grid callback return null did not work. Closed #437 (717f2bf6)
  • syncYScales: scale should re-calculate the ticks (ef68c0c8)

3.3.1 (2018-11-30)

Bug Fixes
  • Arc shape support fill. Closed #429. (dc4981fc)
  • filter grid points which not in the range 0 to 1. (f25b1300)

3.3.0 (2018-11-20)

Chores
New Features
  • support snap property for crosshairs. (267e59eb)
  • Guide component support change visible. (1ba0db13)
  • PieLabel plugin support active selected shape. (fc06bca3)
  • optimize category scale's normalization of non-drawing data. For pan and swipe interaction. (14556a29)
  • tooltip tip content support callback. (506b1fb2)
  • auto adjust tooltip's tips position. (5b13ecde)
  • support swipe interaction. (5fb037f9)
  • support speed and step setting for category scale pan interaction.Closed #357,#343. (fbcf0c89)
  • add F2.Global.legend.common and F2.Global.axis.common for generic theme configuration. (becd26c0)
  • add PieLabel plugin for rendering the labels of pie chart. (6ba1c70e)
  • support 'x', 'y', 'xy' three types for tooltip crosshairs, and support xTip and yTip display for tooltip. Closed #369. (7fad5c78)
Bug Fixes

3.2.4 (2018-10-25)

Bug Fixes
  • fix angle calculation problem with linear gradient. (4adbb845)
  • fix the draw error caused by smooth area animation. Closed #373. (407fdf5c)
  • fix the draw error of polyline which has empty points but still fill the area. Closed #363. (2c336837)
  • let 'interval-select' interaction work for mixed charts. Closed #355. (b80aa3ff)

3.2.3 (2018-09-27)

Chores
  • upgrade @antv/util to 1.2.5 (ff8eb0f7)
Bug Fixes
  • fix the error when draw Guide.regionFilter for area chart. Closed #345. (3900565d)
  • add some padding in the vertical direction of chart clip area. Closed #336. (ab485d15)
  • fix the error that when the grid is a function and specify the type as 'arc'. Closed #331. (b27a0727)
  • when the points is empty, return. Closed #316. (82d5c2c7)
  • fix the bug when customizing the legend, the function type marker not work. Closed #317. (d631466c)
  • Optimized geometry shape's id generation strategy. Closed #318. (ea7adc9d)

3.2.2 (2018-09-06)

Chores
Bug Fixes
  • Guide.point, the render method should return the point shape. (e83a3a1c)
  • attrs should be deep clone. Closed #288. (2e4a90b9)
  • when Text shape's text attribute is updated, the textArr attribute should be reset. Closed #302. (1625a22e)
  • if text shape's x or y is NaN, there will be a drawing error in webchart mini program. Related to antvis/wx-f2#81. (4f0ca529)
  • if there is a point with NaN value in the Polyline's points, there will be a drawing error in webchart mini program. (d5b39bef)
  • when text shape's content is 0, ensure it will be rendered. Closed #282. (b35dedf2)
Other Changes

3.2.1 (2018-08-24)

New Features
  • support set gradient color in default. Closed #243. (20b18a90)
  • support syncY property to unify multiple Y-axis data ranges. Related to #258. (854685e8)
  • support set default selected shape for pie-select and interval-select interaction. Related to #248. (55364d59)
Bug Fixes
  • when geom clear, the _width should be reset. Closed #273. (a36aa67f)
  • when chart update, tooltip's _lastActive should be reset. Closed #271. (297ae475)
  • define calculateBBox method for smooth area shape for getBBox(). (ebf8539d)
  • Fix sorting problem for categorical data. Closed #257. (3a129289)

3.2.0 (2018-08-16)

New Features
  • add interactions for chart, includes: 'pie-select', 'interval-select', 'pan' and 'pinch'.
  • add chart.guide().regionFilter({}).
  • add chart.guide().point({}).
  • add scrollBar plugin for pan and pinch interaction. (08b18c38)
  • add guide.repaint() method. (e626def6)
  • Guide component add limitInPlot property to limit guide draw in chart plot area. Closed #203 (05bf832c)
  • add show() and hide() methods for Geometry instance. (652ce741)
  • add limitInPlot property for chart, to limit the drawing area of geometrys. (74e53218)
  • the drawing order of geoms can be decided by scale values. (1f2993e6)
Bug Fixes
  • Fix problem with element zIndex in tooltip. Closed #216 (2b83bb83)
  • fix axis label animation. (8b1f7b19)
  • when x scale is category, do not need to sort data. Closed #202. (184f3937)
  • The position of the canvas in the parent container needs to be considered when calculating the Guide.Html position. (512e025d)
  • timeCat type scale setting values caused an error in chart drawing. (d1391bd3)
Chores
  • remove index-common and update index. (38e89096)
  • configuration update. (45333936)
  • handle the compatibility of Element.prototype.remove(). (97215b9a)
  • require from lib folder. (b06507b1)
  • use public package @antv/scale and @antv/adjust. (84e9a90f)
  • use public module @antv/attr. (357679bc)
  • use @antv/util as utility methods. (c619b66b)
Other Changes
  • optimize the process of data. (6f00f7ec)
  • add 16ms delay for canvas draw. (012c9fcc)
Tests
  • add test cases for all of the interactions. (77ffa62c)
  • add test case for scrollBar plugin. (b8ac2974)

3.1.20 (2018-08-13)

Bug Fixes
  • fix the error caused by empty data.Closed #238. (09de7614)

3.1.19 (2018-08-12)

Bug Fixes
  • fix the problem that tooltipMarker not show. Closed #234. (334eb765)
  • fix smooth area chart's update animation does not work. Closed #235. (53124c33)

3.1.18 (2018-08-09)

Bug Fixes
  • when chart.clear() be called, the padding should be recalculated. Closed #228. (dd1a0137)

3.1.17 (2018-08-03)

New Features
Bug Fixes
  • fix the error of F2.Global.setTheme(). Closed #224. (15547c1a)
Refactors
  • Optimize automatic position adjustment of Guide Tag. Closed #225. (2c0c18a2)
  • Not support triggerOn callback usage for tooltip and legend any more. (33624cb1)

3.1.16 (2018-07-26)

New Features
  • appendPadding support Array, just like padding. Closed #195銆 (606c996c)
Bug Fixes
  • Guarantee the accuracy of the trigger point coordinates. Closed #210 (db3d25c8)
  • when set chart.legend(false), chart.getLegendItems() return empty. Closed #190. (c75fdb82)

3.1.15 (2018-07-12)

Bug Fixes
  • fix the padding value error when chart.changeSize() been called. Closed #186 (9edb3a91)

3.1.14 (2018-07-10)

New Features
  • add alwaysShow(Boolean) for tooltip, to controller the display of tooltip. Closed #177 (4ad4b9fa)
Bug Fixes
  • fix radar chart drawing path error. Closed #180 (257e2030)
  • negative data, drawing graphics(bar chart and area chart) beyond the canvas. Closed #179 (3767e386)

3.1.13 (2018-06-28)

New Features
  • add connectNulls for geometry to connect null points. Closed #171. (8729e8ce)
Bug Fixes
  • filter null values when draw stacked point chart. Closed #173. (662e1632)

3.1.12 (2018-06-20)

New Features
Bug Fixes
  • fix main entry configuration. (352dcefa)

3.1.10 (2018-06-11)

New Features
  • add joinString property for legend. (7bc76763)
  • add unCheckStyle for legend. (bab731bd)
Bug Fixes
  • make sure timeCat scale to sort by default. Closed #151. (a9e7fee6)

3.1.9 (2018-06-08)

Chores
  • update package.json configuration. (6f3ee61f)
Bug Fixes
  • when data changed, the padding should be recalculated. (fe7c2215)
  • fix the error when values are all null in linear scale. (54787f36)
  • fix the interval y scale unable to set min. (9c124f9d)

3.1.8 (2018-05-25)

New Features
  • chart legend support single select mode. (ebf6db35)
Bug Fixes
  • prevent same plugins repeat init. (89874884)

3.1.7 (2018-05-17)

New Features
  • add chart.registerPlugins() method. Closed #116. (e578106e)
Bug Fixes
  • when chart is clear, chart.getSnapRecords() should not be affected. (1dbdd79b)
  • fixed stack point chart draw error. Closed #119 (d3632781)

3.1.6 (2018-05-08)

Bug Fixes
  • auto padding calculate should consider legend's offsetX and offsetY. (93f75681)
  • getSnapRecords() - pick data more accurate in pie chart. (d3d6ddc2)
  • the drawing problem when the data of rounded interval shape is zero. (ee79a36c)

3.1.5 (2018-05-04)

New Features
  • Support for rotation of text shapes. (8d01b4d6)
  • Support polar coordinate grid lines can be drawn as arcs. (e8178a99)
Bug Fixes
  • Optimize shape's unique id generation strategy. (09036bad)
  • add isCategory property for TimeCat scale. (6299df3a)
  • animate: fixed issue where geometry animation could not be closed. (e0c39b2b)
  • theme: adjust axis-line's display position. (423b05cc)

3.1.4 (2018-05-02)

Chores
  • dev: require on demand: bundler app (b6fc228c)
New Features
  • Group support matrix animation (0789075f)
  • add chart.animate() method to support more shapes' animation. (bac28f85)
  • add env detect variables, support node-canvas (fcc792f2)
  • gesture-plugin (4de892c9)
  • animate:
    • support customize animation for each frame. (5685e242)
    • easing support function (8fb20b8c)
Bug Fixes
  • support pixelRatio setting for node-canvas. (85cb71d0)
Other Changes
  • demo: add rotation interactive of pie chart. (cfff6817)

3.1.3 (2018-04-13)

New Features
Bug Fixes
  • fix delay causes the chart not be completely drawed. (c6023c1e)

3.1.2 (2018-04-08)

Bug Fixes
  • fix bug when get records in polar coordinate. Closed #83. (1813bef9)
  • adjust the zIndex of axis, guide, tooltip container. (b1d4e597)
  • axis label fontFamily (e6620f16)
Performance Improvements
  • stop canvas draw when animation stop. (adc33eb4)

3.1.1 (2018-04-02)

New Features
  • support chart animation. See API
  • add chart.changeSize(width, height) method. (58c605f6)
  • add chart.guide().tag(). (f4c88331)
  • support multiple y axis for guide. Closed #64 (6463787b)
Bug Fixes
  • scale formatter not work in tooltip. (c6aff75b)
  • support area with null data (b555d7c7)
  • set min and max for interval is not work. Closed #57 (1a3dde5a)
  • 淇 linear scale tickCount 涓 1 鍗℃娴忚鍣ㄧ殑闂 (86f16009)
  • hidden point draw error. (78fcd53b)
  • chart.getSnapRecords() uncorrect in pie chart. Closed #67 (53fd40ff)
Tests
  • Add complete test cases.

3.1.0 (2018-02-09)

New Features
  • 娣诲姞搴曞眰缁樺浘寮曟搸锛岃瑙 graphic
  • 鏂板鎻掍欢鏈哄埗锛屾洿濂芥敮鎸佸浘琛ㄥ姛鑳芥墿灞曪紝璇﹁ plugin
  • 鎵╁睍鍥捐〃鍔熻兘缁勪欢锛TooltipLegend鎵╁睍 Guide 鍔熻兘
  • 鏇寸伒娲荤殑妯″潡鎸夐渶寮曠敤锛岃瑙鎸夐渶寮曠敤
  • 鍏ㄦ柊鐨勫浘琛ㄦ牱寮忥紝璇﹁ demos
  • 鏀寔鍥捐〃甯冨眬 padding 鐨勮嚜鍔ㄨ绠楋紝璇﹁ padding
  • 娣诲姞 chart.scale() 鏂规硶锛岀敤浜庡垪瀹氫箟
  • 鎵╁睍 adjust() 鏂规硶锛屾敮鎸佷紶鍏ュ璞★紝dodge 鏂瑰紡鏀寔璁剧疆 marginRatio 灞炴х敤浜庤皟鏁撮棿璺
  • chart.coord('polar') 鏂板 radius 灞炴э紝鐢ㄤ簬璋冩暣鍗婂緞澶у皬锛岃瑙 Coordinate API
涓嶅吋瀹规ф帴鍙h鏄
  1. chart.guide() 鍚勪釜鏂规硶鐨勫弬鏁版牸寮忓悓 G2 缁熶竴锛岃瑙 Guide API
  2. F2.G锛屽師鍏堢殑缁樺浘鎺ュ彛鍏ㄩ儴搴熷純锛屾柊鐨 API 鍙傝锛graphic

3.0.3 (2018-01-26)

Chores
  • dev:
    • upgrade vulnerable jquery (d00c2009)
    • always exports the latest version (ac768901)
    • standardize npm pkg, provide ES5 version source (5dc4374e)
New Features
  • support setting axis's position. (2a157f25)

3.0.2 (2018-01-18)

New Features

3.0.1 (2017-12-27)

Chores
  • demo: demo for drawing labels on pie plot, etc. (232b717f)
  • demos: fix title of demos (82acc214)
  • remove useless dependencies (f43b42ce)
  • add something for github. (572204fd)
  • contribute: add contribute.md (b6b4e3ec)
New Features
  • guide: support offset setting for Guide.Text. (c0564ae6)
  • support F2.Util. (b83b5e95)
  • support CanvasRenderingContext2D instance. (ff2cd37f)
  • better script (1d1cc799)
Bug Fixes
  • should use canvas dom's width. (ca6c040a)
  • dist/f2.js => dist/f2.min.js (24c5b060)
  • scale: fixed bug of first record with null (f94cf376)
  • chart: fixed bug of #15, getSnapRecords of pie (9b0169b3)

3.0.0

璺 g2-mobile 2.x 鐩告瘮 F2 3.0 鐨勫彉鍖栵細

  • 鍛藉悕绌洪棿 GM 鏀规垚 F2 ==涓嶅吋瀹==

  • animate 鎺ュ彛绠鍖 ==涓嶅吋瀹==

     // 2.0
     chart.aniamte().wavec({
      duration: 2000,
      easing: 'elastic',
      success: function() {
        alert('ok');
      }
     });
    
     // 3.0
     chart.animate({
      type: 'wavec',
      duration: 2000,
      easing: 'elastic',
      success: function() {
        alert('ok');
      }
     });
  • new chart() 鏃剁殑閰嶇疆椤

    • margin 鏀规垚 padding 涓轰簡鍗囩骇鏂归潰锛宮argin 杩樹繚鐣欐敮鎸
    // 2.0
    var chart = new Chart({
      margin: 20
    });
    // 3.0
    var chart = new Chart({
      padding: 20
    });
    • 澧炲姞 width, height 灞炴э紝鍙互涓嶅湪 canvas 涓婃寚瀹氬楂
    • 澧炲姞 pixelRatio 灞炴
  • intevalStack,intervalDodge,areaStack 涓嶅啀鍦╟hart 涓婃敮鎸 ==涓嶅吋瀹==

    F2 3.0 鎵鏈夌殑geomety 閮芥敮鎸佹暟鎹皟鏁

      // 2.0
      chart.intervalStack().position('a*b');
    // 3.0
    chart.interval().position().adjust('stack')
  • 鑷畾涔塖hape 鐨勬帴鍙o紝鏇存敼浜嗗嚱鏁板悕绉帮紝浣嗘槸淇濈暀鍘熷厛鍑芥暟鍚嶇殑鏀寔

    • registShape 鏀规垚 registerShape
    • getShapePoints 鏀规垚 getPoints
    • drawShape 鏀规垚 draw
    // 2.0
    G2.Shape.registShape('interval', 'custom', {
      getShapePoints(cfg) {},
    drawShape(cfg, canvas) {}
    });
    
    G2.Shape.registerShape('interval', 'custom', {
      getPoints(cfg) {},
    draw(cfg, canvas) {}
    });
  • 鏃堕棿鍒嗙被锛坱imeCat) 绫诲瀷鏁版嵁鐨 mask 鏀规垚鏍囧噯鏍煎紡 ==涓嶅吋瀹== 鏂扮殑 mask 鍙傝fecha

2.2.0

  • 淇鏁版嵁涓虹┖锛屽悓鏃惰缃垪瀹氫箟閲岄潰 min: 0锛屾寰幆鐨勯棶棰

2.1.19

  • 淇閿姣佹椂鍔ㄧ敾鏈畬鎴愮殑 bug

2.1.18

  • 淇 timeCat 绫诲瀷鐨 getSnapRecords 鏂规硶杩斿洖绌哄肩殑闂

2.1.17

  • 鏀寔澶栭儴浼犲叆 context 瀵硅薄

2.1.16

  • 鏀寔浼犲叆 canvas 瀵硅薄
  • 鏂板鍗婂渾澶勭悊

2.1.14

  • 鏂板閿姣佸姛鑳
  • 鎬ц兘浼樺寲

2.1.13

  • 鏀寔缂撳姩鍑芥暟 easing 鑷畾涔
  • 鏀寔浼犲叆 canvas 瀵硅薄

2.1.12

  • 淇骞抽摵鍔ㄧ敾閲嶅缁樺埗闂
  • 淇 guide 杈呭姪鍏冪礌妯″潡寮曞叆鏃惰嚜鍔ㄥ垱寤篸om鐨勯棶棰

2.1.11

  • 鍔ㄧ敾鏂板鍙傛暟閰嶇疆鍜屽洖璋
  • 淇鏋佸潗鏍囦笅getRecord鏂规硶鑾峰彇鏁版嵁鑼冨洿涓嶅湪0-1鍐呯殑闂
  • getSnapRecords 鏂规硶鏂板閫艰繎缁村害閰嶇疆

2.1.10

  • 缁樺浘搴撶粯鍒舵枃瀛楃殑鏂规硶娣诲姞鏃嬭浆rotate鍔熻兘

2.1.9

  • 缁 guide 鐨 rect 鏂规硶鏂板鍦嗚閰嶇疆
  • 缁 geom 涓姌绾垮浘鐨勮櫄绾 dash 娣诲姞鍏ㄥ眬鏍峰紡閰嶇疆

2.1.8

  • axislabel 閰嶇疆椤规坊鍔犲畾涔夋枃鏈唴瀹瑰姛鑳

2.1.7

  • 淇绾垮浘鍜屽尯鍩熷浘浣跨敤鏃堕棿杞存暟鎹秴杩10鏉″湪chrome娴忚鍣ㄦ帓搴忓嚭閿欑殑闂

2.1.6

  • 淇guide鐨刢lear鏂规硶娌℃湁娓呯┖html鐨刣om鍏冪礌闂

2.1.5

  • 娣诲姞window鍙橀噺淇濇姢

2.1.4

  • 浼樺寲getSnapRecord鏂规硶

2.1.3

  • 娣诲姞 fillOpacitystrokeOpacity 涓や釜鍥惧舰缁樺浘灞炴э紱
  • geom 瀵硅薄寮鏀 getAllShapeData() 鎺ュ彛锛岃繑鍥 geom 涓婃墍鏈 shape 鐨勭粯鍒舵暟鎹紱
  • 淇鍙備笌鏄犲皠鐨勬暟鎹睘鎬х殑鏁版嵁鍊煎叏涓 undefined 瀵艰嚧鏍堟孩鍑虹殑闂;
  • 娣诲姞鐜舰骞抽摵鍔ㄧ敾鏂规硶wavec();
  • 淇杈呭姪html鏂囨湰缁撴瀯娣蜂贡闂.

2.1.2

  • 鍦ㄦ暟鎹粨鏋刦rame涓坊鍔犳簮鏁版嵁锛屼緵鐢ㄦ埛鍦ㄦ墿灞曟帴鍙d笂浣跨敤

2.1.1

  • 浼樺寲鍔ㄧ敾妯″潡
  • 缁欏畾榛樿棰滆壊锛屽皢color鏂规硶鍙樻垚鍙夐」
  • 淇area妯″潡鐨勮嚜瀹氫箟shape鎺ュ彛

2.1.0

  • 鏂板鍔ㄧ敾鍔熻兘锛屾敮鎸佹按骞虫柟鍚戠殑骞抽摵(waveh)銆亁杞翠笂鐨勭缉鏀(scalex)銆亂杞翠笂鐨勭缉鏀(scaley)銆亁鍜寉杞村悓鏃剁缉鏀(scalexy)
  • 淇shape鎺ュ彛
  • 缁檒ine鐨剆hape鏂板dash鏂规硶
  • 灏唃etSnapRecords鏂规硶鍦╟hart涓姏鍑

2.0.1

  • guide 鏂板html瀵归綈鍔熻兘锛屾敮鎸9鐐瑰榻愭柟寮忥細tr銆乼c銆乼l銆乥r銆乥c銆乥l銆乴c銆乺c銆乧c
  • geom 娣诲姞getSnapRecords鏂规硶锛屾彁渚涙牴鎹敾甯冨潗鏍囪幏鍙栨暟鎹殑鍔熻兘

2.0.0

  • 闆嗘垚g2-core锛屽苟缁熶竴API涓嶨2涓鑷
  • guide 鎷撳睍
    • line
    • arc
    • text
    • html

1.0.7

  • 淇浜嗙幆鍥惧湪UC涓婄殑bug
  • 鏂板鍔 timeCat 绫诲瀷
  • 璋冩暣scale tickcount 鑷姩璁$畻鍚戜笂閫艰繎
  • 淇scale linear 鐨勫嚑涓猙ug

1.0.4

  • scale 澧炲姞浜唎ffset灞炴э紝鑷姩璁$畻鏃秏in,max鍚勮嚜娴姩 鐧惧垎姣
  • 澧炲姞浜嗚嚜鍔ㄨ绠楃簿搴︾殑鍔熻兘锛岀敤鎴峰彧闇瑕佷紶鍏ュ崟绮惧害鐨勫
  • 鎻愪緵浜嗚嚜瀹氫箟鏍峰紡鍔熻兘锛屾媶鍒嗗潗鏍囪酱鐨勫叏灞閰嶇疆淇℃伅
  • 淇鐐瑰浘锛岃竟妗嗘病鏈夐鑹茬殑闂

1.0.0

new It is the first version of g-mobile.