Skip to content

🐛 [BUG] Pie/Donut/sunburst/stack pie chart render as blank if the value difference in data is huge #3875

Description

@ShivamGupta-Opus

🐛 Bug description [Please make everyone to understand it]

Image

📷 Step to reproduce: As in the screenshot, pie chart fails to render if the difference in the angle values in the data is huge. example for data -

const data = [
{ type: 'Category1', value: 15623893765821.97 },
{ type: 'Category2', value: 2453.72 }
];

🏞 Expected result- chart should render, category2 will not be visible but it will be present in the legend and should allow other features like enabling particular legend value

  • G2Plot Version: 2.4.25
  • Platform: windows 11, chrome 144.0.7559.133

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions