Vue-GG currently does not have a dedicated text component for text blocks or longer captions. The recent 02.526 assignment requires such captions, and several students have asked about how to carry it out. Some current methods include using:
vgg-label - positioning-friendly and customizable, but doesn't support formatting in terms of justification, bounding area, etc. and shows only a single line of text
vgg-plot-title - allows for longer text but not positioning-friendly and has the same single line of text problem
text SVG - customizable (and plays nice with SVG) but not positioning-friendly
Some possible solutions:
- extend
vgg-label to handle text blocks (e.g. specifying bounding area, alignment, justification)
- create a new component called
vgg-text that handles text blocks (same principles apply)
- consolidate all text-related handling in one component (so this component can be a plot title, a label, a longer caption, etc.)
Any thoughts?
Vue-GG currently does not have a dedicated
textcomponent for text blocks or longer captions. The recent 02.526 assignment requires such captions, and several students have asked about how to carry it out. Some current methods include using:vgg-label- positioning-friendly and customizable, but doesn't support formatting in terms of justification, bounding area, etc. and shows only a single line of textvgg-plot-title- allows for longer text but not positioning-friendly and has the same single line of text problemtextSVG - customizable (and plays nice with SVG) but not positioning-friendlySome possible solutions:
vgg-labelto handle text blocks (e.g. specifying bounding area, alignment, justification)vgg-textthat handles text blocks (same principles apply)Any thoughts?