Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features for adding more grid lines to the Radar Chart #63

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

pedrosdr
Copy link

New features for adding more grid lines to the Radar Chart

Hello there! I created a separate file called ggradar2.R, where I reused the code from ggradar.R with the intention of adding more grid lines to ggradar, which originally had only three of them.

In this new 'ggradar2' branch, I added four grid lines between grid.max and grid.min, totaling 6 grid lines. The grid lines follow the following order (min, n2, n3, n4, n5, max).

I also added some features to change the colors and the vertical offset of the grid lines' labels.

Here are some results:

Radar chart with 6 grid lines.

example_1

Radar chart with 5 grid lines with labels positioned at the top of them.

example_2

Radar chart with 6 grid lines and multiple groups.

example_3

It is also possible to reproduce the default radar chart of ggradar, with 3 grid lines.

example_4

@pedrosdr pedrosdr changed the title Ggradar2 New features for adding more grid lines to the Radar Chart Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant