ChartsOrg / ChartsOrg/Charts

Pie chart left alignment with Legend

Open
#2,701 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hello. How I can move only Pie chart part inside view? Proposed design:
![1](https://user-images.githubusercontent.com/1182933/29162039-8b126c4a-7db8-11e7-8b38-c81e55b32005.png)

What i have now:
screen shot 2017-08-10 at 10 53 02

I tried to remove offsets and increase only right one:
`pieChart.setExtraOffsets(left: 0, top: 0, right: 20, bottom: 0)`, but this method not working as expected, adding offsets for every side.

Thanks

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the pie chart layout using setExtraOffsets(left: 0, top: 0, right: 20, bottom: 0) and compare it with the proposed and current screenshots. Done means the pie chart moves independently as intended while the legend remains correctly positioned.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.