├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .fatherrc.js ├── .github ├── ISSUE_TEMPLATE.md ├── ISSUE_TEMPLATE │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── auto-release.yml │ ├── build.yml │ ├── ci.yml │ ├── ci_schedule.yml │ ├── danger-js.yml │ ├── gitleaks.yml │ ├── mirror.yml │ └── sync-to-gh-pages.yml ├── .gitignore ├── .npmignore ├── .prettierrc.yml ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CONTRIBUTING.zh-CN.md ├── LICENSE ├── README.en-US.md ├── README.md ├── dangerfile.js ├── jest-setup.js ├── jest.config.js ├── lerna.json ├── package.json ├── packages ├── f2-algorithm │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ ├── lttbDownSample.ts │ │ └── rateDownSample.ts │ ├── test │ │ ├── __image_snapshots__ │ │ │ ├── sample-test-tsx-sample-lttb-sample-1-snap.png │ │ │ ├── sample-test-tsx-sample-nearest-sample-1-snap.png │ │ │ ├── sample-test-tsx-sample-origin-data-1-snap.png │ │ │ ├── sample-test-tsx-sample-rate-小于-data个数-1-snap.png │ │ │ └── sample-test-tsx-sample-rate-小于可抽个数-1-snap.png │ │ └── sample.test.tsx │ └── tsconfig.json ├── f2-my │ ├── CHANGELOG.md │ ├── examples │ │ └── test │ │ │ ├── .mini-ide │ │ │ └── project-ide.json │ │ │ ├── app.acss │ │ │ ├── app.js │ │ │ ├── app.json │ │ │ ├── babel.config.json │ │ │ ├── mini.project.json │ │ │ ├── package.json │ │ │ ├── pages │ │ │ └── index │ │ │ │ ├── chart.js │ │ │ │ ├── chart.jsx │ │ │ │ ├── index.acss │ │ │ │ ├── index.axml │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ └── index.jsx │ │ │ └── snapshot.png │ └── package.json ├── f2-node │ ├── CHANGELOG.md │ ├── examples │ │ ├── babel.config.json │ │ ├── package.json │ │ └── src │ │ │ └── index.jsx │ └── package.json ├── f2-react │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.tsx │ ├── test │ │ └── react.test.tsx │ ├── tsconfig.json │ └── typings.d.ts ├── f2-vue │ ├── CHANGELOG.md │ ├── examples │ │ ├── vite │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── index.html │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── App.vue │ │ │ │ ├── graphic.jsx │ │ │ │ └── main.js │ │ │ └── vite.config.js │ │ └── vue3 │ │ │ ├── babel.config.js │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── App.vue │ │ │ ├── graphic.jsx │ │ │ └── main.js │ │ │ └── vue.config.js │ └── package.json ├── f2-wordcloud │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── examples │ │ └── node │ │ │ ├── babel.config.json │ │ │ ├── package.json │ │ │ └── src │ │ │ └── index.jsx │ ├── package.json │ ├── src │ │ ├── index.tsx │ │ └── wordcloud2.js │ ├── test │ │ ├── __image_snapshots__ │ │ │ ├── index-test-tsx-word-cloud-word-cloud-1-snap.png │ │ │ └── index-test-tsx-word-cloud-word-cloud-mask-shape-1-snap.png │ │ ├── index.test.tsx │ │ └── logo.png │ ├── tsconfig.json │ └── typings.d.ts ├── f2-wx │ ├── CHANGELOG.md │ ├── examples │ │ └── test │ │ │ ├── app.js │ │ │ ├── app.json │ │ │ ├── app.wxss │ │ │ ├── babel.config.json │ │ │ ├── package.json │ │ │ ├── pages │ │ │ └── index │ │ │ │ ├── chart.js │ │ │ │ ├── chart.jsx │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.jsx │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ │ ├── project.config.json │ │ │ ├── project.private.config.json │ │ │ └── sitemap.json │ └── package.json └── f2 │ ├── .fatherrc.js │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.en-US.md │ ├── README.md │ ├── jsx-dev-runtime.d.ts │ ├── jsx-dev-runtime.js │ ├── jsx-runtime.d.ts │ ├── jsx-runtime.js │ ├── package.json │ ├── src │ ├── attr │ │ ├── base.ts │ │ ├── category.ts │ │ ├── identity.ts │ │ ├── index.ts │ │ └── linear.ts │ ├── chart │ │ ├── Coord.d.ts │ │ ├── Data.d.ts │ │ ├── Scale.d.ts │ │ ├── index.tsx │ │ └── types.d.ts │ ├── components │ │ ├── area │ │ │ ├── areaView.tsx │ │ │ ├── index.tsx │ │ │ └── withArea.tsx │ │ ├── axis │ │ │ ├── axisView.tsx │ │ │ ├── index.tsx │ │ │ ├── polar │ │ │ │ ├── polar-x.tsx │ │ │ │ └── polar-y.tsx │ │ │ ├── rect │ │ │ │ ├── bottom.tsx │ │ │ │ ├── left.tsx │ │ │ │ ├── right.tsx │ │ │ │ └── top.tsx │ │ │ ├── types.d.ts │ │ │ └── withAxis.tsx │ │ ├── candlestick │ │ │ ├── candlestickView.tsx │ │ │ ├── index.tsx │ │ │ └── withCandlestick.tsx │ │ ├── gauge │ │ │ ├── gaugeView.tsx │ │ │ ├── index.tsx │ │ │ └── withGauge.tsx │ │ ├── geometry │ │ │ ├── Adjust.d.ts │ │ │ ├── index.tsx │ │ │ └── selection.ts │ │ ├── guide │ │ │ ├── index.tsx │ │ │ ├── views │ │ │ │ ├── Arc.tsx │ │ │ │ ├── Image.tsx │ │ │ │ ├── Line.tsx │ │ │ │ ├── Lottie.tsx │ │ │ │ ├── Point.tsx │ │ │ │ ├── Polyline.tsx │ │ │ │ ├── Rect.tsx │ │ │ │ ├── Tag.tsx │ │ │ │ └── Text.tsx │ │ │ └── withGuide.tsx │ │ ├── index.ts │ │ ├── interval │ │ │ ├── index.tsx │ │ │ ├── label │ │ │ │ ├── index.ts │ │ │ │ └── polygonLabel.tsx │ │ │ ├── util.ts │ │ │ ├── view │ │ │ │ ├── index.tsx │ │ │ │ ├── intervalView.tsx │ │ │ │ ├── polar.tsx │ │ │ │ ├── polygonView.tsx │ │ │ │ └── rect.tsx │ │ │ └── withInterval.tsx │ │ ├── legend │ │ │ ├── index.tsx │ │ │ ├── legendView.tsx │ │ │ └── withLegend.tsx │ │ ├── line │ │ │ ├── index.tsx │ │ │ ├── lineView.tsx │ │ │ └── withLine.tsx │ │ ├── pictorial │ │ │ ├── index.tsx │ │ │ └── pictorial.tsx │ │ ├── pieLabel │ │ │ ├── index.tsx │ │ │ ├── pieLabeView.tsx │ │ │ └── withPieLabel.tsx │ │ ├── point │ │ │ ├── index.tsx │ │ │ ├── pointView.tsx │ │ │ └── withPoint.tsx │ │ ├── scrollBar │ │ │ ├── horizontal.tsx │ │ │ ├── index.tsx │ │ │ ├── scrollBarView.tsx │ │ │ ├── vertical.tsx │ │ │ └── withScrollBar.tsx │ │ ├── sunburst │ │ │ ├── icicleView.tsx │ │ │ ├── index.tsx │ │ │ ├── sunburstView.tsx │ │ │ ├── view.tsx │ │ │ └── withSunburst.tsx │ │ ├── tooltip │ │ │ ├── index.tsx │ │ │ ├── tooltipView.tsx │ │ │ └── withTooltip.tsx │ │ ├── treemap │ │ │ ├── index.tsx │ │ │ ├── treemapView.tsx │ │ │ └── withTreemap.tsx │ │ └── zoom │ │ │ ├── easing.ts │ │ │ ├── index.tsx │ │ │ └── zoomUtil.ts │ ├── controller │ │ ├── attr.ts │ │ ├── coord.ts │ │ ├── scale.ts │ │ └── tick │ │ │ ├── cat-tick.ts │ │ │ ├── linear-tick.ts │ │ │ └── time-cat.ts │ ├── coord │ │ ├── base.ts │ │ ├── index.ts │ │ ├── polar.ts │ │ ├── rect.ts │ │ └── types.ts │ ├── deps │ │ ├── d3-color │ │ │ └── src │ │ │ │ ├── color.js │ │ │ │ ├── cubehelix.js │ │ │ │ ├── define.js │ │ │ │ ├── index.js │ │ │ │ ├── lab.js │ │ │ │ └── math.js │ │ ├── d3-hierarchy │ │ │ └── src │ │ │ │ ├── accessors.js │ │ │ │ ├── array.js │ │ │ │ ├── cluster.js │ │ │ │ ├── constant.js │ │ │ │ ├── hierarchy │ │ │ │ ├── ancestors.js │ │ │ │ ├── count.js │ │ │ │ ├── descendants.js │ │ │ │ ├── each.js │ │ │ │ ├── eachAfter.js │ │ │ │ ├── eachBefore.js │ │ │ │ ├── find.js │ │ │ │ ├── index.js │ │ │ │ ├── iterator.js │ │ │ │ ├── leaves.js │ │ │ │ ├── links.js │ │ │ │ ├── path.js │ │ │ │ ├── sort.js │ │ │ │ └── sum.js │ │ │ │ ├── index.js │ │ │ │ ├── pack │ │ │ │ ├── enclose.js │ │ │ │ ├── index.js │ │ │ │ └── siblings.js │ │ │ │ ├── partition.js │ │ │ │ ├── stratify.js │ │ │ │ ├── tree.js │ │ │ │ └── treemap │ │ │ │ ├── binary.js │ │ │ │ ├── dice.js │ │ │ │ ├── index.js │ │ │ │ ├── resquarify.js │ │ │ │ ├── round.js │ │ │ │ ├── slice.js │ │ │ │ ├── sliceDice.js │ │ │ │ └── squarify.js │ │ ├── d3-interpolate │ │ │ └── src │ │ │ │ ├── array.js │ │ │ │ ├── basis.js │ │ │ │ ├── basisClosed.js │ │ │ │ ├── color.js │ │ │ │ ├── constant.js │ │ │ │ ├── cubehelix.js │ │ │ │ ├── date.js │ │ │ │ ├── discrete.js │ │ │ │ ├── hcl.js │ │ │ │ ├── hsl.js │ │ │ │ ├── hue.js │ │ │ │ ├── index.js │ │ │ │ ├── lab.js │ │ │ │ ├── number.js │ │ │ │ ├── numberArray.js │ │ │ │ ├── object.js │ │ │ │ ├── piecewise.js │ │ │ │ ├── quantize.js │ │ │ │ ├── rgb.js │ │ │ │ ├── round.js │ │ │ │ ├── string.js │ │ │ │ ├── transform │ │ │ │ ├── decompose.js │ │ │ │ ├── index.js │ │ │ │ └── parse.js │ │ │ │ ├── value.js │ │ │ │ └── zoom.js │ │ ├── f2-adjust │ │ │ └── src │ │ │ │ ├── adjusts │ │ │ │ ├── adjust.ts │ │ │ │ ├── dodge.ts │ │ │ │ ├── jitter.ts │ │ │ │ ├── stack.ts │ │ │ │ └── symmetric.ts │ │ │ │ ├── constant.ts │ │ │ │ ├── index.ts │ │ │ │ └── interface.ts │ │ ├── f2-scale │ │ │ └── src │ │ │ │ ├── base.ts │ │ │ │ ├── category │ │ │ │ ├── base.ts │ │ │ │ └── time.ts │ │ │ │ ├── continuous │ │ │ │ ├── base.ts │ │ │ │ ├── linear.ts │ │ │ │ ├── log.ts │ │ │ │ ├── pow.ts │ │ │ │ ├── quantile.ts │ │ │ │ ├── quantize.ts │ │ │ │ └── time.ts │ │ │ │ ├── factory.ts │ │ │ │ ├── identity │ │ │ │ └── index.ts │ │ │ │ ├── index.ts │ │ │ │ ├── tick-method │ │ │ │ ├── cat.ts │ │ │ │ ├── d3-linear.ts │ │ │ │ ├── index.ts │ │ │ │ ├── linear.ts │ │ │ │ ├── log.ts │ │ │ │ ├── pow.ts │ │ │ │ ├── quantile.ts │ │ │ │ ├── r-prettry.ts │ │ │ │ ├── register.ts │ │ │ │ ├── time-cat.ts │ │ │ │ ├── time-pretty.ts │ │ │ │ └── time.ts │ │ │ │ ├── types.ts │ │ │ │ └── util │ │ │ │ ├── bisector.ts │ │ │ │ ├── d3-linear.ts │ │ │ │ ├── extended.ts │ │ │ │ ├── interval.ts │ │ │ │ ├── math.ts │ │ │ │ ├── pretty-number.ts │ │ │ │ ├── pretty.ts │ │ │ │ ├── strict-limit.ts │ │ │ │ └── time.ts │ │ └── index.ts │ ├── index.ts │ ├── theme.ts │ └── util │ │ ├── coord.ts │ │ ├── index.ts │ │ └── vector.ts │ ├── test │ ├── attr │ │ ├── category.test.ts │ │ └── linear.test.ts │ ├── base │ │ └── component.test.tsx │ ├── canvas │ │ ├── __image_snapshots__ │ │ │ ├── animation-test-tsx-canvas-clip-function-1-snap.png │ │ │ ├── graphic-test-tsx-canvas-clip-custom-clip-1-snap.png │ │ │ ├── graphic-test-tsx-canvas-fragment-component-1-snap.png │ │ │ ├── graphic-test-tsx-canvas-fragment-function-1-snap.png │ │ │ ├── graphic-test-tsx-canvas-image-create-image-1-snap.png │ │ │ ├── graphic-test-tsx-canvas-image-image-1-snap.png │ │ │ ├── graphic-test-tsx-canvas-image-image-绘制层级-1-snap.png │ │ │ ├── graphic-test-tsx-canvas-rect-rect-1-snap.png │ │ │ └── graphic-test-tsx-canvas-图形绘制-1-snap.png │ │ ├── animation.test.tsx │ │ ├── graphic.test.tsx │ │ └── images │ │ │ └── bianzu.ts │ ├── chart │ │ ├── __image_snapshots__ │ │ │ ├── change-data-with-undefined-test-tsx-chart-chart-切换data为undefined-1-snap.png │ │ │ ├── fragment-test-tsx-fragment-fragment-1-snap.png │ │ │ ├── index-test-tsx-chart-chart-render-1-snap.png │ │ │ ├── index-test-tsx-chart-chart-render-2-snap.png │ │ │ ├── palyer-test-tsx-player-play-pause-1-snap.png │ │ │ ├── palyer-test-tsx-player-play-pause-2-snap.png │ │ │ └── stateless-test-tsx-stateless-stateless-component-1-snap.png │ │ ├── aria.test.tsx │ │ ├── changeDataWithUndefined.test.tsx │ │ ├── fragment.test.tsx │ │ ├── index.test.tsx │ │ ├── landscape.test.tsx │ │ ├── palyer.test.tsx │ │ ├── stateless.test.tsx │ │ └── svg.test.tsx │ ├── components │ │ ├── area │ │ │ ├── __image_snapshots__ │ │ │ │ ├── area-test-tsx-面积图-基础面积图-基础面积图-1-snap.png │ │ │ │ ├── area-test-tsx-面积图-基础面积图-带负值面积图-1-snap.png │ │ │ │ ├── area-test-tsx-面积图-基础面积图-带负值面积图-x基线不为-0-1-snap.png │ │ │ │ ├── area-test-tsx-面积图-基础面积图-渐变填充面积图-1-snap.png │ │ │ │ ├── area-test-tsx-面积图-层叠面积图-区域图-存在空值-1-snap.png │ │ │ │ ├── area-test-tsx-面积图-层叠面积图-层叠面积图-1-snap.png │ │ │ │ └── area-test-tsx-面积图-层叠面积图-百分比层叠面积图-1-snap.png │ │ │ └── area.test.tsx │ │ ├── axis │ │ │ ├── __image_snapshots__ │ │ │ │ ├── axis-test-tsx-axis-轴-grid回调-1-snap.png │ │ │ │ ├── axis-test-tsx-axis-轴-grid样式-1-snap.png │ │ │ │ ├── axis-test-tsx-axis-轴-label-回调-1-snap.png │ │ │ │ ├── axis-test-tsx-axis-轴-label-回调参数-1-snap.png │ │ │ │ ├── axis-test-tsx-axis-轴-传入-ticks-1-snap.png │ │ │ │ ├── axis-test-tsx-axis-轴-刻度线-1-snap.png │ │ │ │ ├── axis-test-tsx-axis-轴-定义宽高-1-snap.png │ │ │ │ ├── axis-test-tsx-axis-轴-弧形网格线-1-snap.png │ │ │ │ ├── axis-test-tsx-axis-轴-文本换行-1-snap.png │ │ │ │ ├── axis-test-tsx-axis-轴-旋转-1-snap.png │ │ │ │ └── axis-test-tsx-axis-轴-箭头样式-1-snap.png │ │ │ ├── axis.test.tsx │ │ │ └── data │ │ │ │ ├── bubble.json │ │ │ │ └── valuation.json │ │ ├── candlestick │ │ │ ├── __image_snapshots__ │ │ │ │ ├── basic-test-tsx-candlestick-basic-1-snap.png │ │ │ │ ├── basic-test-tsx-candlestick-color-1-snap.png │ │ │ │ ├── basic-test-tsx-candlestick-equal-data-1-snap.png │ │ │ │ ├── basic-test-tsx-candlestick-size-1-snap.png │ │ │ │ ├── basic-test-tsx-candlestick-size-ratio-1-snap.png │ │ │ │ ├── basic-test-tsx-candlestick-tooltip-1-snap.png │ │ │ │ ├── pan-test-tsx-candlestick-swipe-1-snap.png │ │ │ │ ├── pan-test-tsx-candlestick-swipe-2-snap.png │ │ │ │ ├── pan-test-tsx-candlestick-swipe-3-snap.png │ │ │ │ └── remove-scrollbar-test-tsx-candlestick-change-data-1-snap.png │ │ │ ├── basic.test.tsx │ │ │ ├── changeData.test.tsx │ │ │ ├── pan.test.tsx │ │ │ └── removeScrollbar.test.tsx │ │ ├── canvas │ │ │ ├── __image_snapshots__ │ │ │ │ ├── canvas-test-tsx-canvas-chart-resize-legend-1-snap.png │ │ │ │ └── canvas-test-tsx-canvas-chart-update-1-snap.png │ │ │ ├── canvas.test.tsx │ │ │ └── px2hd.test.tsx │ │ ├── gauge │ │ │ ├── __image_snapshots__ │ │ │ │ └── gauge-test-tsx-gauge-render-1-snap.png │ │ │ ├── gauge-view.test.tsx │ │ │ └── gauge.test.tsx │ │ ├── geometry │ │ │ ├── __image_snapshots__ │ │ │ │ ├── attr-test-tsx-geometry-attr-size-field-range-支持px-1-snap.png │ │ │ │ ├── attr-test-tsx-geometry-attr-size-支持-px-1-snap.png │ │ │ │ ├── empty-data-test-tsx-empty-data-data-array-is-empty-1-snap.png │ │ │ │ ├── get-snap-records-test-tsx-get-snap-records-x-时间转-linear-1-snap.png │ │ │ │ ├── index-test-tsx-geometry-geometry-update-1-snap.png │ │ │ │ ├── index-test-tsx-geometry-geometry-update-2-snap.png │ │ │ │ └── index-test-tsx-geometry-原始数据中有绘图属性-1-snap.png │ │ │ ├── adjust.test.tsx │ │ │ ├── attr.test.tsx │ │ │ ├── empty-data.test.tsx │ │ │ ├── getSnapRecords.test.tsx │ │ │ └── index.test.tsx │ │ ├── guide │ │ │ ├── __image_snapshots__ │ │ │ │ ├── guide-test-tsx-guide-guide-超出范围-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-image-guide支持px传入-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-image-text-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-line-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-point-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-rect-guide-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-text-guide-动画-支持callback配置-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-使用min、max、median-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-使用百分比字符串代表位置-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-自定义-guide-z-index-1-snap.png │ │ │ │ ├── guide-test-tsx-guide-自定义-guide-z-index-2-snap.png │ │ │ │ ├── polyline-test-tsx-polyline-guide-default-1-snap.png │ │ │ │ ├── polyline-test-tsx-polyline-guide-offset-1-snap.png │ │ │ │ ├── precise-guide-test-tsx-precise-分组柱状图-1-snap.png │ │ │ │ ├── type-test-tsx-guide-line-guide-in-category-1-snap.png │ │ │ │ ├── type-test-tsx-guide-tag-guide-1-snap.png │ │ │ │ ├── type-test-tsx-guide-tag-guide-update-1-snap.png │ │ │ │ ├── type-test-tsx-guide-tag-guide-update-2-snap.png │ │ │ │ └── type-test-tsx-guide-tag-guide不同方向-1-snap.png │ │ │ ├── guide.test.tsx │ │ │ ├── images │ │ │ │ └── bianzu.ts │ │ │ ├── polyline.test.tsx │ │ │ ├── preciseGuide.test.tsx │ │ │ └── type.test.tsx │ │ ├── index.test.tsx │ │ ├── interaction │ │ │ ├── __image_snapshots__ │ │ │ │ ├── dodge-pan-test-tsx-dodge-pan-init-1-snap.png │ │ │ │ ├── dodge-pan-test-tsx-dodge-pan-pan-1-snap.png │ │ │ │ ├── mul-interaction-test-tsx-多交互-zoom-tooltip-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-cate类型-pan-事件-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-cate类型-初始状态-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-cate类型-多次缩小-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-cate类型-多次缩小-2-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-cate类型-放大-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-dodge-类型-pan-事件-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-dodge-类型-初始化-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-linear-类型-pan-事件-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-linear-类型-初始化-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-linear-类型-多次缩小-1-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-linear-类型-多次缩小-2-snap.png │ │ │ │ ├── pan-test-tsx-平移和缩放-平移和缩放-linear-类型-放大-1-snap.png │ │ │ │ ├── roam-test-tsx-全局漫游模式-swip-初始化-1-snap.png │ │ │ │ ├── roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-初始化-1-snap.png │ │ │ │ ├── roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-多次缩小-1-snap.png │ │ │ │ ├── roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-多次缩小-2-snap.png │ │ │ │ ├── roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-斜移-1-snap.png │ │ │ │ ├── roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-初始化-1-snap.png │ │ │ │ ├── roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-多次缩小-1-snap.png │ │ │ │ ├── roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-多次缩小-2-snap.png │ │ │ │ └── roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-斜移-1-snap.png │ │ │ ├── data │ │ │ │ └── pan.ts │ │ │ ├── dodge-pan.test.tsx │ │ │ ├── mulInteraction.test.tsx │ │ │ ├── pan.test.tsx │ │ │ └── roam.test.tsx │ │ ├── interval │ │ │ ├── __image_snapshots__ │ │ │ │ ├── example-test-tsx-柱图示例-区间柱状图-1-snap.png │ │ │ │ ├── example-test-tsx-柱图示例-基础柱状图-1-snap.png │ │ │ │ ├── example-test-tsx-柱图示例-渐变色柱状图-1-snap.png │ │ │ │ ├── example-test-tsx-柱图示例-纹理柱状图-1-snap.png │ │ │ │ ├── interval-test-tsx-interval-render-1-snap.png │ │ │ │ ├── interval-test-tsx-interval-start-on-zero-1-snap.png │ │ │ │ ├── rect-stack-test-tsx-图例-饼图图例-1-snap.png │ │ │ │ ├── selected-test-tsx-cancelable-false-饼图空白区域点击-1-snap.png │ │ │ │ ├── selected-test-tsx-改变默认值-改变默认值-1-snap.png │ │ │ │ ├── selected-test-tsx-改变默认值-改变默认值-2-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-press-事件-1-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-style-为函数-1-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-style-为函数-2-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-style-为函数-3-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-单选-1-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-单选-2-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-单选-3-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-单选-不可取消-1-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-单选-不可取消-2-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-单选-不可取消-3-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-多选-1-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-多选-2-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-柱图-多选-3-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-饼图-1-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-饼图-2-snap.png │ │ │ │ ├── selected-test-tsx-数据选中-饼图-3-snap.png │ │ │ │ ├── size-zoom-test-tsx-显示比例-size-zoom-回调-1-snap.png │ │ │ │ └── size-zoom-test-tsx-显示比例-固定-size-zoom-1-snap.png │ │ │ ├── example.test.tsx │ │ │ ├── example │ │ │ │ ├── __image_snapshots__ │ │ │ │ │ ├── bar-test-tsx-条形图-分组条形图-1-snap.png │ │ │ │ │ ├── bar-test-tsx-条形图-基础条形图-1-snap.png │ │ │ │ │ ├── bar-test-tsx-条形图-基础条形图-转置-设置固定size-1-snap.png │ │ │ │ │ ├── bar-test-tsx-条形图-堆叠条形图-1-snap.png │ │ │ │ │ ├── bar-test-tsx-条形图-堆叠条形图-type-stack-1-snap.png │ │ │ │ │ ├── column-test-tsx-柱状图示例-分组柱图-1-snap.png │ │ │ │ │ ├── column-test-tsx-柱状图示例-区间柱状图-1-snap.png │ │ │ │ │ ├── column-test-tsx-柱状图示例-南丁格尔玫瑰图-1-snap.png │ │ │ │ │ ├── column-test-tsx-柱状图示例-基础柱状图-1-snap.png │ │ │ │ │ ├── column-test-tsx-柱状图示例-堆叠柱图-max-1-snap.png │ │ │ │ │ ├── column-test-tsx-柱状图示例-层叠柱图-1-snap.png │ │ │ │ │ ├── column-test-tsx-柱状图示例-带负值的分组分组柱图-1-snap.png │ │ │ │ │ ├── column-test-tsx-柱状图示例-渐变色柱状图-1-snap.png │ │ │ │ │ ├── column-test-tsx-柱状图示例-百分比层叠柱图-1-snap.png │ │ │ │ │ ├── doughnut-test-tsx-环形图-基础环形图-1-snap.png │ │ │ │ │ ├── doughnut-test-tsx-环形图-基础环形图-数值的和刚好等于nice处理后的最后一个tick值-1-snap.png │ │ │ │ │ ├── doughnut-test-tsx-环形图-嵌套环形图-1-snap.png │ │ │ │ │ ├── doughnut-test-tsx-环形图-玫瑰环形图-1-snap.png │ │ │ │ │ ├── doughnut-test-tsx-环形图-玫瑰环形图-2-snap.png │ │ │ │ │ ├── doughnut-test-tsx-环形图-环形进度条-1-snap.png │ │ │ │ │ ├── funnel-test-tsx-漏斗图-倒置漏斗图-1-snap.png │ │ │ │ │ ├── funnel-test-tsx-漏斗图-基础漏斗图-1-snap.png │ │ │ │ │ ├── pie-test-tsx-饼图-圆角圆环图-1-snap.png │ │ │ │ │ ├── pie-test-tsx-饼图-基础饼图-1-snap.png │ │ │ │ │ ├── pie-test-tsx-饼图-饼图-交互式label-1-snap.png │ │ │ │ │ ├── pyramid-test-tsx-金字塔图-倒置金字塔-1-snap.png │ │ │ │ │ └── pyramid-test-tsx-金字塔图-基础金字塔图-1-snap.png │ │ │ │ ├── bar.test.tsx │ │ │ │ ├── column.test.tsx │ │ │ │ ├── doughnut.test.tsx │ │ │ │ ├── funnel.test.tsx │ │ │ │ ├── pie.test.tsx │ │ │ │ └── pyramid.test.tsx │ │ │ ├── images │ │ │ │ └── pattern.ts │ │ │ ├── interval.test.tsx │ │ │ ├── rect-stack.test.tsx │ │ │ ├── selected.test.tsx │ │ │ └── sizeZoom.test.tsx │ │ ├── legend │ │ │ ├── __image_snapshots__ │ │ │ │ ├── interval-test-tsx-interval-legend-点击-1-snap.png │ │ │ │ ├── interval-test-tsx-interval-legend-点击-2-snap.png │ │ │ │ ├── interval-test-tsx-interval-legend-点击-3-snap.png │ │ │ │ ├── interval-test-tsx-interval-legend-点击-4-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例-marker-颜色取实际渲染颜色-默认-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例-传入-item-formatter-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例-传入-value-prefix-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例-传入-自定义items-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例-传入-自定义items-value-prefix-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例数据更新-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例数据更新-2-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-marker-line-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-position-bottom-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-position-left-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-position-right-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-多行-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-自定义-items-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-自定义-items-marker-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-自定义样式-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-设置-item-style-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-设置-name-style-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-图例样式-默认-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-点击交互-不可点击-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-点击交互-不可点击-2-snap.png │ │ │ │ ├── legend-test-tsx-图例-点击交互-可点击-1-snap.png │ │ │ │ ├── legend-test-tsx-图例-点击交互-可点击-2-snap.png │ │ │ │ ├── pie-test-tsx-图例-position-饼图图例-bottom-1-snap.png │ │ │ │ ├── pie-test-tsx-图例-position-饼图图例-left-1-snap.png │ │ │ │ ├── pie-test-tsx-图例-position-饼图图例-right-1-snap.png │ │ │ │ ├── pie-test-tsx-图例-position-饼图图例-top-1-snap.png │ │ │ │ ├── pie-test-tsx-图例-position-饼图图例-top-2-snap.png │ │ │ │ └── pie-test-tsx-图例-position-饼图图例-top-3-snap.png │ │ │ ├── custom.test.tsx │ │ │ ├── interval.test.tsx │ │ │ ├── legend.test.tsx │ │ │ └── pie.test.tsx │ │ ├── line │ │ │ ├── __image_snapshots__ │ │ │ │ ├── line-test-tsx-折线图-y-是-array-y-轴为数组-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-y-是-array-堆叠折线-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-其他折线图-y轴数据格式转换(刻度值较大的情形)-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-其他折线图-存在空值-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-其他折线图-指定线宽-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-其他折线图-按条件判断隐藏-x-坐标轴-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-其他折线图-连接空值数据-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-基础折线图-基础折线图-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-基础折线图-带点-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-基础折线图-曲线-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-基础折线图-特殊数据折线图-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-基础折线图-阶梯图-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-对比折线图-style支持传入函数-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-对比折线图-折线锚点-1-snap.png │ │ │ │ ├── line-test-tsx-折线图-对比折线图-虚实线对比-1-snap.png │ │ │ │ ├── radar-test-tsx-雷达图-面积雷达图-雷达图-grid-为-line-1-snap.png │ │ │ │ ├── radar-test-tsx-雷达图-面积雷达图-雷达图-label-为-null-1-snap.png │ │ │ │ ├── radar-test-tsx-雷达图-面积雷达图-雷达图交互:选中维度的-snap-点设置不同色-1-snap.png │ │ │ │ ├── radar-test-tsx-雷达图-面积雷达图-雷达图展示-tooltip-1-snap.png │ │ │ │ ├── radar-test-tsx-雷达图-面积雷达图-雷达图展示-数据为-0-时-1-snap.png │ │ │ │ ├── radar-test-tsx-雷达图-面积雷达图-雷达图展示辅助线-1-snap.png │ │ │ │ ├── radar-test-tsx-雷达图-面积雷达图-面积雷达图图-1-snap.png │ │ │ │ ├── size-zoom-test-tsx-显示比例-size-zoom-回调-1-snap.png │ │ │ │ └── size-zoom-test-tsx-显示比例-固定-size-zoom-1-snap.png │ │ │ ├── empty-data.test.tsx │ │ │ ├── line.test.tsx │ │ │ ├── radar.test.tsx │ │ │ └── sizeZoom.test.tsx │ │ ├── pictorial │ │ │ ├── __image_snapshots__ │ │ │ │ ├── basic-test-tsx-pictorial-ellipse-symbol-1-snap.png │ │ │ │ └── basic-test-tsx-pictorial-image-symbol-1-snap.png │ │ │ └── basic.test.tsx │ │ ├── pieLabel │ │ │ ├── __image_snapshots__ │ │ │ │ ├── pie-label-test-tsx-pie-label-右边超过最大显示个数,第一象限显示在第四象限-1-snap.png │ │ │ │ ├── pie-label-test-tsx-pie-label-右边超过最大显示个数,第二象限显示在第三象限-1-snap.png │ │ │ │ ├── pie-label-test-tsx-pie-label-左边超过最大显示个数,第三象限显示在第二象限-1-snap.png │ │ │ │ ├── pie-label-test-tsx-pie-label-左边超过最大显示个数,第四象限显示在第一象限-1-snap.png │ │ │ │ └── pie-label-test-tsx-pie-label-默认显示-1-snap.png │ │ │ └── pieLabel.test.tsx │ │ ├── point │ │ │ ├── __image_snapshots__ │ │ │ │ ├── point-test-tsx-point-chart-基础点图-1-snap.png │ │ │ │ ├── point-test-tsx-point-chart-基础点图-极坐标-1-snap.png │ │ │ │ ├── point-test-tsx-point-chart-折线图带点-1-snap.png │ │ │ │ ├── point-test-tsx-point-chart-气泡图-配置size入参-1-snap.png │ │ │ │ ├── shape-test-tsx-shape-类型-default-1-snap.png │ │ │ │ ├── shape-test-tsx-shape-类型-hollow-circle-1-snap.png │ │ │ │ └── shape-test-tsx-shape-类型-rect-1-snap.png │ │ │ ├── point.test.tsx │ │ │ └── shape.test.tsx │ │ ├── sunburst │ │ │ ├── __image_snapshots__ │ │ │ │ └── index-test-tsx-sunburst-render-1-snap.png │ │ │ ├── data.ts │ │ │ └── index.test.tsx │ │ ├── tooltip │ │ │ ├── __image_snapshots__ │ │ │ │ ├── alias-test-tsx-alias-别名-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-render-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-x-tip-y-tip相关配置-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-右边届-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-自动换行-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-自动换行-2-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-自定义文本内容-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-超出边界会展示边界值-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-默认展示-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-默认展示-tooltip-在-geometry-之前-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-默认展示更新-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-tooltip-默认展示更新(新增图形元素导致的坐标变动)-1-snap.png │ │ │ │ ├── tooltip-test-tsx-tooltip-分组柱状图-tooltip-1-snap.png │ │ │ │ └── tooltip-test-tsx-tooltip-分组柱状图-tooltip-transposed-1-snap.png │ │ │ ├── alias.test.tsx │ │ │ └── tooltip.test.tsx │ │ └── treemap │ │ │ ├── __image_snapshots__ │ │ │ ├── index-test-tsx-treemap-render-1-snap.png │ │ │ ├── index-test-tsx-treemap-select-1-snap.png │ │ │ ├── index-test-tsx-treemap-select-2-snap.png │ │ │ ├── index-test-tsx-treemap-select-trigger-on-1-snap.png │ │ │ ├── index-test-tsx-treemap-select-trigger-on-2-snap.png │ │ │ ├── index-test-tsx-treemap-space-1-snap.png │ │ │ ├── index-test-tsx-treemap-反选-1-snap.png │ │ │ ├── index-test-tsx-treemap-反选-2-snap.png │ │ │ ├── index-test-tsx-treemap-取消反选-1-snap.png │ │ │ ├── index-test-tsx-treemap-取消反选-2-snap.png │ │ │ ├── index-test-tsx-treemap-多选-1-snap.png │ │ │ └── index-test-tsx-treemap-多选-2-snap.png │ │ │ └── index.test.tsx │ ├── controller │ │ └── linear-tick.test.ts │ ├── index.test.ts │ ├── issues │ │ ├── 1835.test.tsx │ │ ├── 1867.test.tsx │ │ └── __image_snapshots__ │ │ │ ├── 1835-test-tsx-曲线-smooth-曲线-smooth-1-snap.png │ │ │ └── 1867-test-tsx-x-轴字段不存在-x-轴字段不存在-1-snap.png │ ├── timeline │ │ ├── __image_snapshots__ │ │ │ ├── line-race-test-tsx-chart-chart-render-1-snap.png │ │ │ └── radar-change-test-tsx-雷达图-面积雷达图图-1-snap.png │ │ ├── china-gdp.test.tsx │ │ ├── data │ │ │ ├── bubble-gradient.json │ │ │ ├── china-gdp.json │ │ │ ├── dynamic-bubble.json │ │ │ ├── emoji.json │ │ │ ├── line-race.json │ │ │ └── race-country.json │ │ ├── dynamic-bubble.test.tsx │ │ ├── fragment.test.tsx │ │ ├── index.test.tsx │ │ ├── interval-adjust.test.tsx │ │ ├── interval-treemap.test.tsx │ │ ├── interval.test.tsx │ │ ├── line-race.test.tsx │ │ ├── race-country.test.tsx │ │ └── radar-change.test.tsx │ └── util.ts │ ├── tsconfig.json │ └── typing.d.ts ├── pnpm-workspace.yaml ├── site ├── .dumi │ ├── components │ │ ├── FirstRender.tsx │ │ ├── MultiRender.tsx │ │ ├── Pan.tsx │ │ ├── Pinch.tsx │ │ ├── Tooltip.tsx │ │ └── data.json │ ├── global.ts │ ├── pages │ │ └── benchmark │ │ │ ├── 4 │ │ │ ├── first_render.tsx │ │ │ ├── index.tsx │ │ │ ├── multi_render.tsx │ │ │ ├── pan.tsx │ │ │ ├── pinch.tsx │ │ │ └── tooltip.tsx │ │ │ ├── 5-0_bug │ │ │ ├── first_render.tsx │ │ │ ├── multi_render.tsx │ │ │ ├── pan.tsx │ │ │ ├── pinch.tsx │ │ │ └── tooltip.tsx │ │ │ ├── 5_0_21 │ │ │ ├── first_render.tsx │ │ │ ├── multi_render.tsx │ │ │ ├── pan.tsx │ │ │ ├── pinch.tsx │ │ │ └── tooltip.tsx │ │ │ ├── 5_0_29 │ │ │ ├── first_render.tsx │ │ │ ├── multi_render.tsx │ │ │ ├── pan.tsx │ │ │ ├── pinch.tsx │ │ │ └── tooltip.tsx │ │ │ ├── 5_0_pendding │ │ │ ├── first_render.tsx │ │ │ ├── multi_render.tsx │ │ │ ├── pan.tsx │ │ │ ├── pinch.tsx │ │ │ └── tooltip.tsx │ │ │ ├── data.json │ │ │ ├── index.less │ │ │ ├── index.tsx │ │ │ └── result.json │ ├── statics │ │ ├── f2_5-0_bug.js │ │ ├── f2_5_0_21.js │ │ ├── f2_5_0_29.js │ │ ├── f2_5_0_pendding.assign.js │ │ ├── f2_5_0_pendding.js │ │ └── f2_v4.js │ ├── tsconfig.json │ └── utils.ts ├── .dumirc.ts ├── .eslintrc ├── .gitignore ├── .npmignore ├── LICENSE ├── api-extractor.json ├── docs │ ├── api │ │ ├── canvas.zh.md │ │ ├── chart │ │ │ ├── area.zh.md │ │ │ ├── axis.zh.md │ │ │ ├── candlestick.zh.md │ │ │ ├── chart.zh.md │ │ │ ├── geometry.zh.md │ │ │ ├── guide.zh.md │ │ │ ├── interval.zh.md │ │ │ ├── legend.zh.md │ │ │ ├── line.zh.md │ │ │ ├── point.zh.md │ │ │ ├── scroll-bar.zh.md │ │ │ └── tooltip.zh.md │ │ ├── component.zh.md │ │ ├── f2.en.md │ │ ├── f2.zh.md │ │ └── timeline.zh.md │ └── tutorial │ │ ├── advanced │ │ └── custom-view.md │ │ ├── animation.zh.md │ │ ├── component.zh.md │ │ ├── coordinate.en.md │ │ ├── coordinate.zh.md │ │ ├── data.en.md │ │ ├── data.zh.md │ │ ├── event.zh.md │ │ ├── framework │ │ ├── jsx-transform.zh.md │ │ ├── miniprogram.en.md │ │ ├── miniprogram.zh.md │ │ ├── nodejs.zh.md │ │ ├── overview.zh.md │ │ ├── react.zh.md │ │ ├── svg-renderer.zh.md │ │ └── vue.zh.md │ │ ├── getting-started.en.md │ │ ├── getting-started.zh.md │ │ ├── grammar.en.md │ │ ├── grammar.zh.md │ │ ├── graphic.zh.md │ │ ├── question │ │ └── with-react-typescript.zh.md │ │ ├── scale.en.md │ │ ├── scale.zh.md │ │ ├── shape-attrs.zh.md │ │ ├── shape.zh.md │ │ ├── understanding.en.md │ │ └── understanding.zh.md ├── examples │ ├── area │ │ ├── area │ │ │ ├── demo │ │ │ │ ├── area.jsx │ │ │ │ ├── gradient.jsx │ │ │ │ ├── meta.json │ │ │ │ ├── with-negative-not-start-on-zero.jsx │ │ │ │ └── with-negative.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ └── stacked │ │ │ ├── demo │ │ │ ├── area-none.jsx │ │ │ ├── meta.json │ │ │ ├── percent.jsx │ │ │ └── stacked.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── bar │ │ ├── bar │ │ │ ├── demo │ │ │ │ ├── bar.jsx │ │ │ │ ├── meta.json │ │ │ │ └── range.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ ├── dodge │ │ │ ├── demo │ │ │ │ ├── dodge.jsx │ │ │ │ ├── meta.json │ │ │ │ └── negetive.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ └── stack │ │ │ ├── demo │ │ │ ├── meta.json │ │ │ ├── percent.jsx │ │ │ └── stack.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── basic │ │ ├── demo │ │ │ ├── base.jsx │ │ │ └── meta.json │ │ ├── index.en.md │ │ └── index.zh.md │ ├── candlestick │ │ └── candlestick │ │ │ ├── demo │ │ │ ├── base.jsx │ │ │ └── meta.json │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── column │ │ ├── column │ │ │ ├── demo │ │ │ │ ├── column.jsx │ │ │ │ ├── gradient.jsx │ │ │ │ ├── meta.json │ │ │ │ ├── pan.jsx │ │ │ │ ├── pattern.jsx │ │ │ │ ├── pictorial.jsx │ │ │ │ ├── ranged.jsx │ │ │ │ └── selection.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ ├── dodge │ │ │ ├── demo │ │ │ │ ├── dodge.jsx │ │ │ │ ├── meta.json │ │ │ │ └── negetive.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ └── stack │ │ │ ├── demo │ │ │ ├── meta.json │ │ │ ├── percent.jsx │ │ │ └── stack.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── component │ │ ├── guide │ │ │ ├── demo │ │ │ │ ├── custom.jsx │ │ │ │ ├── image.jsx │ │ │ │ ├── line.jsx │ │ │ │ ├── linestep.jsx │ │ │ │ ├── lottie.jsx │ │ │ │ ├── meta.json │ │ │ │ ├── point.jsx │ │ │ │ └── text.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ ├── legend │ │ │ ├── demo │ │ │ │ ├── custom.jsx │ │ │ │ └── meta.json │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ └── shape │ │ │ ├── demo │ │ │ ├── event.jsx │ │ │ ├── meta.json │ │ │ └── shape.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── creative │ │ ├── case │ │ │ ├── demo │ │ │ │ ├── apple-watch.jsx │ │ │ │ ├── interval-timeline.jsx │ │ │ │ ├── landscape.jsx │ │ │ │ ├── line-race.jsx │ │ │ │ ├── meta.json │ │ │ │ ├── pie-timeline.jsx │ │ │ │ ├── player.jsx │ │ │ │ ├── race-country.jsx │ │ │ │ ├── radar.jsx │ │ │ │ └── timeline.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ └── plugin │ │ │ ├── demo │ │ │ ├── meta.json │ │ │ └── rough.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── data │ │ ├── 1d-k.json │ │ ├── area-none.json │ │ ├── bubble.json │ │ ├── candle-sticks.json │ │ ├── center-legend.json │ │ ├── guide-line.json │ │ ├── hour-k.json │ │ ├── income.json │ │ ├── line-race.json │ │ ├── linear-pan.json │ │ ├── polar-heatmap.json │ │ ├── race-country.json │ │ ├── scatter.json │ │ ├── series-line.json │ │ ├── steps.json │ │ ├── usa-medals-won.json │ │ ├── valuation.json │ │ └── world-population.json │ ├── funnel │ │ ├── funnel │ │ │ ├── demo │ │ │ │ ├── funnel.jsx │ │ │ │ ├── meta.json │ │ │ │ └── stroke.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ └── pyramid │ │ │ ├── demo │ │ │ ├── meta.json │ │ │ ├── pyramid.jsx │ │ │ ├── scale.jsx │ │ │ └── stroke.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── line │ │ ├── dynamic │ │ │ ├── demo │ │ │ │ ├── dynamic.jsx │ │ │ │ ├── gold.jsx │ │ │ │ └── meta.json │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ ├── line │ │ │ ├── demo │ │ │ │ ├── line.jsx │ │ │ │ ├── meta.json │ │ │ │ ├── pan.jsx │ │ │ │ ├── smooth.jsx │ │ │ │ ├── step.jsx │ │ │ │ └── with-point.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ ├── multiple │ │ │ ├── demo │ │ │ │ ├── customize-tootlip.jsx │ │ │ │ ├── meta.json │ │ │ │ ├── series.jsx │ │ │ │ └── shapes.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ └── other │ │ │ ├── demo │ │ │ ├── connect-null.jsx │ │ │ ├── meta.json │ │ │ └── null.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── other │ │ └── area │ │ │ ├── demo │ │ │ ├── custom-gauge.jsx │ │ │ ├── gauge.jsx │ │ │ └── meta.json │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── pie │ │ ├── donut │ │ │ ├── demo │ │ │ │ ├── cascade.jsx │ │ │ │ ├── donut-radius.jsx │ │ │ │ ├── donut.jsx │ │ │ │ ├── double-donut.jsx │ │ │ │ ├── meta.json │ │ │ │ └── progress-bar.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ ├── pie │ │ │ ├── demo │ │ │ │ ├── labelline-pie.jsx │ │ │ │ ├── meta.json │ │ │ │ ├── pie-with-label.jsx │ │ │ │ ├── pie.jsx │ │ │ │ └── selection.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ │ └── rose │ │ │ ├── demo │ │ │ ├── meta.json │ │ │ └── rose.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── point │ │ └── scatter │ │ │ ├── demo │ │ │ ├── bubble.jsx │ │ │ ├── meta.json │ │ │ ├── ordered-bubble.jsx │ │ │ ├── roam.jsx │ │ │ └── scatter.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ ├── radar │ │ └── radar │ │ │ ├── demo │ │ │ ├── area.jsx │ │ │ ├── meta.json │ │ │ ├── radar-fill.jsx │ │ │ ├── radar-grid.jsx │ │ │ └── radar.jsx │ │ │ ├── index.en.md │ │ │ └── index.zh.md │ └── relation │ │ ├── flamegraph │ │ ├── demo │ │ │ ├── flamegraph.jsx │ │ │ └── meta.json │ │ ├── index.en.md │ │ └── index.zh.md │ │ ├── sunburst │ │ ├── demo │ │ │ ├── meta.json │ │ │ └── sunburst.jsx │ │ ├── index.en.md │ │ └── index.zh.md │ │ └── treemap │ │ ├── demo │ │ ├── meta.json │ │ └── treemap.jsx │ │ ├── index.en.md │ │ └── index.zh.md ├── mako.config.json ├── package.json ├── site │ └── global.less ├── src │ ├── f2-react.ts │ └── f2.ts └── tsconfig.json ├── tsconfig.json └── typings.d.ts /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false 14 | 15 | [Makefile] 16 | indent_style = tab 17 | indent_size = 1 18 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | build/ 2 | coverage/ 3 | demos/assets/ 4 | dist/ 5 | lib/ 6 | es/ 7 | mocks/ 8 | node_modules/ 9 | miniprogram_npm/ 10 | demos/assets/ 11 | lib/ 12 | demos/index.html 13 | site/ 14 | docs/ 15 | public 16 | types/ 17 | types-test/ 18 | **/deps/**/*.js 19 | **/*.test.ts 20 | **/*.test.tsx 21 | **/*.test.js 22 | -------------------------------------------------------------------------------- /.fatherrc.js: -------------------------------------------------------------------------------- 1 | export default { 2 | cjs: { 3 | type: 'babel', 4 | }, 5 | esm: { 6 | type: 'babel', 7 | }, 8 | runtimeHelpers: true, 9 | lessInBabelMode: true, 10 | cssModules: true, 11 | pkgs: ['f2', 'f2-react', 'f2-wordcloud', 'f2-algorithm'], 12 | }; 13 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | contact_links: 3 | - name: Create new issue 4 | url: https://new-issue.antv.vision/ 5 | about: The issue which is not created via https://new-issue.antv.vision/ will be closed immediately. 6 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 10 | 11 | ##### Checklist 12 | 13 | 14 | - [ ] `npm test` passes 15 | - [ ] tests and/or benchmarks are included 16 | - [ ] commit message follows commit guidelines 17 | 18 | ##### Description of change 19 | 20 | -------------------------------------------------------------------------------- /.github/workflows/gitleaks.yml: -------------------------------------------------------------------------------- 1 | name: gitleaks 2 | 3 | on: [push,pull_request] 4 | 5 | jobs: 6 | gitleaks: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - uses: actions/checkout@v1 10 | - name: wget 11 | uses: wei/wget@v1 12 | with: 13 | args: -O .gitleaks.toml https://raw.githubusercontent.com/ycjcl868/gitleaks/master/.gitleaks.toml 14 | - name: gitleaks-action 15 | uses: gitleaks/gitleaks-action@v1.6.0 16 | -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- 1 | # 详细配置请移步:https://prettier.io/docs/en/configuration.html 2 | --- 3 | trailingComma: es5 4 | singleQuote: true 5 | proseWrap: never 6 | endOfLine: lf 7 | printWidth: 100 8 | tabWidth: 2 9 | useTabs: false 10 | semi: true 11 | bracketSpacing: true 12 | jsxBracketSameLine: false 13 | arrowParens: 'always' 14 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - "12" 5 | 6 | env: 7 | matrix: 8 | - TEST_TYPE=ci 9 | 10 | addons: 11 | apt: 12 | packages: 13 | - xvfb 14 | 15 | install: 16 | - export DISPLAY=':99.0' 17 | - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & 18 | - npm install 19 | 20 | script: 21 | - | 22 | if [ "$TEST_TYPE" = ci ]; then 23 | npm run ci 24 | fi 25 | 26 | dist: trusty -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- 1 | { 2 | "npmClient": "yarn", 3 | "packages": [ 4 | "packages/*" 5 | ], 6 | "version": "5.8.0", 7 | "command": { 8 | "bootstrap": { 9 | "ci": false, 10 | "npmClientArgs": [ 11 | "--no-package-lock" 12 | ] 13 | }, 14 | "publish": { 15 | "commitHooks": false, 16 | "conventionalCommits": true, 17 | "message": "🤖 publish", 18 | "exact": true 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /packages/f2-algorithm/README.md: -------------------------------------------------------------------------------- 1 | F2 的 算法库 2 | 3 | 常用算法扩展包 4 | 5 | ## Usage 6 | 7 | ```jsx 8 | import dataSample from '@antv/f2-algorithm'; 9 | 10 | const sampleData = dataSample({ 11 | data, 12 | sampling: 'nearest', 13 | rate: 7, 14 | }); 15 | 16 | 17 | 18 | 19 | 20 | ; 21 | ``` 22 | -------------------------------------------------------------------------------- /packages/f2-algorithm/src/index.ts: -------------------------------------------------------------------------------- 1 | import lttbDownSample from './lttbDownSample'; 2 | import rateDownSample from './rateDownSample'; 3 | 4 | export { lttbDownSample, rateDownSample }; 5 | -------------------------------------------------------------------------------- /packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-lttb-sample-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-lttb-sample-1-snap.png -------------------------------------------------------------------------------- /packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-nearest-sample-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-nearest-sample-1-snap.png -------------------------------------------------------------------------------- /packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-origin-data-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-origin-data-1-snap.png -------------------------------------------------------------------------------- /packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-rate-小于-data个数-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-rate-小于-data个数-1-snap.png -------------------------------------------------------------------------------- /packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-rate-小于可抽个数-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2-algorithm/test/__image_snapshots__/sample-test-tsx-sample-rate-小于可抽个数-1-snap.png -------------------------------------------------------------------------------- /packages/f2-algorithm/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/f2-my/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | All notable changes to this project will be documented in this file. 4 | See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. 5 | 6 | ## 5.0.32 (2023-09-07) 7 | 8 | **Note:** Version bump only for package @antv/f2-my 9 | 10 | 11 | 12 | 13 | 14 | ## [5.0.31](https://github.com/antvis/f2/compare/v5.0.30...v5.0.31) (2023-09-05) 15 | 16 | **Note:** Version bump only for package @antv/f2-my 17 | 18 | 19 | 20 | 21 | 22 | ## 5.0.30 (2023-08-28) 23 | 24 | **Note:** Version bump only for package @antv/f2-my 25 | -------------------------------------------------------------------------------- /packages/f2-my/examples/test/.mini-ide/project-ide.json: -------------------------------------------------------------------------------- 1 | { 2 | "enableLegacyRemoteDebug": false 3 | } -------------------------------------------------------------------------------- /packages/f2-my/examples/test/app.acss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #f7f7f7; 3 | } 4 | -------------------------------------------------------------------------------- /packages/f2-my/examples/test/app.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | App({ 3 | onLaunch(_options) { 4 | // 第一次打开 5 | // options.query == {number:1} 6 | console.info('App onLaunch'); 7 | }, 8 | onShow(_options) { 9 | // 从后台被 scheme 重新打开 10 | // options.query == {number:1} 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /packages/f2-my/examples/test/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ 3 | "pages/index/index" 4 | ], 5 | "window": { 6 | "defaultTitle": "My App" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/f2-my/examples/test/babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": [ 3 | [ 4 | "@babel/plugin-transform-react-jsx", 5 | { 6 | "runtime": "automatic", 7 | "importSource": "@antv/f2" 8 | } 9 | ] 10 | ] 11 | } -------------------------------------------------------------------------------- /packages/f2-my/examples/test/mini.project.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "beforeCompile": "npm run beforeCompile" 4 | }, 5 | "enableNodeModuleBabelTransform": true, 6 | "component2": true, 7 | "enableAppxNg": true 8 | } -------------------------------------------------------------------------------- /packages/f2-my/examples/test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "beforeCompile": "babel pages --out-dir pages --only **/*.jsx" 4 | }, 5 | "dependencies": { 6 | "@antv/f2": "^5.0.0", 7 | "@antv/f-my": "^1.0.0", 8 | "@babel/cli": "^7.16.0", 9 | "@babel/core": "^7.16.0", 10 | "@babel/plugin-transform-react-jsx": "^7.16.0" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/f2-my/examples/test/pages/index/chart.jsx: -------------------------------------------------------------------------------- 1 | import { Chart, Interval, Axis, Legend, Tooltip } from '@antv/f2'; 2 | 3 | export default (props) => { 4 | const { data } = props; 5 | return ( 6 | 7 | 8 | 9 | 22 | 23 | 24 | 25 | ); 26 | }; 27 | -------------------------------------------------------------------------------- /packages/f2-my/examples/test/pages/index/index.acss: -------------------------------------------------------------------------------- 1 | /* required by usingComponents */ 2 | .container { 3 | width: 100%; 4 | height: 600rpx; 5 | } 6 | -------------------------------------------------------------------------------- /packages/f2-my/examples/test/pages/index/index.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /packages/f2-my/examples/test/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "f-canvas": "@antv/f-my" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/f2-my/examples/test/snapshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2-my/examples/test/snapshot.png -------------------------------------------------------------------------------- /packages/f2-my/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@antv/f2-my", 3 | "private": true, 4 | "version": "5.0.32", 5 | "homepage": "https://github.com/antvis/f2", 6 | "bugs": { 7 | "url": "https://github.com/antvis/f2/issues" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/antvis/f2" 12 | }, 13 | "author": "https://github.com/orgs/antvis/people" 14 | } 15 | -------------------------------------------------------------------------------- /packages/f2-node/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | All notable changes to this project will be documented in this file. 4 | See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. 5 | 6 | ## 5.0.32 (2023-09-07) 7 | 8 | **Note:** Version bump only for package @antv/f2-node 9 | 10 | 11 | 12 | 13 | 14 | ## 5.0.30 (2023-08-28) 15 | 16 | **Note:** Version bump only for package @antv/f2-node 17 | 18 | 19 | 20 | 21 | 22 | ## 5.0.29 (2023-07-21) 23 | 24 | **Note:** Version bump only for package @antv/f2-node 25 | 26 | 27 | 28 | 29 | 30 | ## 5.0.2 (2023-06-27) 31 | 32 | **Note:** Version bump only for package @antv/f2-node 33 | -------------------------------------------------------------------------------- /packages/f2-node/examples/babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@babel/preset-env", 5 | { 6 | "targets": { 7 | "node": "current" 8 | } 9 | } 10 | ] 11 | ], 12 | "plugins": [ 13 | [ 14 | "@babel/plugin-transform-react-jsx", 15 | { 16 | "runtime": "automatic", 17 | "importSource": "@antv/f2" 18 | } 19 | ] 20 | ] 21 | } -------------------------------------------------------------------------------- /packages/f2-node/examples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-f2", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "dependencies": { 7 | "@antv/f2": "^5.x", 8 | "canvas": "^2.8.0" 9 | }, 10 | "devDependencies": { 11 | "@babel/cli": "^7.16.0", 12 | "@babel/core": "^7.16.0", 13 | "@babel/preset-env": "^7.16.0", 14 | "@babel/plugin-transform-react-jsx": "^7.16.0" 15 | }, 16 | "scripts": { 17 | "beforeCompile": "babel src --out-dir dist --only **/*.jsx", 18 | "start": "npm run beforeCompile && node dist/index.js" 19 | }, 20 | "author": "", 21 | "license": "ISC" 22 | } 23 | -------------------------------------------------------------------------------- /packages/f2-node/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@antv/f2-node", 3 | "private": true, 4 | "version": "5.0.32", 5 | "homepage": "https://github.com/antvis/f2", 6 | "bugs": { 7 | "url": "https://github.com/antvis/f2/issues" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/antvis/f2" 12 | }, 13 | "author": "https://github.com/orgs/antvis/people" 14 | } 15 | -------------------------------------------------------------------------------- /packages/f2-react/README.md: -------------------------------------------------------------------------------- 1 | F2 的 React 组件 2 | 3 | 使用方式请参考 [F2 官网](https://f2.antv.vision) 文档: [https://f2.antv.vision/zh/docs/tutorial/react](https://f2.antv.vision/zh/docs/tutorial/react) 4 | -------------------------------------------------------------------------------- /packages/f2-react/src/index.tsx: -------------------------------------------------------------------------------- 1 | import { Canvas } from '@antv/f2'; 2 | import { createCanvas, CanvasProps } from '@antv/f-react'; 3 | 4 | export { createCanvas, CanvasProps }; 5 | export default createCanvas(Canvas); 6 | -------------------------------------------------------------------------------- /packages/f2-react/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "jsx": "react", 5 | "jsxFactory": "React.createElement", 6 | "jsxFragmentFactory": "React.Fragment" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/f2-react/typings.d.ts: -------------------------------------------------------------------------------- 1 | import '../../typings'; 2 | -------------------------------------------------------------------------------- /packages/f2-vue/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | All notable changes to this project will be documented in this file. 4 | See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. 5 | 6 | ## 5.0.32 (2023-09-07) 7 | 8 | **Note:** Version bump only for package @antv/f2-vue 9 | 10 | 11 | 12 | 13 | 14 | ## [5.0.31](https://github.com/antvis/f2/compare/v5.0.30...v5.0.31) (2023-09-05) 15 | 16 | **Note:** Version bump only for package @antv/f2-vue 17 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vite/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vite/README.md: -------------------------------------------------------------------------------- 1 | # Vue 3 + Vite 2 | 3 | This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vite/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vite", 3 | "private": true, 4 | "version": "0.0.0", 5 | "scripts": { 6 | "dev": "vite", 7 | "build": "vite build", 8 | "preview": "vite preview" 9 | }, 10 | "dependencies": { 11 | "@antv/f2": "^5.0.0", 12 | "@antv/f-engine": "1.x", 13 | "@antv/f-vue": "1.x", 14 | "vue": "^3.2.25" 15 | }, 16 | "devDependencies": { 17 | "@babel/plugin-transform-react-jsx": "^7.17.3", 18 | "@rollup/plugin-babel": "^5.3.1", 19 | "@vitejs/plugin-vue": "^2.3.2", 20 | "@vitejs/plugin-vue-jsx": "^1.3.10", 21 | "vite": "^2.9.7" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vite/src/graphic.jsx: -------------------------------------------------------------------------------- 1 | function View(props) { 2 | const { coord, year } = props; 3 | const { left, top, width, height } = coord; 4 | const x = left + width / 2; 5 | const y = top + height / 2; 6 | return ( 7 | 8 | 20 | 21 | ); 22 | } 23 | 24 | export default View; 25 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vite/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vite/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite'; 2 | import vue from '@vitejs/plugin-vue'; 3 | import vueJsx from '@vitejs/plugin-vue-jsx'; 4 | import { babel } from '@rollup/plugin-babel'; 5 | 6 | // https://vitejs.dev/config/ 7 | export default defineConfig({ 8 | plugins: [ 9 | babel({ 10 | plugins: [ 11 | [ 12 | '@babel/plugin-transform-react-jsx', 13 | { 14 | runtime: 'automatic', 15 | importSource: '@antv/f-engine', 16 | }, 17 | ], 18 | ], 19 | }), 20 | vue(), 21 | vueJsx(), 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vue3/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@vue/cli-plugin-babel/preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vue3/src/graphic.jsx: -------------------------------------------------------------------------------- 1 | function View(props) { 2 | const { coord, year } = props; 3 | const { left, top, width, height } = coord; 4 | const x = left + width / 2; 5 | const y = top + height / 2; 6 | return ( 7 | 8 | 20 | 21 | ); 22 | } 23 | 24 | export default View; 25 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vue3/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /packages/f2-vue/examples/vue3/vue.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | chainWebpack: (config) => { 3 | config.module 4 | .rule('F2') 5 | .test((path) => { 6 | // Only transform FEngine JSX in .jsx files. 7 | return /\.jsx$/.test(path) && !/\.vue\.jsx$/.test(path); 8 | }) 9 | .use('babel') 10 | .loader('babel-loader') 11 | .options({ 12 | plugins: [ 13 | [ 14 | '@babel/plugin-transform-react-jsx', 15 | { 16 | runtime: 'automatic', 17 | importSource: '@antv/f-engine', 18 | }, 19 | ], 20 | ], 21 | }) 22 | .end(); 23 | }, 24 | }; 25 | -------------------------------------------------------------------------------- /packages/f2-vue/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@antv/f2-vue", 3 | "private": true, 4 | "version": "5.0.32", 5 | "homepage": "https://github.com/antvis/f2", 6 | "bugs": { 7 | "url": "https://github.com/antvis/f2/issues" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/antvis/f2" 12 | }, 13 | "author": "https://github.com/orgs/antvis/people" 14 | } 15 | -------------------------------------------------------------------------------- /packages/f2-wordcloud/examples/node/babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@babel/preset-env", 5 | { 6 | "targets": { 7 | "node": "current" 8 | } 9 | } 10 | ] 11 | ], 12 | "plugins": [ 13 | [ 14 | "@babel/plugin-transform-react-jsx", 15 | { 16 | "runtime": "automatic", 17 | "importSource": "@antv/f2" 18 | } 19 | ] 20 | ] 21 | } -------------------------------------------------------------------------------- /packages/f2-wordcloud/examples/node/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-f2", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "dependencies": { 7 | "@antv/f2": "^5.x", 8 | "canvas": "^2.8.0", 9 | "tslib": "^2.3.1" 10 | }, 11 | "devDependencies": { 12 | "@babel/cli": "^7.16.0", 13 | "@babel/core": "^7.16.0", 14 | "@babel/preset-env": "^7.16.0", 15 | "@babel/plugin-transform-react-jsx": "^7.16.0" 16 | }, 17 | "scripts": { 18 | "beforeCompile": "babel src --out-dir dist --only **/*.jsx", 19 | "start": "npm run beforeCompile && node dist/index.js" 20 | }, 21 | "author": "", 22 | "license": "ISC" 23 | } 24 | -------------------------------------------------------------------------------- /packages/f2-wordcloud/test/__image_snapshots__/index-test-tsx-word-cloud-word-cloud-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2-wordcloud/test/__image_snapshots__/index-test-tsx-word-cloud-word-cloud-1-snap.png -------------------------------------------------------------------------------- /packages/f2-wordcloud/test/__image_snapshots__/index-test-tsx-word-cloud-word-cloud-mask-shape-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2-wordcloud/test/__image_snapshots__/index-test-tsx-word-cloud-word-cloud-mask-shape-1-snap.png -------------------------------------------------------------------------------- /packages/f2-wordcloud/test/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2-wordcloud/test/logo.png -------------------------------------------------------------------------------- /packages/f2-wordcloud/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/f2-wordcloud/typings.d.ts: -------------------------------------------------------------------------------- 1 | import '../../typings'; 2 | -------------------------------------------------------------------------------- /packages/f2-wx/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | All notable changes to this project will be documented in this file. 4 | See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. 5 | 6 | ## 5.0.32 (2023-09-07) 7 | 8 | **Note:** Version bump only for package @antv/f2-wx 9 | 10 | 11 | 12 | 13 | 14 | ## 5.0.30 (2023-08-28) 15 | 16 | **Note:** Version bump only for package @antv/f2-wx 17 | -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/app.js: -------------------------------------------------------------------------------- 1 | // app.js 2 | /* eslint-disable */ 3 | App({ 4 | onLaunch() { 5 | // 展示本地存储能力 6 | const logs = wx.getStorageSync('logs') || []; 7 | logs.unshift(Date.now()); 8 | wx.setStorageSync('logs', logs); 9 | 10 | // 登录 11 | wx.login({ 12 | success: () => { 13 | // 发送 res.code 到后台换取 openId, sessionKey, unionId 14 | }, 15 | }); 16 | }, 17 | globalData: { 18 | userInfo: null, 19 | }, 20 | }); 21 | -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages":[ 3 | "pages/index/index" 4 | ], 5 | "window":{ 6 | "backgroundTextStyle":"light", 7 | "navigationBarBackgroundColor": "#fff", 8 | "navigationBarTitleText": "Weixin", 9 | "navigationBarTextStyle":"black" 10 | }, 11 | "style": "v2", 12 | "sitemapLocation": "sitemap.json" 13 | } 14 | -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/app.wxss: -------------------------------------------------------------------------------- 1 | /**app.wxss**/ 2 | -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": [ 3 | [ 4 | "@babel/plugin-transform-react-jsx", 5 | { 6 | "runtime": "automatic", 7 | "importSource": "@antv/f-engine" 8 | } 9 | ] 10 | ] 11 | } -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "beforeCompile": "babel pages --out-dir pages --only **/*.jsx" 4 | }, 5 | "dependencies": { 6 | "@antv/f2": "^5.0.0", 7 | "@antv/f-wx": "^1.0.0" 8 | }, 9 | "devDependencies": { 10 | "@babel/cli": "^7.16.0", 11 | "@babel/core": "^7.16.0", 12 | "@babel/plugin-transform-react-jsx": "^7.16.0" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/pages/index/chart.jsx: -------------------------------------------------------------------------------- 1 | import { Chart, Interval, Axis, Legend, Tooltip } from '@antv/f2'; 2 | 3 | export default (props) => { 4 | const { data } = props; 5 | return ( 6 | 7 | 8 | 9 | 22 | 23 | 24 | 25 | ); 26 | }; 27 | -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "f-canvas": "@antv/f-wx" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/pages/index/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/pages/index/index.wxss: -------------------------------------------------------------------------------- 1 | /* required by usingComponents */ 2 | .container { 3 | width: 100%; 4 | height: 600rpx; 5 | } 6 | -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/project.private.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "projectname": "test", 3 | "setting": { 4 | "compileHotReLoad": true 5 | } 6 | } -------------------------------------------------------------------------------- /packages/f2-wx/examples/test/sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /packages/f2-wx/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@antv/f2-wx", 3 | "private": true, 4 | "version": "5.0.32", 5 | "homepage": "https://github.com/antvis/f2", 6 | "bugs": { 7 | "url": "https://github.com/antvis/f2/issues" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/antvis/f2" 12 | }, 13 | "author": "https://github.com/orgs/antvis/people" 14 | } 15 | -------------------------------------------------------------------------------- /packages/f2/jsx-dev-runtime.d.ts: -------------------------------------------------------------------------------- 1 | export * from '@antv/f-engine/jsx-dev-runtime'; 2 | -------------------------------------------------------------------------------- /packages/f2/jsx-dev-runtime.js: -------------------------------------------------------------------------------- 1 | export * from '@antv/f-engine/jsx-dev-runtime'; 2 | -------------------------------------------------------------------------------- /packages/f2/jsx-runtime.d.ts: -------------------------------------------------------------------------------- 1 | export * from '@antv/f-engine/jsx-runtime'; 2 | -------------------------------------------------------------------------------- /packages/f2/jsx-runtime.js: -------------------------------------------------------------------------------- 1 | export * from '@antv/f-engine/jsx-runtime'; 2 | -------------------------------------------------------------------------------- /packages/f2/src/attr/category.ts: -------------------------------------------------------------------------------- 1 | import { Category as CategoryScale, ScaleConfig } from '../deps/f2-scale/src'; 2 | import Base from './base'; 3 | 4 | class Category extends Base { 5 | createScale(scaleConfig: ScaleConfig) { 6 | return new CategoryScale(scaleConfig); 7 | } 8 | 9 | _mapping(value) { 10 | const { scale, range } = this; 11 | if (scale.type === 'cat') { 12 | const index = scale.translate(value); 13 | return range[index % range.length]; 14 | } 15 | const normalizeValue = scale.scale(value); 16 | const index = Math.round(normalizeValue * (range.length - 1)); 17 | return range[index]; 18 | } 19 | } 20 | 21 | export default Category; 22 | -------------------------------------------------------------------------------- /packages/f2/src/attr/identity.ts: -------------------------------------------------------------------------------- 1 | import { Identity as IdentityScale, ScaleConfig } from '../deps/f2-scale/src'; 2 | import Base from './base'; 3 | 4 | class Identity extends Base { 5 | createScale(scaleConfig: ScaleConfig) { 6 | return new IdentityScale(scaleConfig); 7 | } 8 | 9 | _mapping() { 10 | const { field, range } = this; 11 | return field || (range && range[0]); 12 | } 13 | } 14 | 15 | export default Identity; 16 | -------------------------------------------------------------------------------- /packages/f2/src/attr/index.ts: -------------------------------------------------------------------------------- 1 | import Attr from './base'; 2 | import Linear from './linear'; 3 | import Category from './category'; 4 | import Identity from './identity'; 5 | 6 | export { Attr, Linear, Category, Identity }; 7 | -------------------------------------------------------------------------------- /packages/f2/src/chart/types.d.ts: -------------------------------------------------------------------------------- 1 | export interface Point { 2 | x: number; 3 | y: number; 4 | } 5 | -------------------------------------------------------------------------------- /packages/f2/src/components/area/index.tsx: -------------------------------------------------------------------------------- 1 | import withArea, { AreaProps } from './withArea'; 2 | import AreaView from './areaView'; 3 | 4 | export { AreaProps, withArea, AreaView }; 5 | export default withArea(AreaView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/axis/index.tsx: -------------------------------------------------------------------------------- 1 | import withAxis, { AxisProps } from './withAxis'; 2 | import AxisView from './axisView'; 3 | 4 | export { AxisProps, withAxis, AxisView }; 5 | export default withAxis(AxisView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/candlestick/index.tsx: -------------------------------------------------------------------------------- 1 | import withCandlestick, { CandlestickProps } from './withCandlestick'; 2 | import CandlestickView from './candlestickView'; 3 | 4 | export { CandlestickProps, CandlestickView, withCandlestick }; 5 | export default withCandlestick(CandlestickView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/gauge/index.tsx: -------------------------------------------------------------------------------- 1 | import withGauge from './withGauge'; 2 | import GaugeView, { GaugeProps } from './gaugeView'; 3 | 4 | export { GaugeProps, withGauge, GaugeView }; 5 | export default withGauge(GaugeView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/interval/index.tsx: -------------------------------------------------------------------------------- 1 | import withInterval, { IntervalProps } from './withInterval'; 2 | import * as Views from './view'; 3 | 4 | import IntervalView from './view/intervalView'; 5 | 6 | export { IntervalProps, withInterval, IntervalView }; 7 | export default withInterval(Views); 8 | -------------------------------------------------------------------------------- /packages/f2/src/components/interval/label/index.ts: -------------------------------------------------------------------------------- 1 | export { default as pyramid } from './polygonLabel'; 2 | export { default as funnel } from './polygonLabel'; 3 | -------------------------------------------------------------------------------- /packages/f2/src/components/interval/util.ts: -------------------------------------------------------------------------------- 1 | function convertToPoints({ xMin, xMax, yMin, yMax }) { 2 | return [ 3 | { x: xMin, y: yMin }, // tl 4 | { x: xMax, y: yMin }, // tr 5 | { x: xMax, y: yMax }, // br 6 | { x: xMin, y: yMax }, // bl 7 | ]; 8 | } 9 | 10 | export { convertToPoints }; 11 | -------------------------------------------------------------------------------- /packages/f2/src/components/interval/view/index.tsx: -------------------------------------------------------------------------------- 1 | // 柱图/条图 2 | export { default as rect } from './intervalView'; 3 | // 金字塔图 4 | export { default as pyramid } from './polygonView'; 5 | // 漏斗图 6 | export { default as funnel } from './polygonView'; 7 | -------------------------------------------------------------------------------- /packages/f2/src/components/interval/view/intervalView.tsx: -------------------------------------------------------------------------------- 1 | import { jsx } from '@antv/f-engine'; 2 | import Rect from './rect'; 3 | import Polar from './polar'; 4 | 5 | export default (props) => { 6 | const { coord } = props; 7 | const { type: coordType } = coord; 8 | 9 | // 直角坐标系 10 | if (coordType === 'rect') { 11 | return ; 12 | } 13 | 14 | // 极坐标系 15 | return ; 16 | }; 17 | -------------------------------------------------------------------------------- /packages/f2/src/components/legend/index.tsx: -------------------------------------------------------------------------------- 1 | import withLegend, { LegendProps } from './withLegend'; 2 | import LegendView from './legendView'; 3 | 4 | export { LegendProps, withLegend, LegendView }; 5 | export default withLegend(LegendView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/line/index.tsx: -------------------------------------------------------------------------------- 1 | import withLine, { LineProps } from './withLine'; 2 | import LineView from './lineView'; 3 | 4 | export { LineProps, withLine, LineView }; 5 | export default withLine(LineView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/pictorial/index.tsx: -------------------------------------------------------------------------------- 1 | import Pictorial, { PictorialProps } from './pictorial'; 2 | 3 | export { PictorialProps, Pictorial }; 4 | export default Pictorial; 5 | -------------------------------------------------------------------------------- /packages/f2/src/components/pieLabel/index.tsx: -------------------------------------------------------------------------------- 1 | import withPieLabel, { PieLabelProps } from './withPieLabel'; 2 | import PieLabelView from './pieLabeView'; 3 | 4 | export { PieLabelProps, PieLabelView, withPieLabel }; 5 | export default withPieLabel(PieLabelView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/point/index.tsx: -------------------------------------------------------------------------------- 1 | import withPoint, { PointProps } from './withPoint'; 2 | import PointView from './pointView'; 3 | 4 | export { PointProps, PointView, withPoint }; 5 | export default withPoint(PointView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/scrollBar/index.tsx: -------------------------------------------------------------------------------- 1 | import withScrollBar, { ScrollBarProps } from './withScrollBar'; 2 | import ScrollBarView from './scrollBarView'; 3 | 4 | export { ScrollBarProps, withScrollBar, ScrollBarView }; 5 | export default withScrollBar(ScrollBarView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/scrollBar/scrollBarView.tsx: -------------------------------------------------------------------------------- 1 | import { jsx } from '@antv/f-engine'; 2 | import Horizontal from './horizontal'; 3 | import Vertical from './vertical'; 4 | 5 | export default (props) => { 6 | const { position, mode } = props; 7 | 8 | if (mode.length > 1) { 9 | return ( 10 | 11 | 12 | 13 | 14 | ); 15 | } 16 | if (position === 'left' || position === 'right') { 17 | return ; 18 | } 19 | return ; 20 | }; 21 | -------------------------------------------------------------------------------- /packages/f2/src/components/sunburst/index.tsx: -------------------------------------------------------------------------------- 1 | import withSunburst, { SunburstProps } from './withSunburst'; 2 | import View from './view'; 3 | import SunburstView from './sunburstView'; 4 | import IcicleView from './icicleView'; 5 | 6 | export { SunburstProps, withSunburst, SunburstView, IcicleView }; 7 | export default withSunburst(View); 8 | -------------------------------------------------------------------------------- /packages/f2/src/components/sunburst/view.tsx: -------------------------------------------------------------------------------- 1 | import { jsx } from '@antv/f-engine'; 2 | import SunburstView from './sunburstView'; 3 | import IcicleView from './icicleView'; 4 | 5 | export default (props) => { 6 | const { coord } = props; 7 | if (coord.type === 'polar') { 8 | return ; 9 | } 10 | return ; 11 | }; 12 | -------------------------------------------------------------------------------- /packages/f2/src/components/tooltip/index.tsx: -------------------------------------------------------------------------------- 1 | import withTooltip, { TooltipProps } from './withTooltip'; 2 | import TooltipView from './tooltipView'; 3 | 4 | export { TooltipProps, withTooltip, TooltipView }; 5 | export default withTooltip(TooltipView); 6 | -------------------------------------------------------------------------------- /packages/f2/src/components/treemap/index.tsx: -------------------------------------------------------------------------------- 1 | import withTreemap from './withTreemap'; 2 | import TreemapView, { TreemapProps } from './treemapView'; 3 | 4 | export { TreemapProps, withTreemap, TreemapView }; 5 | 6 | export default withTreemap(TreemapView); 7 | -------------------------------------------------------------------------------- /packages/f2/src/components/zoom/easing.ts: -------------------------------------------------------------------------------- 1 | function quadraticOut(k) { 2 | return k * (2 - k); 3 | } 4 | 5 | export { quadraticOut }; 6 | -------------------------------------------------------------------------------- /packages/f2/src/controller/tick/time-cat.ts: -------------------------------------------------------------------------------- 1 | import { getScale, registerTickMethod } from '../../deps/f2-scale/src'; 2 | import CatTick from './cat-tick'; 3 | 4 | registerTickMethod('time-cat', CatTick); 5 | const TimeCat = getScale('timeCat'); 6 | 7 | export default TimeCat; 8 | -------------------------------------------------------------------------------- /packages/f2/src/coord/index.ts: -------------------------------------------------------------------------------- 1 | import Coord from './base'; 2 | import Rect from './rect'; 3 | import Polar from './polar'; 4 | 5 | export default Coord; 6 | export { Rect, Polar }; 7 | -------------------------------------------------------------------------------- /packages/f2/src/coord/rect.ts: -------------------------------------------------------------------------------- 1 | import Base from './base'; 2 | import { Range, Option } from './types'; 3 | 4 | class Rect extends Base { 5 | type = 'rect'; 6 | 7 | update(option: Option) { 8 | super.update(option); 9 | 10 | const { left, top, width, height } = this; 11 | const x: Range = [left, left + width]; 12 | const y: Range = [top + height, top]; 13 | 14 | this.x = x; 15 | this.y = y; 16 | return this; 17 | } 18 | } 19 | 20 | export default Rect; 21 | -------------------------------------------------------------------------------- /packages/f2/src/coord/types.ts: -------------------------------------------------------------------------------- 1 | interface Point { 2 | x: number; 3 | y: number; 4 | } 5 | 6 | type Range = [number, number]; 7 | 8 | interface Option { 9 | left?: number; 10 | top?: number; 11 | width?: number; 12 | height?: number; 13 | transposed?: boolean; 14 | } 15 | 16 | export { Point, Range, Option }; 17 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-color/src/define.js: -------------------------------------------------------------------------------- 1 | export default function(constructor, factory, prototype) { 2 | constructor.prototype = factory.prototype = prototype; 3 | prototype.constructor = constructor; 4 | } 5 | 6 | export function extend(parent, definition) { 7 | var prototype = Object.create(parent.prototype); 8 | for (var key in definition) prototype[key] = definition[key]; 9 | return prototype; 10 | } 11 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-color/src/index.js: -------------------------------------------------------------------------------- 1 | export {default as color, rgb, hsl} from "./color.js"; 2 | export {default as lab, hcl, lch, gray} from "./lab.js"; 3 | export {default as cubehelix} from "./cubehelix.js"; 4 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-color/src/math.js: -------------------------------------------------------------------------------- 1 | export const radians = Math.PI / 180; 2 | export const degrees = 180 / Math.PI; 3 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/accessors.js: -------------------------------------------------------------------------------- 1 | export function optional(f) { 2 | return f == null ? null : required(f); 3 | } 4 | 5 | export function required(f) { 6 | if (typeof f !== "function") throw new Error; 7 | return f; 8 | } 9 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/array.js: -------------------------------------------------------------------------------- 1 | export default function(x) { 2 | return typeof x === "object" && "length" in x 3 | ? x // Array, TypedArray, NodeList, array-like 4 | : Array.from(x); // Map, Set, iterable, string, or anything else 5 | } 6 | 7 | export function shuffle(array) { 8 | var m = array.length, 9 | t, 10 | i; 11 | 12 | while (m) { 13 | i = Math.random() * m-- | 0; 14 | t = array[m]; 15 | array[m] = array[i]; 16 | array[i] = t; 17 | } 18 | 19 | return array; 20 | } 21 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/constant.js: -------------------------------------------------------------------------------- 1 | export function constantZero() { 2 | return 0; 3 | } 4 | 5 | export default function(x) { 6 | return function() { 7 | return x; 8 | }; 9 | } 10 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/ancestors.js: -------------------------------------------------------------------------------- 1 | export default function() { 2 | var node = this, nodes = [node]; 3 | while (node = node.parent) { 4 | nodes.push(node); 5 | } 6 | return nodes; 7 | } 8 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/count.js: -------------------------------------------------------------------------------- 1 | function count(node) { 2 | var sum = 0, 3 | children = node.children, 4 | i = children && children.length; 5 | if (!i) sum = 1; 6 | else while (--i >= 0) sum += children[i].value; 7 | node.value = sum; 8 | } 9 | 10 | export default function() { 11 | return this.eachAfter(count); 12 | } 13 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/descendants.js: -------------------------------------------------------------------------------- 1 | export default function() { 2 | return Array.from(this); 3 | } 4 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/each.js: -------------------------------------------------------------------------------- 1 | export default function(callback, that) { 2 | let index = -1; 3 | for (const node of this) { 4 | callback.call(that, node, ++index, this); 5 | } 6 | return this; 7 | } 8 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/eachAfter.js: -------------------------------------------------------------------------------- 1 | export default function(callback, that) { 2 | var node = this, nodes = [node], next = [], children, i, n, index = -1; 3 | while (node = nodes.pop()) { 4 | next.push(node); 5 | if (children = node.children) { 6 | for (i = 0, n = children.length; i < n; ++i) { 7 | nodes.push(children[i]); 8 | } 9 | } 10 | } 11 | while (node = next.pop()) { 12 | callback.call(that, node, ++index, this); 13 | } 14 | return this; 15 | } 16 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/eachBefore.js: -------------------------------------------------------------------------------- 1 | export default function(callback, that) { 2 | var node = this, nodes = [node], children, i, index = -1; 3 | while (node = nodes.pop()) { 4 | callback.call(that, node, ++index, this); 5 | if (children = node.children) { 6 | for (i = children.length - 1; i >= 0; --i) { 7 | nodes.push(children[i]); 8 | } 9 | } 10 | } 11 | return this; 12 | } 13 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/find.js: -------------------------------------------------------------------------------- 1 | export default function(callback, that) { 2 | let index = -1; 3 | for (const node of this) { 4 | if (callback.call(that, node, ++index, this)) { 5 | return node; 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/iterator.js: -------------------------------------------------------------------------------- 1 | export default function*() { 2 | var node = this, current, next = [node], children, i, n; 3 | do { 4 | current = next.reverse(), next = []; 5 | while (node = current.pop()) { 6 | yield node; 7 | if (children = node.children) { 8 | for (i = 0, n = children.length; i < n; ++i) { 9 | next.push(children[i]); 10 | } 11 | } 12 | } 13 | } while (next.length); 14 | } 15 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/leaves.js: -------------------------------------------------------------------------------- 1 | export default function() { 2 | var leaves = []; 3 | this.eachBefore(function(node) { 4 | if (!node.children) { 5 | leaves.push(node); 6 | } 7 | }); 8 | return leaves; 9 | } 10 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/links.js: -------------------------------------------------------------------------------- 1 | export default function() { 2 | var root = this, links = []; 3 | root.each(function(node) { 4 | if (node !== root) { // Don’t include the root’s parent, if any. 5 | links.push({source: node.parent, target: node}); 6 | } 7 | }); 8 | return links; 9 | } 10 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/sort.js: -------------------------------------------------------------------------------- 1 | export default function(compare) { 2 | return this.eachBefore(function(node) { 3 | if (node.children) { 4 | node.children.sort(compare); 5 | } 6 | }); 7 | } 8 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/hierarchy/sum.js: -------------------------------------------------------------------------------- 1 | export default function(value) { 2 | return this.eachAfter(function(node) { 3 | var sum = +value(node.data) || 0, 4 | children = node.children, 5 | i = children && children.length; 6 | while (--i >= 0) sum += children[i].value; 7 | node.value = sum; 8 | }); 9 | } 10 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/treemap/dice.js: -------------------------------------------------------------------------------- 1 | export default function(parent, x0, y0, x1, y1) { 2 | var nodes = parent.children, 3 | node, 4 | i = -1, 5 | n = nodes.length, 6 | k = parent.value && (x1 - x0) / parent.value; 7 | 8 | while (++i < n) { 9 | node = nodes[i], node.y0 = y0, node.y1 = y1; 10 | node.x0 = x0, node.x1 = x0 += node.value * k; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/treemap/round.js: -------------------------------------------------------------------------------- 1 | export default function(node) { 2 | node.x0 = Math.round(node.x0); 3 | node.y0 = Math.round(node.y0); 4 | node.x1 = Math.round(node.x1); 5 | node.y1 = Math.round(node.y1); 6 | } 7 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/treemap/slice.js: -------------------------------------------------------------------------------- 1 | export default function(parent, x0, y0, x1, y1) { 2 | var nodes = parent.children, 3 | node, 4 | i = -1, 5 | n = nodes.length, 6 | k = parent.value && (y1 - y0) / parent.value; 7 | 8 | while (++i < n) { 9 | node = nodes[i], node.x0 = x0, node.x1 = x1; 10 | node.y0 = y0, node.y1 = y0 += node.value * k; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-hierarchy/src/treemap/sliceDice.js: -------------------------------------------------------------------------------- 1 | import dice from "./dice.js"; 2 | import slice from "./slice.js"; 3 | 4 | export default function(parent, x0, y0, x1, y1) { 5 | (parent.depth & 1 ? slice : dice)(parent, x0, y0, x1, y1); 6 | } 7 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/array.js: -------------------------------------------------------------------------------- 1 | import value from "./value.js"; 2 | import numberArray, {isNumberArray} from "./numberArray.js"; 3 | 4 | export default function(a, b) { 5 | return (isNumberArray(b) ? numberArray : genericArray)(a, b); 6 | } 7 | 8 | export function genericArray(a, b) { 9 | var nb = b ? b.length : 0, 10 | na = a ? Math.min(nb, a.length) : 0, 11 | x = new Array(na), 12 | c = new Array(nb), 13 | i; 14 | 15 | for (i = 0; i < na; ++i) x[i] = value(a[i], b[i]); 16 | for (; i < nb; ++i) c[i] = b[i]; 17 | 18 | return function(t) { 19 | for (i = 0; i < na; ++i) c[i] = x[i](t); 20 | return c; 21 | }; 22 | } 23 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/basis.js: -------------------------------------------------------------------------------- 1 | export function basis(t1, v0, v1, v2, v3) { 2 | var t2 = t1 * t1, t3 = t2 * t1; 3 | return ((1 - 3 * t1 + 3 * t2 - t3) * v0 4 | + (4 - 6 * t2 + 3 * t3) * v1 5 | + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 6 | + t3 * v3) / 6; 7 | } 8 | 9 | export default function(values) { 10 | var n = values.length - 1; 11 | return function(t) { 12 | var i = t <= 0 ? (t = 0) : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n), 13 | v1 = values[i], 14 | v2 = values[i + 1], 15 | v0 = i > 0 ? values[i - 1] : 2 * v1 - v2, 16 | v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1; 17 | return basis((t - i / n) * n, v0, v1, v2, v3); 18 | }; 19 | } 20 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/basisClosed.js: -------------------------------------------------------------------------------- 1 | import {basis} from "./basis.js"; 2 | 3 | export default function(values) { 4 | var n = values.length; 5 | return function(t) { 6 | var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n), 7 | v0 = values[(i + n - 1) % n], 8 | v1 = values[i % n], 9 | v2 = values[(i + 1) % n], 10 | v3 = values[(i + 2) % n]; 11 | return basis((t - i / n) * n, v0, v1, v2, v3); 12 | }; 13 | } 14 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/constant.js: -------------------------------------------------------------------------------- 1 | export default x => () => x; 2 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/date.js: -------------------------------------------------------------------------------- 1 | export default function(a, b) { 2 | var d = new Date; 3 | return a = +a, b = +b, function(t) { 4 | return d.setTime(a * (1 - t) + b * t), d; 5 | }; 6 | } 7 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/discrete.js: -------------------------------------------------------------------------------- 1 | export default function(range) { 2 | var n = range.length; 3 | return function(t) { 4 | return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))]; 5 | }; 6 | } 7 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/hcl.js: -------------------------------------------------------------------------------- 1 | import { hcl as colorHcl } from '../../d3-color/src'; 2 | import color, { hue } from './color.js'; 3 | 4 | function hcl(hue) { 5 | return function(start, end) { 6 | var h = hue((start = colorHcl(start)).h, (end = colorHcl(end)).h), 7 | c = color(start.c, end.c), 8 | l = color(start.l, end.l), 9 | opacity = color(start.opacity, end.opacity); 10 | return function(t) { 11 | start.h = h(t); 12 | start.c = c(t); 13 | start.l = l(t); 14 | start.opacity = opacity(t); 15 | return start + ''; 16 | }; 17 | }; 18 | } 19 | 20 | export default hcl(hue); 21 | export var hclLong = hcl(color); 22 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/hsl.js: -------------------------------------------------------------------------------- 1 | import { hsl as colorHsl } from '../../d3-color/src'; 2 | import color, { hue } from './color.js'; 3 | 4 | function hsl(hue) { 5 | return function(start, end) { 6 | var h = hue((start = colorHsl(start)).h, (end = colorHsl(end)).h), 7 | s = color(start.s, end.s), 8 | l = color(start.l, end.l), 9 | opacity = color(start.opacity, end.opacity); 10 | return function(t) { 11 | start.h = h(t); 12 | start.s = s(t); 13 | start.l = l(t); 14 | start.opacity = opacity(t); 15 | return start + ''; 16 | }; 17 | }; 18 | } 19 | 20 | export default hsl(hue); 21 | export var hslLong = hsl(color); 22 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/hue.js: -------------------------------------------------------------------------------- 1 | import {hue} from "./color.js"; 2 | 3 | export default function(a, b) { 4 | var i = hue(+a, +b); 5 | return function(t) { 6 | var x = i(t); 7 | return x - 360 * Math.floor(x / 360); 8 | }; 9 | } 10 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/lab.js: -------------------------------------------------------------------------------- 1 | import { lab as colorLab } from '../../d3-color/src'; 2 | import color from './color.js'; 3 | 4 | export default function lab(start, end) { 5 | var l = color((start = colorLab(start)).l, (end = colorLab(end)).l), 6 | a = color(start.a, end.a), 7 | b = color(start.b, end.b), 8 | opacity = color(start.opacity, end.opacity); 9 | return function(t) { 10 | start.l = l(t); 11 | start.a = a(t); 12 | start.b = b(t); 13 | start.opacity = opacity(t); 14 | return start + ''; 15 | }; 16 | } 17 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/number.js: -------------------------------------------------------------------------------- 1 | export default function(a, b) { 2 | return a = +a, b = +b, function(t) { 3 | return a * (1 - t) + b * t; 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/numberArray.js: -------------------------------------------------------------------------------- 1 | export default function(a, b) { 2 | if (!b) b = []; 3 | var n = a ? Math.min(b.length, a.length) : 0, 4 | c = b.slice(), 5 | i; 6 | return function(t) { 7 | for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t; 8 | return c; 9 | }; 10 | } 11 | 12 | export function isNumberArray(x) { 13 | return ArrayBuffer.isView(x) && !(x instanceof DataView); 14 | } 15 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/object.js: -------------------------------------------------------------------------------- 1 | import value from "./value.js"; 2 | 3 | export default function(a, b) { 4 | var i = {}, 5 | c = {}, 6 | k; 7 | 8 | if (a === null || typeof a !== "object") a = {}; 9 | if (b === null || typeof b !== "object") b = {}; 10 | 11 | for (k in b) { 12 | if (k in a) { 13 | i[k] = value(a[k], b[k]); 14 | } else { 15 | c[k] = b[k]; 16 | } 17 | } 18 | 19 | return function(t) { 20 | for (k in i) c[k] = i[k](t); 21 | return c; 22 | }; 23 | } 24 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/piecewise.js: -------------------------------------------------------------------------------- 1 | import {default as value} from "./value.js"; 2 | 3 | export default function piecewise(interpolate, values) { 4 | if (values === undefined) values = interpolate, interpolate = value; 5 | var i = 0, n = values.length - 1, v = values[0], I = new Array(n < 0 ? 0 : n); 6 | while (i < n) I[i] = interpolate(v, v = values[++i]); 7 | return function(t) { 8 | var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n))); 9 | return I[i](t - i); 10 | }; 11 | } 12 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/quantize.js: -------------------------------------------------------------------------------- 1 | export default function(interpolator, n) { 2 | var samples = new Array(n); 3 | for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1)); 4 | return samples; 5 | } 6 | -------------------------------------------------------------------------------- /packages/f2/src/deps/d3-interpolate/src/round.js: -------------------------------------------------------------------------------- 1 | export default function(a, b) { 2 | return a = +a, b = +b, function(t) { 3 | return Math.round(a * (1 - t) + b * t); 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-adjust/src/constant.ts: -------------------------------------------------------------------------------- 1 | export const DEFAULT_Y = 0; // 默认的 y 的值 2 | 3 | // 偏移之后,间距 4 | export const MARGIN_RATIO = 1 / 2; 5 | export const DODGE_RATIO = 1 / 2; 6 | 7 | // 散点分开之后,距离边界的距离 8 | export const GAP = 0.05; 9 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-adjust/src/index.ts: -------------------------------------------------------------------------------- 1 | import Adjust from './adjusts/adjust'; 2 | 3 | import Dodge from './adjusts/dodge'; 4 | import Jitter from './adjusts/jitter'; 5 | import Stack from './adjusts/stack'; 6 | import Symmetric from './adjusts/symmetric'; 7 | 8 | // 最终暴露给外部的方法 9 | export { Adjust, Dodge, Jitter, Stack, Symmetric }; 10 | 11 | export * from './interface'; 12 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-scale/src/continuous/linear.ts: -------------------------------------------------------------------------------- 1 | import Continuous from './base'; 2 | 3 | /** 4 | * 线性度量 5 | * @class 6 | */ 7 | export default class Linear extends Continuous { 8 | public minTickInterval: number; 9 | public type = 'linear'; 10 | public readonly isLinear: boolean = true; 11 | 12 | public invert(value: number): any { 13 | const percent = this.getInvertPercent(value); 14 | return this.min + percent * (this.max - this.min); 15 | } 16 | 17 | protected initCfg() { 18 | this.tickMethod = 'wilkinson-extended'; 19 | this.nice = false; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-scale/src/continuous/quantile.ts: -------------------------------------------------------------------------------- 1 | import Quantize from './quantize'; 2 | 3 | class Quantile extends Quantize { 4 | public type = 'quantile'; 5 | protected initCfg() { 6 | this.tickMethod = 'quantile'; 7 | this.tickCount = 5; 8 | this.nice = true; 9 | } 10 | } 11 | 12 | export default Quantile; 13 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-scale/src/factory.ts: -------------------------------------------------------------------------------- 1 | import Scale from './base'; 2 | import { ScaleConfig } from './types'; 3 | type ScaleConstructor = new (cfg: ScaleConfig) => T; 4 | 5 | interface ScaleMap { 6 | [key: string]: ScaleConstructor; 7 | } 8 | 9 | const map: ScaleMap = {}; 10 | 11 | function getClass(key: string): ScaleConstructor { 12 | return map[key]; 13 | } 14 | 15 | function registerClass(key: string, cls: ScaleConstructor) { 16 | if (getClass(key)) { 17 | throw new Error(`type '${key}' existed.`); 18 | } 19 | map[key] = cls; 20 | } 21 | 22 | export { Scale, getClass as getScale, registerClass as registerScale }; 23 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-scale/src/tick-method/d3-linear.ts: -------------------------------------------------------------------------------- 1 | import { head, isNil, last } from '@antv/util'; 2 | import { ScaleConfig } from '../types'; 3 | import d3Linear from '../util/d3-linear'; 4 | import interval from '../util/interval'; 5 | import strictLimit from '../util/strict-limit'; 6 | 7 | export default function d3LinearTickMethod(cfg: ScaleConfig): number[] { 8 | const { min, max, tickInterval, minLimit, maxLimit } = cfg; 9 | const ticks = d3Linear(cfg); 10 | 11 | if (!isNil(minLimit) || !isNil(maxLimit)) { 12 | return strictLimit(cfg, head(ticks), last(ticks)); 13 | } 14 | if (tickInterval) { 15 | return interval(min, max, tickInterval).ticks; 16 | } 17 | return ticks; 18 | } 19 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-scale/src/tick-method/pow.ts: -------------------------------------------------------------------------------- 1 | import { ScaleConfig } from '../types'; 2 | import { calBase } from '../util/math'; 3 | import pretty from '../util/pretty'; 4 | /** 5 | * 计算 Pow 的 ticks 6 | * @param cfg 度量的配置项 7 | * @returns 计算后的 ticks 8 | */ 9 | export default function calculatePowTicks(cfg: ScaleConfig) { 10 | const { exponent, tickCount } = cfg; 11 | const max = Math.ceil(calBase(exponent, cfg.max)); 12 | const min = Math.floor(calBase(exponent, cfg.min)); 13 | const ticks = pretty(min, max, tickCount).ticks; 14 | return ticks.map((tick) => { 15 | const factor = tick >= 0 ? 1 : -1; 16 | return Math.pow(tick, exponent) * factor; 17 | }); 18 | } 19 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-scale/src/tick-method/register.ts: -------------------------------------------------------------------------------- 1 | import { TickMethod } from '../types'; 2 | interface MethodMap { 3 | [key: string]: TickMethod; 4 | } 5 | const methodCache: MethodMap = {}; 6 | 7 | /** 8 | * 获取计算 ticks 的方法 9 | * @param key 键值 10 | * @returns 计算 ticks 的方法 11 | */ 12 | export function getTickMethod(key: string): TickMethod { 13 | return methodCache[key]; 14 | } 15 | 16 | /** 17 | * 注册计算 ticks 的方法 18 | * @param key 键值 19 | * @param method 方法 20 | */ 21 | export function registerTickMethod(key: string, method: TickMethod) { 22 | methodCache[key] = method; 23 | } 24 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-scale/src/tick-method/time-cat.ts: -------------------------------------------------------------------------------- 1 | import { ScaleConfig } from '../types'; 2 | import catTicks from './cat'; 3 | /** 4 | * 计算时间分类的 ticks, 保头,保尾 5 | * @param cfg 度量的配置项 6 | * @returns 计算后的 ticks 7 | */ 8 | export default function timeCat(cfg: ScaleConfig): any[] { 9 | // 默认保留最后一条 10 | const ticks = catTicks({ showLast: true, ...cfg }); 11 | return ticks; 12 | } 13 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-scale/src/util/bisector.ts: -------------------------------------------------------------------------------- 1 | import { isNil } from '@antv/util'; 2 | 3 | type GetterFunc = (o: T) => number; 4 | 5 | /** 6 | * 二分右侧查找 7 | * https://github.com/d3/d3-array/blob/master/src/bisector.js 8 | */ 9 | export default function(getter: GetterFunc) { 10 | /** 11 | * x: 目标值 12 | * lo: 起始位置 13 | * hi: 结束位置 14 | */ 15 | return function(a: T[], x: number, _lo?: number, _hi?: number) { 16 | let lo = isNil(_lo) ? 0 : _lo; 17 | let hi = isNil(_hi) ? a.length : _hi; 18 | while (lo < hi) { 19 | const mid = (lo + hi) >>> 1; 20 | if (getter(a[mid]) > x) { 21 | hi = mid; 22 | } else { 23 | lo = mid + 1; 24 | } 25 | } 26 | return lo; 27 | }; 28 | } 29 | -------------------------------------------------------------------------------- /packages/f2/src/deps/f2-scale/src/util/pretty-number.ts: -------------------------------------------------------------------------------- 1 | // 为了解决 js 运算的精度问题 2 | export function prettyNumber(n: number) { 3 | return Math.abs(n) < 1e-15 ? n : parseFloat(n.toFixed(15)); 4 | } 5 | -------------------------------------------------------------------------------- /packages/f2/src/index.ts: -------------------------------------------------------------------------------- 1 | // 把 FEngine 全部透出 2 | export * from '@antv/f-engine'; 3 | 4 | export { default as Chart, ChartProps } from './chart'; 5 | export { Scale, ScaleConfig } from './deps/f2-scale/src'; 6 | export * from './components'; 7 | //@ts-ignore 8 | export default { version: 'VERSION' }; 9 | -------------------------------------------------------------------------------- /packages/f2/src/util/coord.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * 计算两个坐标的中点坐标 3 | * @param start 起始点{x:number, y:number} 4 | * @param end 结束点{x:number, y:number} 5 | * @returns 中点坐标{x:number, y:number} 6 | */ 7 | function getMiddlePoint(start, end) { 8 | const x = (end.x - start.x) / 2 + start.x; 9 | const y = (end.y - start.y) / 2 + start.y; 10 | return { x, y }; 11 | } 12 | 13 | export { getMiddlePoint }; 14 | -------------------------------------------------------------------------------- /packages/f2/src/util/vector.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * expand Vec2 3 | */ 4 | import { vec2 } from 'gl-matrix'; 5 | 6 | const vec2Direction = (v1, v2) => { 7 | return v1[0] * v2[1] - v2[0] * v1[1]; 8 | }; 9 | 10 | const vec2Zero = (v) => { 11 | return v[0] === 0 && v[1] === 0; 12 | }; 13 | 14 | const vec2AngleTo = (v1, v2, direction) => { 15 | const angle = vec2.angle(v1, v2); 16 | const angleLargeThanPI = vec2Direction(v1, v2) >= 0; 17 | if (direction) { 18 | if (angleLargeThanPI) { 19 | return Math.PI * 2 - angle; 20 | } 21 | 22 | return angle; 23 | } 24 | 25 | if (angleLargeThanPI) { 26 | return angle; 27 | } 28 | return Math.PI * 2 - angle; 29 | }; 30 | 31 | export { vec2Zero, vec2AngleTo }; 32 | -------------------------------------------------------------------------------- /packages/f2/test/canvas/__image_snapshots__/animation-test-tsx-canvas-clip-function-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/canvas/__image_snapshots__/animation-test-tsx-canvas-clip-function-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-clip-custom-clip-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-clip-custom-clip-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-fragment-component-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-fragment-component-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-fragment-function-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-fragment-function-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-image-create-image-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-image-create-image-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-image-image-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-image-image-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-image-image-绘制层级-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-image-image-绘制层级-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-rect-rect-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-rect-rect-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-图形绘制-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/canvas/__image_snapshots__/graphic-test-tsx-canvas-图形绘制-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/chart/__image_snapshots__/change-data-with-undefined-test-tsx-chart-chart-切换data为undefined-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/chart/__image_snapshots__/change-data-with-undefined-test-tsx-chart-chart-切换data为undefined-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/chart/__image_snapshots__/fragment-test-tsx-fragment-fragment-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/chart/__image_snapshots__/fragment-test-tsx-fragment-fragment-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/chart/__image_snapshots__/index-test-tsx-chart-chart-render-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/chart/__image_snapshots__/index-test-tsx-chart-chart-render-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/chart/__image_snapshots__/index-test-tsx-chart-chart-render-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/chart/__image_snapshots__/index-test-tsx-chart-chart-render-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/chart/__image_snapshots__/palyer-test-tsx-player-play-pause-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/chart/__image_snapshots__/palyer-test-tsx-player-play-pause-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/chart/__image_snapshots__/palyer-test-tsx-player-play-pause-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/chart/__image_snapshots__/palyer-test-tsx-player-play-pause-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/chart/__image_snapshots__/stateless-test-tsx-stateless-stateless-component-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/chart/__image_snapshots__/stateless-test-tsx-stateless-stateless-component-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-基础面积图-基础面积图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-基础面积图-基础面积图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-基础面积图-带负值面积图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-基础面积图-带负值面积图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-基础面积图-带负值面积图-x基线不为-0-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-基础面积图-带负值面积图-x基线不为-0-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-基础面积图-渐变填充面积图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-基础面积图-渐变填充面积图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-层叠面积图-区域图-存在空值-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-层叠面积图-区域图-存在空值-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-层叠面积图-层叠面积图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-层叠面积图-层叠面积图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-层叠面积图-百分比层叠面积图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/area/__image_snapshots__/area-test-tsx-面积图-层叠面积图-百分比层叠面积图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-grid回调-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-grid回调-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-grid样式-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-grid样式-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-label-回调-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-label-回调-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-label-回调参数-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-label-回调参数-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-传入-ticks-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-传入-ticks-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-刻度线-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-刻度线-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-定义宽高-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-定义宽高-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-弧形网格线-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-弧形网格线-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-文本换行-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-文本换行-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-旋转-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-旋转-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-箭头样式-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/axis/__image_snapshots__/axis-test-tsx-axis-轴-箭头样式-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-basic-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-basic-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-color-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-color-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-equal-data-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-equal-data-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-size-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-size-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-size-ratio-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-size-ratio-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-tooltip-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/basic-test-tsx-candlestick-tooltip-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/pan-test-tsx-candlestick-swipe-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/pan-test-tsx-candlestick-swipe-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/pan-test-tsx-candlestick-swipe-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/pan-test-tsx-candlestick-swipe-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/pan-test-tsx-candlestick-swipe-3-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/pan-test-tsx-candlestick-swipe-3-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/candlestick/__image_snapshots__/remove-scrollbar-test-tsx-candlestick-change-data-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/candlestick/__image_snapshots__/remove-scrollbar-test-tsx-candlestick-change-data-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/canvas/__image_snapshots__/canvas-test-tsx-canvas-chart-resize-legend-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/canvas/__image_snapshots__/canvas-test-tsx-canvas-chart-resize-legend-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/canvas/__image_snapshots__/canvas-test-tsx-canvas-chart-update-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/canvas/__image_snapshots__/canvas-test-tsx-canvas-chart-update-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/gauge/__image_snapshots__/gauge-test-tsx-gauge-render-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/gauge/__image_snapshots__/gauge-test-tsx-gauge-render-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/geometry/__image_snapshots__/attr-test-tsx-geometry-attr-size-field-range-支持px-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/geometry/__image_snapshots__/attr-test-tsx-geometry-attr-size-field-range-支持px-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/geometry/__image_snapshots__/attr-test-tsx-geometry-attr-size-支持-px-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/geometry/__image_snapshots__/attr-test-tsx-geometry-attr-size-支持-px-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/geometry/__image_snapshots__/empty-data-test-tsx-empty-data-data-array-is-empty-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/geometry/__image_snapshots__/empty-data-test-tsx-empty-data-data-array-is-empty-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/geometry/__image_snapshots__/get-snap-records-test-tsx-get-snap-records-x-时间转-linear-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/geometry/__image_snapshots__/get-snap-records-test-tsx-get-snap-records-x-时间转-linear-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/geometry/__image_snapshots__/index-test-tsx-geometry-geometry-update-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/geometry/__image_snapshots__/index-test-tsx-geometry-geometry-update-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/geometry/__image_snapshots__/index-test-tsx-geometry-geometry-update-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/geometry/__image_snapshots__/index-test-tsx-geometry-geometry-update-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/geometry/__image_snapshots__/index-test-tsx-geometry-原始数据中有绘图属性-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/geometry/__image_snapshots__/index-test-tsx-geometry-原始数据中有绘图属性-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-guide-超出范围-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-guide-超出范围-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-image-guide支持px传入-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-image-guide支持px传入-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-image-text-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-image-text-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-line-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-line-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-point-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-point-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-rect-guide-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-rect-guide-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-text-guide-动画-支持callback配置-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-text-guide-动画-支持callback配置-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-使用min、max、median-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-使用min、max、median-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-使用百分比字符串代表位置-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-使用百分比字符串代表位置-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-自定义-guide-z-index-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-自定义-guide-z-index-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-自定义-guide-z-index-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/guide-test-tsx-guide-自定义-guide-z-index-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/polyline-test-tsx-polyline-guide-default-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/polyline-test-tsx-polyline-guide-default-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/polyline-test-tsx-polyline-guide-offset-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/polyline-test-tsx-polyline-guide-offset-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/precise-guide-test-tsx-precise-分组柱状图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/precise-guide-test-tsx-precise-分组柱状图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-line-guide-in-category-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-line-guide-in-category-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-tag-guide-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-tag-guide-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-tag-guide-update-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-tag-guide-update-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-tag-guide-update-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-tag-guide-update-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-tag-guide不同方向-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/guide/__image_snapshots__/type-test-tsx-guide-tag-guide不同方向-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/index.test.tsx: -------------------------------------------------------------------------------- 1 | import { Geometry } from '../../src/components'; 2 | 3 | describe('Components', () => { 4 | it('Component', () => { 5 | expect(Geometry).not.toBe(null); 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/dodge-pan-test-tsx-dodge-pan-init-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/dodge-pan-test-tsx-dodge-pan-init-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/dodge-pan-test-tsx-dodge-pan-pan-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/dodge-pan-test-tsx-dodge-pan-pan-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/mul-interaction-test-tsx-多交互-zoom-tooltip-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/mul-interaction-test-tsx-多交互-zoom-tooltip-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-pan-事件-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-pan-事件-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-初始状态-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-初始状态-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-多次缩小-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-多次缩小-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-多次缩小-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-多次缩小-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-放大-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-cate类型-放大-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-dodge-类型-pan-事件-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-dodge-类型-pan-事件-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-dodge-类型-初始化-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-dodge-类型-初始化-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-pan-事件-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-pan-事件-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-初始化-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-初始化-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-多次缩小-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-多次缩小-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-多次缩小-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-多次缩小-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-放大-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/pan-test-tsx-平移和缩放-平移和缩放-linear-类型-放大-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-swip-初始化-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-swip-初始化-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-初始化-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-初始化-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-多次缩小-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-多次缩小-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-多次缩小-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-多次缩小-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-斜移-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-linear-类型-斜移-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-初始化-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-初始化-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-多次缩小-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-多次缩小-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-多次缩小-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-多次缩小-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-斜移-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interaction/__image_snapshots__/roam-test-tsx-全局漫游模式-斜移和缩放-sensitive-灵明度-斜移-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/example-test-tsx-柱图示例-区间柱状图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/example-test-tsx-柱图示例-区间柱状图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/example-test-tsx-柱图示例-基础柱状图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/example-test-tsx-柱图示例-基础柱状图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/example-test-tsx-柱图示例-渐变色柱状图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/example-test-tsx-柱图示例-渐变色柱状图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/example-test-tsx-柱图示例-纹理柱状图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/example-test-tsx-柱图示例-纹理柱状图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/interval-test-tsx-interval-render-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/interval-test-tsx-interval-render-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/interval-test-tsx-interval-start-on-zero-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/interval-test-tsx-interval-start-on-zero-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/rect-stack-test-tsx-图例-饼图图例-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/rect-stack-test-tsx-图例-饼图图例-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-cancelable-false-饼图空白区域点击-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-cancelable-false-饼图空白区域点击-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-改变默认值-改变默认值-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-改变默认值-改变默认值-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-改变默认值-改变默认值-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-改变默认值-改变默认值-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-press-事件-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-press-事件-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-style-为函数-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-style-为函数-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-style-为函数-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-style-为函数-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-style-为函数-3-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-style-为函数-3-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-3-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-3-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-不可取消-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-不可取消-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-不可取消-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-不可取消-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-不可取消-3-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-单选-不可取消-3-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-多选-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-多选-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-多选-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-多选-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-多选-3-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-柱图-多选-3-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-饼图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-饼图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-饼图-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-饼图-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-饼图-3-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/selected-test-tsx-数据选中-饼图-3-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/size-zoom-test-tsx-显示比例-size-zoom-回调-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/size-zoom-test-tsx-显示比例-size-zoom-回调-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/__image_snapshots__/size-zoom-test-tsx-显示比例-固定-size-zoom-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/__image_snapshots__/size-zoom-test-tsx-显示比例-固定-size-zoom-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-分组条形图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-分组条形图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-基础条形图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-基础条形图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-基础条形图-转置-设置固定size-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-基础条形图-转置-设置固定size-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-堆叠条形图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-堆叠条形图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-堆叠条形图-type-stack-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/bar-test-tsx-条形图-堆叠条形图-type-stack-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-分组柱图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-分组柱图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-区间柱状图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-区间柱状图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-南丁格尔玫瑰图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-南丁格尔玫瑰图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-基础柱状图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-基础柱状图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-堆叠柱图-max-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-堆叠柱图-max-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-层叠柱图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-层叠柱图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-带负值的分组分组柱图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-带负值的分组分组柱图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-渐变色柱状图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-渐变色柱状图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-百分比层叠柱图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/column-test-tsx-柱状图示例-百分比层叠柱图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-基础环形图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-基础环形图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-基础环形图-数值的和刚好等于nice处理后的最后一个tick值-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-基础环形图-数值的和刚好等于nice处理后的最后一个tick值-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-嵌套环形图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-嵌套环形图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-玫瑰环形图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-玫瑰环形图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-玫瑰环形图-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-玫瑰环形图-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-环形进度条-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/doughnut-test-tsx-环形图-环形进度条-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/funnel-test-tsx-漏斗图-倒置漏斗图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/funnel-test-tsx-漏斗图-倒置漏斗图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/funnel-test-tsx-漏斗图-基础漏斗图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/funnel-test-tsx-漏斗图-基础漏斗图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/pie-test-tsx-饼图-圆角圆环图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/pie-test-tsx-饼图-圆角圆环图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/pie-test-tsx-饼图-基础饼图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/pie-test-tsx-饼图-基础饼图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/pie-test-tsx-饼图-饼图-交互式label-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/pie-test-tsx-饼图-饼图-交互式label-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/pyramid-test-tsx-金字塔图-倒置金字塔-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/pyramid-test-tsx-金字塔图-倒置金字塔-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/interval/example/__image_snapshots__/pyramid-test-tsx-金字塔图-基础金字塔图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/interval/example/__image_snapshots__/pyramid-test-tsx-金字塔图-基础金字塔图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/interval-test-tsx-interval-legend-点击-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/interval-test-tsx-interval-legend-点击-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/interval-test-tsx-interval-legend-点击-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/interval-test-tsx-interval-legend-点击-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/interval-test-tsx-interval-legend-点击-3-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/interval-test-tsx-interval-legend-点击-3-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/interval-test-tsx-interval-legend-点击-4-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/interval-test-tsx-interval-legend-点击-4-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-marker-颜色取实际渲染颜色-默认-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-marker-颜色取实际渲染颜色-默认-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-传入-item-formatter-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-传入-item-formatter-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-传入-value-prefix-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-传入-value-prefix-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-传入-自定义items-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-传入-自定义items-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-传入-自定义items-value-prefix-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例-传入-自定义items-value-prefix-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例数据更新-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例数据更新-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例数据更新-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例数据更新-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-marker-line-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-marker-line-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-position-bottom-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-position-bottom-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-position-left-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-position-left-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-position-right-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-position-right-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-多行-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-多行-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-自定义-items-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-自定义-items-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-自定义-items-marker-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-自定义-items-marker-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-自定义样式-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-自定义样式-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-设置-item-style-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-设置-item-style-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-设置-name-style-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-设置-name-style-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-默认-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-图例样式-默认-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-点击交互-不可点击-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-点击交互-不可点击-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-点击交互-不可点击-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-点击交互-不可点击-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-点击交互-可点击-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-点击交互-可点击-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-点击交互-可点击-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/legend-test-tsx-图例-点击交互-可点击-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-bottom-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-bottom-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-left-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-left-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-right-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-right-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-top-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-top-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-top-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-top-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-top-3-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/legend/__image_snapshots__/pie-test-tsx-图例-position-饼图图例-top-3-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-y-是-array-y-轴为数组-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-y-是-array-y-轴为数组-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-y-是-array-堆叠折线-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-y-是-array-堆叠折线-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-y轴数据格式转换(刻度值较大的情形)-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-y轴数据格式转换(刻度值较大的情形)-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-存在空值-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-存在空值-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-指定线宽-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-指定线宽-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-按条件判断隐藏-x-坐标轴-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-按条件判断隐藏-x-坐标轴-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-连接空值数据-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-其他折线图-连接空值数据-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-基础折线图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-基础折线图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-带点-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-带点-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-曲线-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-曲线-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-特殊数据折线图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-特殊数据折线图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-阶梯图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-基础折线图-阶梯图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-对比折线图-style支持传入函数-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-对比折线图-style支持传入函数-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-对比折线图-折线锚点-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-对比折线图-折线锚点-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-对比折线图-虚实线对比-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/line-test-tsx-折线图-对比折线图-虚实线对比-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图-grid-为-line-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图-grid-为-line-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图-label-为-null-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图-label-为-null-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图交互:选中维度的-snap-点设置不同色-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图交互:选中维度的-snap-点设置不同色-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图展示-tooltip-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图展示-tooltip-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图展示-数据为-0-时-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图展示-数据为-0-时-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图展示辅助线-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-雷达图展示辅助线-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-面积雷达图图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/radar-test-tsx-雷达图-面积雷达图-面积雷达图图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/size-zoom-test-tsx-显示比例-size-zoom-回调-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/size-zoom-test-tsx-显示比例-size-zoom-回调-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/line/__image_snapshots__/size-zoom-test-tsx-显示比例-固定-size-zoom-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/line/__image_snapshots__/size-zoom-test-tsx-显示比例-固定-size-zoom-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/pictorial/__image_snapshots__/basic-test-tsx-pictorial-ellipse-symbol-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/pictorial/__image_snapshots__/basic-test-tsx-pictorial-ellipse-symbol-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/pictorial/__image_snapshots__/basic-test-tsx-pictorial-image-symbol-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/pictorial/__image_snapshots__/basic-test-tsx-pictorial-image-symbol-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-右边超过最大显示个数,第一象限显示在第四象限-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-右边超过最大显示个数,第一象限显示在第四象限-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-右边超过最大显示个数,第二象限显示在第三象限-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-右边超过最大显示个数,第二象限显示在第三象限-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-左边超过最大显示个数,第三象限显示在第二象限-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-左边超过最大显示个数,第三象限显示在第二象限-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-左边超过最大显示个数,第四象限显示在第一象限-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-左边超过最大显示个数,第四象限显示在第一象限-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-默认显示-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/pieLabel/__image_snapshots__/pie-label-test-tsx-pie-label-默认显示-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/point/__image_snapshots__/point-test-tsx-point-chart-基础点图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/point/__image_snapshots__/point-test-tsx-point-chart-基础点图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/point/__image_snapshots__/point-test-tsx-point-chart-基础点图-极坐标-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/point/__image_snapshots__/point-test-tsx-point-chart-基础点图-极坐标-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/point/__image_snapshots__/point-test-tsx-point-chart-折线图带点-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/point/__image_snapshots__/point-test-tsx-point-chart-折线图带点-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/point/__image_snapshots__/point-test-tsx-point-chart-气泡图-配置size入参-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/point/__image_snapshots__/point-test-tsx-point-chart-气泡图-配置size入参-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/point/__image_snapshots__/shape-test-tsx-shape-类型-default-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/point/__image_snapshots__/shape-test-tsx-shape-类型-default-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/point/__image_snapshots__/shape-test-tsx-shape-类型-hollow-circle-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/point/__image_snapshots__/shape-test-tsx-shape-类型-hollow-circle-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/point/__image_snapshots__/shape-test-tsx-shape-类型-rect-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/point/__image_snapshots__/shape-test-tsx-shape-类型-rect-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/sunburst/__image_snapshots__/index-test-tsx-sunburst-render-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/sunburst/__image_snapshots__/index-test-tsx-sunburst-render-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/alias-test-tsx-alias-别名-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/alias-test-tsx-alias-别名-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-render-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-render-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-x-tip-y-tip相关配置-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-x-tip-y-tip相关配置-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-右边届-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-右边届-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-自动换行-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-自动换行-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-自动换行-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-自动换行-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-自定义文本内容-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-自定义文本内容-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-超出边界会展示边界值-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-超出边界会展示边界值-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-默认展示-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-默认展示-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-默认展示-tooltip-在-geometry-之前-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-默认展示-tooltip-在-geometry-之前-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-默认展示更新-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-默认展示更新-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-默认展示更新(新增图形元素导致的坐标变动)-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-tooltip-默认展示更新(新增图形元素导致的坐标变动)-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-分组柱状图-tooltip-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-分组柱状图-tooltip-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-分组柱状图-tooltip-transposed-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/tooltip/__image_snapshots__/tooltip-test-tsx-tooltip-分组柱状图-tooltip-transposed-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-render-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-render-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-select-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-select-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-select-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-select-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-select-trigger-on-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-select-trigger-on-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-select-trigger-on-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-select-trigger-on-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-space-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-space-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-反选-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-反选-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-反选-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-反选-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-取消反选-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-取消反选-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-取消反选-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-取消反选-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-多选-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-多选-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-多选-2-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/components/treemap/__image_snapshots__/index-test-tsx-treemap-多选-2-snap.png -------------------------------------------------------------------------------- /packages/f2/test/index.test.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '../src'; 2 | 3 | describe('Index', () => { 4 | it('Index', () => { 5 | expect(Component).not.toBe(null); 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /packages/f2/test/issues/__image_snapshots__/1835-test-tsx-曲线-smooth-曲线-smooth-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/issues/__image_snapshots__/1835-test-tsx-曲线-smooth-曲线-smooth-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/issues/__image_snapshots__/1867-test-tsx-x-轴字段不存在-x-轴字段不存在-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/issues/__image_snapshots__/1867-test-tsx-x-轴字段不存在-x-轴字段不存在-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/timeline/__image_snapshots__/line-race-test-tsx-chart-chart-render-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/timeline/__image_snapshots__/line-race-test-tsx-chart-chart-render-1-snap.png -------------------------------------------------------------------------------- /packages/f2/test/timeline/__image_snapshots__/radar-change-test-tsx-雷达图-面积雷达图图-1-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/packages/f2/test/timeline/__image_snapshots__/radar-change-test-tsx-雷达图-面积雷达图图-1-snap.png -------------------------------------------------------------------------------- /packages/f2/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "preserveSymlinks": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/f2/typing.d.ts: -------------------------------------------------------------------------------- 1 | import '../../typings'; 2 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'packages/*' 3 | - 'site' 4 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5-0_bug/first_render.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import FirstRender from '../../../components/FirstRender'; 3 | 4 | import F2 from '../../../statics/f2_5-0_bug'; 5 | 6 | export default () => { 7 | return ; 8 | }; 9 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5-0_bug/multi_render.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import MultiRender from '../../../components/MultiRender'; 3 | import * as F2 from '../../../statics/f2_5-0_bug'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5-0_bug/pan.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Pan from '../../../components/Pan'; 3 | import * as F2 from '../../../statics/f2_5-0_bug'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5-0_bug/pinch.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Pinch from '../../../components/Pinch'; 3 | import * as F2 from '../../../statics/f2_5-0_bug'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5-0_bug/tooltip.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Tooltip from '../../../components/Tooltip'; 3 | import * as F2 from '../../../statics/f2_5-0_bug'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_21/first_render.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import FirstRender from '../../../components/FirstRender'; 3 | import * as F2 from '../../../statics/f2_5_0_21'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_21/multi_render.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import MultiRender from '../../../components/MultiRender'; 3 | import * as F2 from '../../../statics/f2_5_0_21'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_21/pan.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Pan from '../../../components/Pan'; 3 | import * as F2 from '../../../statics/f2_5_0_21'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_21/pinch.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Pinch from '../../../components/Pinch'; 3 | import * as F2 from '../../../statics/f2_5_0_21'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_21/tooltip.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Tooltip from '../../../components/Tooltip'; 3 | import * as F2 from '../../../statics/f2_5_0_21'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_29/first_render.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import FirstRender from '../../../components/FirstRender'; 3 | import * as F2 from '../../../statics/f2_5_0_29'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_29/multi_render.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import MultiRender from '../../../components/MultiRender'; 3 | import * as F2 from '../../../statics/f2_5_0_29'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_29/pan.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Pan from '../../../components/Pan'; 3 | import * as F2 from '../../../statics/f2_5_0_29'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_29/pinch.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Pinch from '../../../components/Pinch'; 3 | import * as F2 from '../../../statics/f2_5_0_29'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_29/tooltip.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Tooltip from '../../../components/Tooltip'; 3 | import * as F2 from '../../../statics/f2_5_0_29'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_pendding/first_render.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import FirstRender from '../../../components/FirstRender'; 3 | import * as F2 from '../../../statics/f2_5_0_pendding'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_pendding/multi_render.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import MultiRender from '../../../components/MultiRender'; 3 | import * as F2 from '../../../statics/f2_5_0_pendding'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_pendding/pan.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Pan from '../../../components/Pan'; 3 | import * as F2 from '../../../statics/f2_5_0_pendding'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_pendding/pinch.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Pinch from '../../../components/Pinch'; 3 | import * as F2 from '../../../statics/f2_5_0_pendding'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/5_0_pendding/tooltip.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Tooltip from '../../../components/Tooltip'; 3 | import * as F2 from '../../../statics/f2_5_0_pendding'; 4 | 5 | export default () => { 6 | return ; 7 | }; 8 | -------------------------------------------------------------------------------- /site/.dumi/pages/benchmark/index.less: -------------------------------------------------------------------------------- 1 | .main { 2 | width: 1000px; 3 | margin: 0 auto; 4 | } 5 | 6 | table { 7 | border-collapse: collapse; 8 | text-align: center; 9 | } 10 | table td, 11 | table th { 12 | border: 1px solid #cad9ea; 13 | color: #666; 14 | height: 30px; 15 | } 16 | table thead th { 17 | background-color: #cce8eb; 18 | width: 100px; 19 | } 20 | table tr:nth-child(odd) { 21 | background: #fff; 22 | } 23 | table tr:nth-child(even) { 24 | background: #f5fafa; 25 | } 26 | -------------------------------------------------------------------------------- /site/.dumi/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "include": [ 4 | "**/*" 5 | ] 6 | } -------------------------------------------------------------------------------- /site/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/site/.eslintrc -------------------------------------------------------------------------------- /site/.gitignore: -------------------------------------------------------------------------------- 1 | # dumi2 website builder 2 | .dumi/tmp 3 | .dumi/tmp-production 4 | # Dead links report 5 | dead-links-report.log 6 | # server 7 | server 8 | -------------------------------------------------------------------------------- /site/api-extractor.json: -------------------------------------------------------------------------------- 1 | { 2 | "mainEntryPointFilePath": "/lib/index.d.ts", 3 | "apiReport": { 4 | "enabled": false 5 | }, 6 | "docModel": { 7 | "enabled": false 8 | }, 9 | "dtsRollup": { 10 | "enabled": true 11 | }, 12 | "tsdocMetadata": { 13 | "enabled": false 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /site/docs/api/chart/area.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 面积 - Area 3 | order: 5 4 | --- 5 | 6 | 用于绘制区域图(面积图)、层叠区域图、区间区域图等, 继承自 [几何标记 Geometry](geometry) 7 | 8 | ## Usage 9 | 10 | ```jsx 11 | import { Canvas, Chart, Area } from '@antv/f2'; 12 | const data = [ 13 | { genre: 'Sports', sold: 5 }, 14 | { genre: 'Strategy', sold: 10 }, 15 | { genre: 'Action', sold: 20 }, 16 | { genre: 'Shooter', sold: 20 }, 17 | { genre: 'Other', sold: 40 }, 18 | ]; 19 | 20 | 21 | 22 | 23 | 24 | ; 25 | ``` 26 | 27 | ## Props 28 | 29 | 几何标记统一 Props 详见:[几何标记](geometry#props) 30 | 31 | ### connectNulls 32 | 33 | 是否连接空值, 默认为 `false`,不连接 34 | 35 | ## 方法 36 | 37 | 几何标记统一方法 详见:[几何标记](geometry#方法) 38 | -------------------------------------------------------------------------------- /site/docs/api/chart/line.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 线 - Line 3 | order: 2 4 | --- 5 | 6 | 图表里面的折线类型, 用于绘制折线图、曲线图、阶梯线图等, 继承自 [几何标记 Geometry](geometry) 7 | 8 | ## Usage 9 | 10 | ```jsx 11 | import { Canvas, Chart, Line } from '@antv/f2'; 12 | const data = [ 13 | { genre: 'Sports', sold: 5 }, 14 | { genre: 'Strategy', sold: 10 }, 15 | { genre: 'Action', sold: 20 }, 16 | { genre: 'Shooter', sold: 20 }, 17 | { genre: 'Other', sold: 40 }, 18 | ]; 19 | 20 | 21 | 22 | 23 | 24 | ; 25 | ``` 26 | 27 | ## Props 28 | 29 | 几何标记统一 Props 详见:[几何标记](geometry#props) 30 | 31 | ### connectNulls 32 | 33 | 是否连接空值, 默认为 `false`,不连接 34 | 35 | ## 方法 36 | 37 | 几何标记统一方法 详见:[几何标记](geometry#方法) 38 | -------------------------------------------------------------------------------- /site/docs/api/chart/point.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 点 - Point 3 | order: 4 4 | --- 5 | 6 | 用于绘制点图、折线图中的点等, 继承自 [几何标记 Geometry](geometry) 7 | 8 | ## Usage 9 | 10 | ```jsx 11 | import { Canvas, Chart, Point } from '@antv/f2'; 12 | const data = [ 13 | { genre: 'Sports', sold: 5 }, 14 | { genre: 'Strategy', sold: 10 }, 15 | { genre: 'Action', sold: 20 }, 16 | { genre: 'Shooter', sold: 20 }, 17 | { genre: 'Other', sold: 40 }, 18 | ]; 19 | 20 | 21 | 22 | 23 | 24 | ; 25 | ``` 26 | 27 | ## Props 28 | 29 | 几何标记统一 Props 详见:[几何标记](geometry#props) 30 | 31 | ## 方法 32 | 33 | 几何标记统一方法 详见:[几何标记](geometry#方法) 34 | -------------------------------------------------------------------------------- /site/docs/api/timeline.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 时间轴 - Timeline 3 | order: 3 4 | redirect_from: 5 | - /zh/docs/api 6 | --- 7 | 8 | 提供组件事件播放的控制 9 | 10 | ## Usage 11 | 12 | ```jsx 13 | import { Timeline, Canvas, Component } from '@antv/f2'; 14 | 15 | 16 | 17 | 18 | 19 | ... 20 | 21 | ; 22 | ``` 23 | 24 | ## Props 25 | 26 | ### delay: number 27 | 28 | 组件播放的间隔时间 29 | -------------------------------------------------------------------------------- /site/examples/area/area/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Area Chart 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/area/area/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 基础面积图 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/area/stacked/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "stacked.jsx", 9 | "title": "层叠面积图", 10 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*_SQ6TItK-U8AAAAAAAAAAABkARQnAQ" 11 | }, 12 | { 13 | "filename": "area-none.jsx", 14 | "title": "区域图(存在空值)", 15 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*-nK6RrEhNp8AAAAAAAAAAABkARQnAQ" 16 | }, 17 | { 18 | "filename": "percent.jsx", 19 | "title": "百分比层叠面积图", 20 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*o8X_TZ1reQUAAAAAAAAAAABkARQnAQ" 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /site/examples/area/stacked/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Stacked Area Chart 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/area/stacked/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 层叠面积图 3 | order: 1 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/bar/bar/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "bar.jsx", 9 | "title": "基础条状图", 10 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*ozp8QYSQee8AAAAAAAAAAABkARQnAQ" 11 | }, 12 | { 13 | "filename": "range.jsx", 14 | "title": "区间条状图", 15 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/a3d7617d-a2d0-4729-b1d8-24df26ffa82c.jpg" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/bar/bar/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Bar Chart 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/bar/bar/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 基础条状图 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/bar/dodge/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "dodge.jsx", 9 | "title": "分组柱状图", 10 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*MF4lTYiYXV8AAAAAAAAAAABkARQnAQ" 11 | }, 12 | { 13 | "filename": "negetive.jsx", 14 | "title": "带负值", 15 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*KONhS7Py0XMAAAAAAAAAAABkARQnAQ" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/bar/dodge/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Dodge Bar Chart 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/bar/dodge/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 分组条状图 3 | order: 1 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/bar/stack/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "stack.jsx", 9 | "title": "层叠条状图", 10 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*JHcUR7EEbo8AAAAAAAAAAABkARQnAQ" 11 | }, 12 | { 13 | "filename": "percent.jsx", 14 | "title": "百分比层叠柱状图", 15 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/f8f994c4-064e-4d7c-a153-63f19553c6e8.jpg" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/bar/stack/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Stack Bar Chart 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/bar/stack/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 层叠柱状图 3 | order: 2 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/basic/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "base.jsx", 9 | "title": "基础演示", 10 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/92dbeff4-526e-48df-b122-72ed50395b79.jpg" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /site/examples/basic/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Demo 3 | order: 0 4 | icon: column 5 | redirect_from: 6 | - /en/examples 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /site/examples/basic/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 基础演示 3 | order: 0 4 | icon: column 5 | redirect_from: 6 | - /zh/examples 7 | --- 8 | -------------------------------------------------------------------------------- /site/examples/candlestick/candlestick/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "base.jsx", 9 | "title": "基础 K 线图", 10 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/9e61f9de-14eb-4ecc-becf-1bb2a9c29ea9.png" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /site/examples/candlestick/candlestick/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Candlestick Chart 3 | order: 0 4 | icon: candlestick 5 | --- 6 | -------------------------------------------------------------------------------- /site/examples/candlestick/candlestick/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: K 线图 3 | order: 0 4 | icon: candlestick 5 | --- 6 | -------------------------------------------------------------------------------- /site/examples/column/column/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Column Chart 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/column/column/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 基础柱状图 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/column/dodge/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "dodge.jsx", 9 | "title": "分组柱状图", 10 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*97qoRaK-4qAAAAAAAAAAAABkARQnAQ" 11 | }, 12 | { 13 | "filename": "negetive.jsx", 14 | "title": "带负值的分组柱状图", 15 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*WDqYSYm6HPAAAAAAAAAAAABkARQnAQ" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/column/dodge/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Dodge Column Chart 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/column/dodge/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 分组柱状图 3 | order: 1 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/column/stack/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "stack.jsx", 9 | "title": "层叠柱状图", 10 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*4wicQ6b0U2cAAAAAAAAAAABkARQnAQ" 11 | }, 12 | { 13 | "filename": "percent.jsx", 14 | "title": "百分比层叠柱状图", 15 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*WZ5jQqzGVSwAAAAAAAAAAABkARQnAQ" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/column/stack/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Stack Column Chart 3 | order: 2 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/column/stack/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 层叠柱状图 3 | order: 2 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/component/guide/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Guide 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/component/guide/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 标注 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/component/legend/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "custom.jsx", 9 | "title": "自定义图例", 10 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/f2904dad-1828-45a9-aacd-d1a3f623cddd.png" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /site/examples/component/legend/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Legend 3 | order: 2 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/component/legend/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 图例 3 | order: 2 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/component/shape/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "shape.jsx", 9 | "title": "图形标签", 10 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/dc931299-e23e-40b1-b392-ffada104cd50.png" 11 | }, 12 | { 13 | "filename": "event.jsx", 14 | "title": "图形标签交互", 15 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/dc931299-e23e-40b1-b392-ffada104cd50.png" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/component/shape/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Shape 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/component/shape/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 图形标签 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/creative/case/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: gallery 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/creative/case/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 场景案例 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/creative/plugin/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "rough.jsx", 9 | "title": "手绘风格", 10 | "screenshot": "https://mdn.alipayobjects.com/huamei_khb4xj/afts/img/A*RwR6SYsUOGQAAAAAAAAAAAAADq2NAQ/original" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /site/examples/creative/plugin/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: plugin 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/creative/plugin/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 插件 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/funnel/funnel/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "funnel.jsx", 9 | "title": "基础漏斗图", 10 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/de13d1df-dd50-4637-be20-0b89b483b977.jpg" 11 | }, 12 | { 13 | "filename": "stroke.jsx", 14 | "title": "有间距", 15 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/4f420a5d-6a81-4ef8-9cba-62106bbdb593.jpg" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/funnel/funnel/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Funnel Chart 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/funnel/funnel/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 基础漏斗图 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/funnel/pyramid/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "pyramid.jsx", 9 | "title": "基础金字塔图", 10 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/0ea9b22a-139b-4565-bc45-1dcec0b8e739.jpg" 11 | }, 12 | { 13 | "filename": "stroke.jsx", 14 | "title": "有间距", 15 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/ca7a35dd-b1e9-46b4-a802-54ee4c5e3501.jpg" 16 | }, 17 | { 18 | "filename": "scale.jsx", 19 | "title": "旋转向下", 20 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/8b69153b-d84f-47c8-85e3-73c040c2ea59.jpg" 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /site/examples/funnel/pyramid/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Pyramid Chart 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/funnel/pyramid/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 金字塔图 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/line/dynamic/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "gold.jsx", 9 | "title": "某黄金实时金价走势图", 10 | "screenshot": "https://gw.alipayobjects.com/zos/rmsportal/nhKcpmYFRYcSeQgTQSZW.png" 11 | }, 12 | { 13 | "filename": "dynamic.jsx", 14 | "title": "实时折线", 15 | "screenshot": "https://gw.alipayobjects.com/zos/rmsportal/McevuIUuSZcUbkBEOGRc.gif" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/line/dynamic/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Dynamic Line Chart 3 | order: 2 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/line/dynamic/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 动态折线图 3 | order: 2 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/line/line/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Line Chart 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/line/line/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 基础折线图 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/line/multiple/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "series.jsx", 9 | "title": "走势对比", 10 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*BDubSYaFpboAAAAAAAAAAABkARQnAQ" 11 | }, 12 | { 13 | "filename": "shapes.jsx", 14 | "title": "虚实线对比", 15 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*V0TlQKyD5cYAAAAAAAAAAABkARQnAQ" 16 | }, 17 | { 18 | "filename": "customize-tootlip.jsx", 19 | "title": "折线描点", 20 | "screenshot": "https://gw.alipayobjects.com/zos/rmsportal/oliZtaGQYjgTlOzebiog.png" 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /site/examples/line/multiple/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Compare Line Chart 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/line/multiple/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 对比折线图 3 | order: 1 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/line/other/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "null.jsx", 9 | "title": "存在空值", 10 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*hHrSSp5Kkk8AAAAAAAAAAABkARQnAQ" 11 | }, 12 | { 13 | "filename": "connect-null.jsx", 14 | "title": "连接空值数据", 15 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*GmD8Q4j3jtoAAAAAAAAAAABkARQnAQ" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/line/other/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Other Line Chart 3 | order: 3 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/line/other/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 其他折线图 3 | order: 3 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/other/area/demo/gauge.jsx: -------------------------------------------------------------------------------- 1 | /** @jsx jsx */ 2 | import { jsx, Canvas, Gauge } from '@antv/f2'; 3 | 4 | const context = document.getElementById('container').getContext('2d'); 5 | 6 | const { props } = ( 7 | 8 | 18 | 19 | ); 20 | 21 | const chart = new Canvas(props); 22 | chart.render(); 23 | -------------------------------------------------------------------------------- /site/examples/other/area/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "gauge.jsx", 9 | "title": "仪表盘", 10 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/85e35a0f-177f-4527-8960-f991d2077990.png" 11 | }, 12 | { 13 | "filename": "custom-gauge.jsx", 14 | "title": "自定义仪表盘", 15 | "screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/9ba5f09b-db45-4bb4-830e-d09c50b65b37.png" 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /site/examples/other/area/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Gauge 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/other/area/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 仪表盘 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/pie/donut/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Donut Chart 3 | order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/pie/donut/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 环形图 3 | order: 1 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/pie/pie/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Pie Chart 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/pie/pie/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 基础饼图 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/pie/rose/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "rose.jsx", 9 | "title": "玫瑰图", 10 | "screenshot": "https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*agBZRoedYKQAAAAAAAAAAABkARQnAQ" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /site/examples/pie/rose/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Nightingale Rose Chart 3 | order: 2 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/pie/rose/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 南丁格尔玫瑰图 3 | order: 2 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/point/scatter/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Point Chart 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/point/scatter/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 散点图 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/radar/radar/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basic Radar Chart 3 | order: 0 4 | --- 5 | -------------------------------------------------------------------------------- /site/examples/radar/radar/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 面积雷达图 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/relation/flamegraph/demo/flamegraph.jsx: -------------------------------------------------------------------------------- 1 | /** @jsx jsx */ 2 | import { jsx, Canvas, Sunburst } from '@antv/f2'; 3 | 4 | const context = document.getElementById('container').getContext('2d'); 5 | 6 | fetch('https://gw.alipayobjects.com/os/antfincdn/9ZSLra9rgm/basic.json') 7 | .then((res) => res.json()) 8 | .then((data) => { 9 | const { props } = ( 10 | 11 | 19 | 20 | ); 21 | 22 | const chart = new Canvas(props); 23 | chart.render(); 24 | }); 25 | -------------------------------------------------------------------------------- /site/examples/relation/flamegraph/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "flamegraph.jsx", 9 | "title": "火焰图", 10 | "screenshot": "https://gw.alipayobjects.com/zos/antfincdn/FqRUZcyzh5/20211116113650.jpg" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /site/examples/relation/flamegraph/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: flamegraph 3 | order: 2 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/relation/flamegraph/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 火焰图 3 | order: 2 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/relation/sunburst/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "sunburst.jsx", 9 | "title": "旭日图", 10 | "screenshot": "https://gw.alipayobjects.com/zos/antfincdn/Zn0pF0Eq%269/20211116113611.jpg" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /site/examples/relation/sunburst/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: sunburst 3 | order: 1 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/relation/sunburst/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 旭日图 3 | order: 1 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/relation/treemap/demo/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": { 3 | "zh": "中文分类", 4 | "en": "Category" 5 | }, 6 | "demos": [ 7 | { 8 | "filename": "treemap.jsx", 9 | "title": "矩形式树图", 10 | "screenshot": "https://gw.alipayobjects.com/zos/antfincdn/veD1IGEyne/20211116113745.jpg" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /site/examples/relation/treemap/index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: treemap 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/examples/relation/treemap/index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 矩形式树图 3 | order: 0 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /site/mako.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "optimization": { 3 | "skipModules": false, 4 | "concatenateModules": false 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /site/site/global.less: -------------------------------------------------------------------------------- 1 | .mobile-container { 2 | width: 395px !important; 3 | height: 590px; 4 | background-image: url(https://gw.alipayobjects.com/zos/rmsportal/JAxcjwaQvIsAWvXUrjbY.png); 5 | background-size: 100%; 6 | background-repeat: no-repeat; 7 | overflow: hidden; 8 | } 9 | 10 | .mobile-header { 11 | height: 64px; 12 | overflow: hidden; 13 | } 14 | 15 | .mobile-content { 16 | margin: 15px 10px; 17 | background-color: #fff; 18 | cursor: url('https://gw.alipayobjects.com/mdn/rms_4f0ff1/afts/img/A*eRn5S6F8qVgAAAAAAAAAAABkARQnAQ') 10 10, auto; 19 | 20 | canvas { 21 | display: block; 22 | width: 375px; 23 | height: 260px; 24 | } 25 | } 26 | 27 | .mobile-footer { 28 | 29 | } 30 | -------------------------------------------------------------------------------- /site/src/f2-react.ts: -------------------------------------------------------------------------------- 1 | import * as F2React from '@antv/f-react'; 2 | 3 | export default F2React; 4 | -------------------------------------------------------------------------------- /site/src/f2.ts: -------------------------------------------------------------------------------- 1 | import * as F2 from '@antv/f2'; 2 | 3 | export default F2; 4 | -------------------------------------------------------------------------------- /site/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "jsx": "react", 5 | "jsxFactory": "React.createElement", 6 | "jsxFragmentFactory": "React.Fragment", 7 | "esModuleInterop": true, 8 | "resolveJsonModule": true 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "esnext", 4 | "esModuleInterop": true, 5 | "target": "es5", 6 | "importHelpers": true, 7 | "declaration": true, 8 | "jsx": "react", 9 | "jsxFactory": "jsx", 10 | "jsxFragmentFactory": "Fragment", 11 | "moduleResolution": "node", 12 | "useDefineForClassFields": false, 13 | "resolveJsonModule": true, 14 | "skipLibCheck": true, 15 | "experimentalDecorators": true 16 | }, 17 | "exclude": [ 18 | "scripts", 19 | "node_modules" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /typings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antvis/F2/382eaefd0834e0b915f059827e0f2e48ddc18728/typings.d.ts --------------------------------------------------------------------------------