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

Position of vgg-symbol-legend #146

Open
ntthung opened this issue Apr 29, 2019 · 1 comment
Open

Position of vgg-symbol-legend #146

ntthung opened this issue Apr 29, 2019 · 1 comment

Comments

@ntthung
Copy link

ntthung commented Apr 29, 2019

If I do this

<vgg-graphic :data="data">
  <vgg-section :transform="transform">
    <vgg-symbol-legend />
  </vgg-section>
</vgg-graphic>

then the legend shows up. However, if I do this

<vgg-graphic :data="data">
  <vgg-section>
    <vgg-data :transform="transform">
      <vgg-symbol-legend />
    </vgg-data>
  </vgg-section>
</vgg-graphic>

then the legend does not show up.

The documentation of <vgg-symbol-legend> does not have the context around this component (i.e., it doesn't show how this component should be placed within a <vgg-graphic>), so it's hard to figure this out.

@bianchi-dy
Copy link
Contributor

Hmm, that's an interesting piece of behavior, thanks for pointing this out + the necessity for some context wrt the code examples in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants