timeknots

基于 d3.js 的 javascript 极简时间轴。本作品的灵感来自 https://github.com/mquan/timeline。「Minimalist timeline in javascript based on d3.js. This work was inspired by https://github.com/mquan/timeline」

  • 所有者: alangrafu/timeknots
  • 平台:
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

timeknots

Minimalist timeline in javascript

General Options

  • width: width of the visualization (default: 600 pixels)
  • height: height of the visualization (default: 200 pixels)
  • radius: radius of the knots (default: 10 pixels)
  • lineWidth: width of the lines used to draw timeknots (default: 4 pixels)
  • color: color used for the visualization (default: 999)
  • background: Background color of the visualization (default: FFF)
  • dateFormat: Format of the dates displayed (default: %Y/%m/%d %H:%M:%S)
  • horizontalLayout: orientation in which the timeknots will be displayed horizontal or vertical (default: true),
  • showLabels: Include labels showing the first and last dates (default: false)
  • labelFormat: Format used to display the dates in the labels (default: %Y/%m/%d %H:%M:%S)

Knot options

It is possible to include or override certain options for particular knots. These options are

  • img: Include the image in this URL when the tooltip is displayed
  • radius: Draw this knot with this particular radius
  • color: Draw this knot using this particular color
  • lineWidth: Draw thiw knot using this particular line width
  • background: Draw thiw knot using this particular background

Examples

A set of example can be found at http://graves.cl/timeknots/example/index.html

主要指標

概覽
名稱與所有者alangrafu/timeknots
主編程語言JavaScript
編程語言JavaScript (語言數: 2)
平台
許可證Apache License 2.0
所有者活动
創建於2012-09-28 08:47:07
推送於2017-10-31 11:39:28
最后一次提交2015-08-31 17:27:13
發布數1
最新版本名稱v0.1 (發布於 2014-03-14 09:54:12)
第一版名稱v0.1 (發布於 2014-03-14 09:54:12)
用户参与
星數181
關注者數10
派生數64
提交數31
已啟用問題?
問題數9
打開的問題數8
拉請求數2
打開的拉請求數4
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?