Skip to content

v1.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Aug 05:55
· 5893 commits to main since this release

🆕 feat

  • @visactor/vchart: support dataFilter for axis label and axis tick
  • @visactor/vchart: dimension tooltip supports linear axis
  • @visactor/vchart: filling full data to map mark data in #420
  • @visactor/vchart*: support background of chart & series
  • @visactor/vchart*: support configuration of onerror in chart instance initoption, new VChart(spec, { onError: () => {} })
  • @visactor/vchart: supplement sync methods in vchart instance
  • @visactor/vchart: support dimension tooltip for time axis, related #437
  • @visactor/vchart: add tooltipShow event and tooltipHide event for vchart, related #337
  • @visactor/vchart: add attribute dimensionInfo in tooltip handler event params when activeType is mark. related #475
  • @visactor/vchart: add a new event type tooltipRelease. related #427
  • @visactor/vchart: support axis of type: 'log'. close #392
  • @visactor/vchart: support renderFinished and animationEnd event for vchart
  • @visactor/vchart: support barGapInGroup for bar series and rangeColumn series, used to set the spacing between bars within a group, relate #328
  • @visactor/vchart: support seriesMark for area, line and radar series, which can used to set series main mark, closed #330
  • @visactor/vchart: extended data structures supported by sankey chart

🐛 fix

  • @visactor/vchart: set the correct return type of getLegendDataById and getLegendDataByIndex, closed #472
  • @visactor/vchart: the non-stack radar area should start from the minimum of radius axis, not o, fix #370
  • @visactor/vchart: bar label does not show in the expected position when axis is inversed, fix #378
  • @visactor/vchart: fix the issue of the title color configured on the theme does not take effect, fixed #408"
  • @visactor/vchart: fix the issue that updateSpec of pie chart causes innerRadius/outerRadius to be incorrect when hovering in #435
  • @visactor/vchart: fix the issue of y axis's title can not auto ellipsis, fixed #443, #417
  • @visactor/vchart: fix the issue of axis label flush config disable when axis inverse is true, fixed #449
  • @visactor/vchart: startAngle and endAngle of polar axis will be reset when executing updateSpec, related #332
  • @visactor/vchart: solve the issue that tooltip content is out of bounds in some uncommon case, related #397
  • @visactor/react-vchart: catch error in BaseChart
  • @visactor/react-vchart: <VChart /> shoud not update when spec is equal, fix #428
  • @visactor/react-vchart: the components of react vchart should not update when no props or children are updated

⚡ perf

  • data: add animationThreshold configuration to support automatically close animationa when the amount of data is large
  • axis-tick: optimize the calculation times of axis ticks, optimize the discrete axis sampling algorithm
  • data: remove redundant data statistics calculations
  • stack: use 0 to replace Number.epsilon in stack operation closed #350

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.2.0