Skip to content

[Bug] word-cloud is not drawn with only one data #299

@xiaoluoHe

Description

@xiaoluoHe

Version

1.1.0

Link to Minimal Reproduction

none

Steps to Reproduce

const spec = {
  type: 'wordCloud',
  nameField: 'name',
  valueField: 'value',
  data: {
    name: 'baseData',
    values: [
      {
        name: '螺蛳粉',
        value: 957
      },
    ]
  }
};

Current Behavior

blank canvas

Expected Behavior

show the word

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

bpbugSomething isn't workingonlinebiz

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions