plotly / plotly/angular-plotly.js

Reference line for nominal values

Open
#256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
242
Forks
81
Avg merge
8h 48m
Merged PRs (30d)
18

Description

Hi all,
I would like to add two traces - one of type 'box' and the other of type 'line'.
Line width is controlled whenever I plot numerical values - simply using the min/ max values to select my lint starting/ ending point.
However, I'm trying to get my line start/ end according to the nominal value I have (e.g., 'T1') so I cannot use x0 and x1 as numerical values.
When trying to set: x0: 'T1' and x1: 'T1' I get a dot and not a line.
Is there a way to set the start/ end point according to the box plot width?
Following an image of what I'd like to achieve - a box plot with two reference lines/ limit lines:

image

Contributor guide

No contributing guide indexed for this repository

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 by reproducing the reported box and line traces using the nominal value 'T1' in angular-plotly.js, including the attached example's reference lines. Identify the relevant plotting entry point or documentation, then verify whether line endpoints can follow box plot width and capture the supported behavior or required change.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
data-visualization, frontend
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.