Skip to content

[Bug]: Limit of segments in pie chart #1456

Description

@Vectrex

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

Creating a pie (or donut) chart with more than 15 series values results in gap and no rendering of segments beyond these 15 value.

Displayed correctly:

new PieChart(
      myContainer,
      {
        series: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],
      },

15 slices and gap:

new PieChart(
      myContainer,
      {
        series: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,50],
      },

The gap is the same size as the segment should be.

Reproduction

Chartist version

1.5.0

Possible solution

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions