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.

unencoded text mark replicated for every data point (terrible svg performance when font is large)

See original GitHub issue

https://vega.github.io/editor/#/gist/15dbd1f394ce904f1285bf93a4b00968/spec.json

shouldn’t a text mark with no encoding only have a single copy?

also wondered whether it would help to expose svg’s text-rendering options optimizeSpeed | optimizeLegibility | geometricPrecision https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-rendering

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
domoritzcommented, Oct 27, 2020

]So you are suggesting that if we didn’t have an encoding at all (no encoding property directly or through a parent view), then the default data should be null. I think that makes sense and we can do that as part of #6157.

0reactions
eflistercommented, Oct 28, 2020

Yes, I hadn’t explicitly thought about inherited data/encoding but that makes sense

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow spec without data source · Issue #6157 · vega/vega-lite · GitHub
domoritz mentioned this issue on Oct 27, 2020. unencoded text mark replicated for every data point (terrible svg performance when font is large)...
Read more >
Which SVG technique performs best for way too many icons?
I won't be comparing performance of SVG to other image or bundles formats. ... In this technique, the actual visual data of each...
Read more >
Using SVG | CSS-Tricks
SVG is an image format for vector graphics. It literally means Scalable Vector Graphics. Basically, what you work with in Adobe Illustrator.
Read more >
Icon Font vs. SVG caching and network concern - Stack Overflow
Only one HTTP request and content is referenced. But: Bad markup, bigger file than the SVGs. SVG Sprites. I could use a SVG...
Read more >
CSS Text Module Level 4 - W3C
Abstract. This CSS module defines properties for text manipulation and specifies their processing model. It covers line breaking, ...
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