Skip to content

Commit

Permalink
feat: 暴露获取扇形 path 的方法 (#3240)
Browse files Browse the repository at this point in the history
g2plot 绘制仪表盘需要

Co-authored-by: xinming <xinming.lxj@antfin.com>
  • Loading branch information
visiky and xinming authored Jan 26, 2021
1 parent e38cf5d commit ee974ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export { IGroup, ShapeAttrs, Coordinate, Scale, ScaleConfig } from './dependents

// 一些工具方法导出
import { getLegendItems } from './util/legend';
import { getAngle, polarToCartesian } from './util/graphics';
import { getAngle, getSectorPath, polarToCartesian } from './util/graphics';
import { rotate, transform, translate, zoom } from './util/transform';
import { getTooltipItems } from './util/tooltip';
import { getDelegationObject } from './interaction/action/util';
Expand All @@ -66,6 +66,7 @@ export const Util = {
zoom,
transform,
getAngle,
getSectorPath,
polarToCartesian,
getDelegationObject,
getTooltipItems,
Expand Down

0 comments on commit ee974ad

Please sign in to comment.