8000 Add '<s>' and '<u>' pseudo html options for strike-through and underlining SVG text by archmoj · Pull Request #7043 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Add '<s>' and '<u>' pseudo html options for strike-through and underlining SVG text #7043

New issue 8000

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test new text styling options
  • Loading branch information
archmoj committed Jul 10, 2024
commit f5c26abb662f47b31eac020c89be53753c9e1e8c
Binary file modified test/image/baselines/pie_title_middle_center_multiline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions test/image/mocks/pie_title_middle_center_multiline.json
Original file line number Diff 7A4E line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"data": [
{
"values": [955, 405, 360, 310, 295],
"labels": ["Mandarin", "Spanish", "English", "Hindi", "Arabic"],
"labels": ["Mandarin", "Spanish", "<u>English</u>", "Hindi", "Arabic"],
"textinfo": "label+percent",
"hole": 0.4,
"title":{
Expand All @@ -14,7 +14,7 @@
],
"layout": {
"title": {
"text": "Top 5 languages by number of native speakers (2010, est.)"
"text": "Top <s>10</s> 5 languages by number of <u>native</u> speakers (<s>2009</s> 2010, est.)"
},
"height": 600,
"width": 600
Expand Down
0