Skip to content

jiaming0708/draw-demo

Repository files navigation

DrawDemo

Origin I used jQuery and all logic in one component, but it's too complex. Try to rewrite, make it simple and one function in one component.

Goal

  • data from API
  • draw a line and arrow to each two point
  • data flow direction order by date
  • point is small if there have over one point in one cell

Result

output

Development

Follow angular-cli standard.

server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

About

Using rx to calculate data, and draw line

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •