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

Order of rendering #72

Open
samselikoff opened this issue Jan 23, 2014 · 0 comments
Open

Order of rendering #72

samselikoff opened this issue Jan 23, 2014 · 0 comments

Comments

@samselikoff
Copy link

I have an interesting problem. I have a BarChart, and I'm mixing in a Legend. Ideally, I'd like:

  • the legend to render, and report back its width (which depends on the labels on the data it gets from the bar chart),
  • update an asideWidth property on the bar chart, then
  • render the bar chart

Right now the bar chart renders first. Is there any way I can render the mixin first? Alternatively, how could I calculate the width of the layer before it is rendered, and share that information with the bar chart?

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

1 participant