Skip to content

Per-trace line style and width - #13

Closed
jmdowrick wants to merge 1 commit into
opencor:mainfrom
jmdowrick:line-style
Closed

jmdowrick wants to merge 1 commit into
opencor:mainfrom
jmdowrick:line-style

Conversation

@jmdowrick

Copy link
Copy Markdown

Adds lineStyle (solid, dash, dot, dashDot, or dashDotDot) and lineWidth to PlotTrace, following the SED-ML L1V4 Line style (type and thickness). The dash patterns follow Plotly's and scale with the line width. They are shown on the canvas, in the legend swatch, and in the SVG export.

Not included:

  • Step lines, since SED-ML has no stepped curve type.
  • SED-ML's none, which means markers only, while markers are only shown for traces with fewer than 20 points.

The dash pattern restarts at gaps, off-screen breaks, and path chunks.

Demo: "Line style" and "Line width" selects.

Fixes #3

…ash dot dot) and a line width, like SED-ML's Line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@agarny

agarny commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Sorry @jmdowrick, but I am closing this. I don't mind AI-generated issues, but when it comes to PRs, I prefer to do it myself (with or without the help of AI). This allows me to control exactly what is done, rather than review something that might, or not, require further improvements.

@agarny agarny closed this Nov 27, 2026
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.

Per-trace line style: dash and step

2 participants