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

continuous drawing mode? #26

Open
ghost opened this issue Oct 5, 2018 · 1 comment
Open

continuous drawing mode? #26

ghost opened this issue Oct 5, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 5, 2018

I've used your very nice library to make a heartbeat monitor for a remote agent keep alive system and I was wondering if there is some way to have the trend continuously draw. Right now when the data updates it just changes with no animation.

@JoelCCodes
Copy link

@rucuriousyet If you haven't figured it out yet. Just add a :key to the vue component.

          <trend
            :key="var[0]"
            :data="var"
            :gradient="['#6fa8dc', '#42b983', '#2c3e50']"
            auto-draw
            smooth
          />

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