ChartsOrg / ChartsOrg/Charts

Applying corner radius to square form legends

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

Description

I've referred to this [issue](https://github.com/danielgindi/Charts/issues/710) which talks about subclassing a Chart View and passing on to it customized legend renderers in the initialize method.

I looked into it a bit, however completely baffled where to start changing the code for replicating the behavior I want.

Currently I'm using a PieChartView and Square form legends. However I want apply a 2-3 float corner radius value to the square legends.

Can you please help me with this, how to go about it.

Contributor guide

Open the contributing guide

Research direction

Start by reading issue 710 and tracing how a PieChartView uses square form legends and customized legend renderers passed during initialization. Confirm where the legend renderer can control the square form, then define completion as rendering those legends with a configurable 2–3 point corner radius.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data-visualization, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.