plotly / plotly/plotly.R

geom_curve

Open
#2,214 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

Hello
I am trying to plot geom_curve as in

geom_curve(#data = mydata,
                                   aes(y = startLat, x = startLon, yend = endLat, xend = endLon,color = var)
                                   curvature = 0.5, angle = -90,show.legend = T,
                                   arrow = arrow(length = unit(0.25,"cm")))

but I get this error

Warning in geom2trace.default(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) :
  geom_GeomCurve() has yet to be implemented in plotly.
  If you'd like to see this geom implemented,
  Please open an issue with your example code at
  https://github.com/ropensci/plotly/issues

is there anything I can do? any equivalent of geom_curve for Rshiny?

thank you!

Contributor guide

Open the contributing guide

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.

Research direction

Start with the supplied geom_curve example and the geom2trace.default warning that says GeomCurve is not implemented. No implementation file or test is identified in the issue, so first locate the geom-to-trace handling and related tests. Done means the example is supported without that warning and produces the requested curve equivalent.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.