ggplot2::sec_axis is unsupported
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
When I use ggplot2::scale_y_continuous(sec.axis = ggplot2::sec_axis(~ . / scale_factor)) like this, I discovered that plotly does not support this function. Providing support for this function would greatly assist developers like myself who are accustomed to ggplot but wish to utilise plotly's interactive capabilities.
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the ggplot2::scale_y_continuous(sec.axis = ggplot2::sec_axis(~ . / scale_factor)) example and inspect how plotly.R handles ggplot2 scales. Define the expected secondary-axis behavior and verify that the example renders correctly in an interactive plot; the issue does not name files or tests to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100