Pie chart initial slice angle

Open
#482 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by finding the pygal.Pie rendering and configuration entry points and checking existing tests for pie output. Confirm how an initial slice angle should be represented, then add coverage and verify that a pie with three equal slices can start at 300°.

Written by the indexing model from the issue text.

Description

Hi,

I'm not aware of any way to configure the initial slice angle for a pygal.Pie. For example, I have three equal slices and I want the first slice to start at 300°, it should look like this:

Screen Shot 2019-12-13 at 2 43 40 PM

Is this a feature that Pygal might support? If not, is there any workaround, perhaps using custom CSS?

Thanks!

Dominant language
Python
Stars
2.8k
Forks
419
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from Kozea/pygal

All issues in Kozea/pygal

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.