antvis / antvis/G2

饼图、玉珏图如何设置数据展示的顺时针、逆时针

Open
#3,646 1 comment 0 reactions 1 assignee View on GitHub

@pearmini is already working on this.

Since Sep 30, 2021.

Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

3.X版本下可以通过scale坐标系缩放实现,4.X版本下应用数据会错乱

 chart.coord('polar', {
        innerRadius: 0.1
    }).transpose()
      .scale(1, -1)
  • G2 Version:
  • Platform:
  • Mini Showcase(like screenshots):
  • CodePen Link:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.