Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Add "live" chart to homepage #97

Merged
merged 1 commit into from
Aug 19, 2016
Merged

Add "live" chart to homepage #97

merged 1 commit into from
Aug 19, 2016

Conversation

chrisbolin
Copy link
Contributor

final

resolves #69

Note: the "VIEW SOURCE" link will work only after this branch is merged.

@chrisbolin
Copy link
Contributor Author

cc all my frnds @ebrillhart @paulathevalley @boygirl

@paulathevalley
Copy link
Contributor

Styles and UI look really nice!

Should get JS code review by a more senior dev /cc DOSS @kenwheeler


const LiveChart = ({data, duration, domain}) => (
<VictoryChart
animate={{ duration: 1000 }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this code is editable you might want to express this animation duration in terms of props.duration

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, you're right. Or rename props.duration. That name is kind of misleading at this point.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ cleared this up

@boygirl
Copy link
Contributor

boygirl commented Aug 19, 2016

@chrisbolin looking good!

@kenwheeler
Copy link

LGTM

@chrisbolin chrisbolin merged commit 6536454 into master Aug 19, 2016
@chrisbolin chrisbolin deleted the livechart branch August 19, 2016 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show "Live" Data on Victory Homepage
4 participants