question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Labels do not display

See original GitHub issue

Labels do not display when I use the sample code found here: https://github.com/Blazor-Diagrams/Blazor.Diagrams/blob/master/samples/SharedDemo/Demos/Links/LabelsDemo.razor.cs My label does show up in the svg code, it’s just not rendering. Also, this issue is present on the demo online here: https://blazor-diagrams.zhaytam.com/links/labels

Related: #109

image image

<foreignObject x="226.00193303765604" y="162.89994599331078">
<div class="link-label">content</div>
</foreignObject>

I haven’t tried the pre-release to see if it’s fixed there…

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
zHaytamcommented, Dec 11, 2022

This fixes it for me:

.link foreignObject {
  width: 1px;
  height: 1px;
}

I will be adding it in 3.0.0, please confirm it works for you as well

0reactions
dandetocommented, Dec 12, 2022

That worked for me, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Labels do not display in ArcGIS Pro
Labels do not display in ArcGIS Pro · Try switching the labeling engine from Maplex to Standard. This can be done by highlighting...
Read more >
Labels not appearing on any layer in ArcMap?
If your labels appear now, it's because a graphic was blocking the rendering of the feature label. Converting the labels to Annotation is...
Read more >
Force the placement of all labels in a label class—ArcGIS Pro
Since all labels from the label class are placed, there is no guarantee the labels won't overlap each other. Ensure that the Maplex...
Read more >
Labels not showing on ArcMap : r/gis
Labels not showing on ArcMap. Hello,. I am trying to do a map on ArcMap 10.7 for work where I need to make...
Read more >
How do I display labels on my product images?
Navigate to Label Properties. For v2016.1 and prior, Settings > Label Formats; For v2017.1 and later, Analysis ribbon > Labels section> ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found