plotly / plotly/plotly.js

enable rounded borders for annotation

Open
#6,846 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

I'd like to set the annotation's borders to be rounded.

A possible solution I've found can be setting/adding the rx attribute to the rect in annTextBG variable in the annotation's draw file.

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

Locate the annotation draw file and inspect the annTextBG variable, especially the SVG rect it creates. Confirm how annotation borders are currently rendered, then add rounded-border support and verify that annotations display the requested rounded corners without changing other annotation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.