VisActor / VisActor/VChart

[Bug] arc label of position `inside-outer` display wrong

Open
#3,925 0 comments 0 reactions 1 assignee View on GitHub

@xile611 is already working on this.

Since Apr 24, 2025.

bug VMind
Dominant language
TypeScript
Stars
1.8k
Forks
221
Avg merge
1d 6h
Merged PRs (30d)
26

Description

Version

1.13.9

Link to Minimal Reproduction
Steps to Reproduce
const spec ={
  "type": "pie",
  "data": [
    {
      "id": "id0",
      "values": [
        {
          "type": "oxygen",
          "value": "46.60"
        },
        {
          "type": "silicon",
          "value": "27.72"
        },
        {
          "type": "aluminum",
          "value": "8.13"
        },
        {
          "type": "iron",
          "value": "5"
        },
        {
          "type": "calcium",
          "value": "3.63"
        },
        {
          "type": "sodium",
          "value": "2.83"
        },
        {
          "type": "potassium",
          "value": "2.59"
        },
        {
          "type": "others",
          "value": "3.5"
        }
      ]
    }
  ],
  "outerRadius": 0.8,
  "valueField": "value",
  "categoryField": "type",
  "title": {
    "visible": true,
    "text": "Statistics of Surface Element Content"
  },
  "legends": {
    "visible": true,
    "orient": "left"
  },
  "label": {
    "visible": true,
    "position": "inside-outer"
  }
}
Current Behavior
Image
Expected Behavior

标签的颜色似乎没有自动反色,视觉优点诡异

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

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.