Skip to content

RDeau/dashing-timeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preview

Stylish timeline widget for Dashing.io

preview

Usage

Copy all the above files (except preview.png) and paste into corresponding locations in dashing app. Then in your dashboard:

<li data-row="1" data-col="1" data-sizex="1" data-sizey="2">
  <div data-id="a_timeline" data-view="Timeline" data-title="Timeline"></div>
</li>

Also we use moment.js for date formating, so be sure to include it in your layout.erb;

<script type="text/javascript" src="/assets/moment.min.js"></script>

Configure

Unless you want to look exactly like in the preview, you will probably want to configure the positioning and layout of the timeline chart. This is done in the timeknots.js file. You can also have it in horizontal mode.

As far as data goes, its setup to take into the data from the timeline_data.yml file, but this can easily be changed in the job to fetch data from any source.

License

MIT

About

Stylish timeline widget for Dashing.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.2%
  • Ruby 9.8%
  • CSS 6.8%
  • CoffeeScript 4.7%
  • HTML 0.5%