VisActor/VChart

[Bug] circularProgress maxValue not work

オープン

#3,037 opened on 2024/08/05

 (1 件のコメント) (0 件のリアクション) (2 人の担当者)TypeScript (212 件のフォーク)user submission
buggood first issue

Repository metrics

Stars
 (1,800 個のスター)
PR merge metrics
 (平均マージ 3d 12h) (30d で 15 merged PRs)

説明

Version

1.11.10

Link to Minimal Reproduction

1.11.10

Steps to Reproduce

const radius = 0.8;

const spec = {
  type: 'circularProgress',
  data: [
    {
      id: 'id0',
      values: [
        {
          type: 'Tradition Industries',
          value: 10,
        }
      ]
    }
  ],
  valueField: 'value',
  categoryField: 'type',
  seriesField: 'type',
  radius,
  innerRadius: 0.7,
  roundCap: true,
  cornerRadius: 5,
  maxValue: 1000,
  
};

const vchart = new VChart(spec, { dom: CONTAINER_ID });
vchart.renderSync();

// Just for the convenience of console debugging, DO NOT COPY!
window['vchart'] = vchart;

Current Behavior

circularProgress maxValue not work

Expected Behavior

circularProgress maxValue work

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

コントリビューターガイド