Skip to content

fix(markers): support html text and line breaks in marker labels - #340

Open
MatrixNeoKozak wants to merge 2 commits into
HumbleSoftware:mainfrom
MatrixNeoKozak:fix/fix-markers-support-html-text-and-line-breaks-in-marker-labels-1791876366041
Open

MatrixNeoKozak wants to merge 2 commits into
HumbleSoftware:mainfrom
MatrixNeoKozak:fix/fix-markers-support-html-text-and-line-breaks-in-marker-labels-1791876366041

Conversation

@MatrixNeoKozak

Copy link
Copy Markdown

What

Enable HtmlText rendering for markers so that HTML markup such as
and line breaks render correctly instead of being drawn literally on canvas.

Why

This change resolves the target issue or improvement.

How to test

Verify that the project builds/runs correctly and the specific bug/improvement is addressed.

Fixes #321

Apply the marker fontSize to HTML labels, position the label container at the plot offset, and preserve line breaks. Refresh the timeline and color-gradients snapshots for the HTML label output.
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.

Unable to add a line break to a marker.

1 participant