Skip to content
New issue

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

Text component #111

Open
bianchi-dy opened this issue Apr 8, 2019 · 0 comments
Open

Text component #111

bianchi-dy opened this issue Apr 8, 2019 · 0 comments
Assignees
Labels
component Features or graph components discussion Discuss!

Comments

@bianchi-dy
Copy link
Contributor

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:

  1. 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
  2. vgg-plot-title - allows for longer text but not positioning-friendly and has the same single line of text problem
  3. 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?

@bianchi-dy bianchi-dy added component Features or graph components discussion Discuss! labels Apr 8, 2019
@GraceGSy GraceGSy self-assigned this Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component Features or graph components discussion Discuss!
Projects
None yet
Development

No branches or pull requests

2 participants