-
Notifications
You must be signed in to change notification settings - Fork 336
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
Add zoomable timeline grid and timestamps to flame chart. #1624
Conversation
kenzieschmoll
commented
Feb 12, 2020
Partially addresses #1289. |
)..layout(maxWidth: intervalWidth); | ||
|
||
// TODO(kenz): figure out a way for the timestamps to scroll out of view | ||
// smoothly instead of dropping off. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you use a horizontal ListView for the timestamps and use Text widgets you would get that for free. It may be a bit more performant as well as it might do a better job of caching text rendering
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a this to the TODO since it may take a bit of refactoring where we calculate intervals and such. It also may be kind of tricky because we would have to inject new widgets into the list when we split each interval into two new intervals (when log2(zoom) increases).
packages/devtools_app/lib/src/timeline/flutter/timeline_flame_chart.dart
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done with the first round of comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.