Pat Sissons
e25db74b4b
replacing all ES6 imports with CJS require calls ( #3063 )
* replacing all ES6 imports with CJS require calls
resolves #2934
used the following regex to apply the changes in lib:
s/import\s+(\w+)\s+from\s+(.*);\s*$/var $1 = require($2).default;/
s/import\s+(\w+)\s+from\s+(.*)\s*$/var $1 = require($2).default;/
* cleaning up inconsistencies
7 years ago
Danny Larsen
63794a32d8
mouseup and mousedown events fixes #3032 ( #3059 )
* mouseup and mousedown events
* Fix error
7 years ago
yotamberk
3d1e8a3296
Add callback functions to moveTo, zoomIn, zoomOut and setWindow ( #2870 )
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Add callback functions to moveTo, zoomIn, zoomOut and setWindow
7 years ago
Brad Hards
d59c4a17f0
Fix eslint problem on Travis. ( #2744 )
7 years ago
yotamberk
cd30aa9f13
feat(timeline): #2647 Dynamic rolling mode option ( #2705 )
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Add toggleRollingMode option
* Update docs with toggleRollingMode option
7 years ago
Lewis B
d3d1dc7ecc
Fixed Timeline.setGroups for Array ( #2529 )
8 years ago
yotamberk
2ec733ba25
fix : #226 #2421 #2429 Fixed mouse events on timeline ( #2473 )
* Fix redraw order
* Add mouseup, mousedown, mouseover, click and dblclick events on timeline
* Add docs
* Add to evenlistener example
* Add mousemove event listener
* Fix example
* Remove mouseUp and mouseDown events and fix docs for mouseOver
* Remove mouseUp and mouseDown from example
8 years ago
Alexander Wunschik
1eb05e52fa
readded throttleRedraw ( #2514 )
* readded depricated option throttleRedraw; fixes #2511
* added doc style for depricated options
8 years ago
yotamberk
8ab1d183cb
feat: #2300 Added nested groups ( #2416 )
* Fix groupEditable
* Fix group drag in vertical direction bug
* Fix indentation
* Add initial nestedGroups property
* Fix redraw order
* Get nested groups hiding working
* Add order to nestedGroups
* Fix up example
* Add support for intially closed nested groups
* Add nested groups indentation
* Fix indents
* Add nested groups docs
* Fix example
* Revert indents
* Add classes to nested and nesting group labels and add nesting group css
* Use pure css for nested group icons
* Remove commented off lines and unnecessary btn
* Fix indents
* Add support to showNested:false in group
* Add semicolon
* Remove empty lines
8 years ago
yotamberk
01aada74e4
Fix minor bug when option is not defined ( #2486 )
* Fix redraw order
* Fix error when option is not defined
8 years ago
Yotam Berkowitz
2f04345f80
Fix error when option is not defined
8 years ago
yotamberk
3311b9b17e
feat: #1746 rolling mode ( #2439 )
* Add initial support for rolling mode
* Add rollingModeBtn and simplify example
* Make icon in css:
* Remove icon btn
* Add docs
* Fix zoom in rolling mode and initial start/end times
8 years ago
Simon Morris
e79d709df6
Added option to change the visibility of a group ( #2315 )
* Added group option to change the visibility of a group
* updated the groupsEditable example page to demo the use of this feature
* updated the timeline documentation to describe this option
8 years ago
yotamberk
a60407877d
check parent DOM elements for direction attribute ( #2237 )
* Fix PR comment
* Remove extra line
8 years ago
Yotam Berkowitz
9d33372f0b
Support parent dir and add docs + examples
8 years ago
Yotam Berkowitz
510adfc282
Add support to rtl with dir
8 years ago
Yotam Berkowitz
4b6a0d7f74
Fix to Core.js to updated Core.js
8 years ago
Yotam Berkowitz
4f105a3127
Fix templates
8 years ago
Yotam Berkowitz
2f2f5c4cc8
Commit before pull
8 years ago
yotamberk
33795a90a1
Fix scroll bugs with vertical scrollbar ( #2228 )
* Add initial scroller without options
* Add initial scroll without an option
* Add verticalScroll option
* Fix scrollbar positions
* Add docs
* fix example
* remove jquery dependency
* Fix example
* Fix review comments
* Fix verticalScroll and horizontalScroll docs
* Fix bug in timeline option.rtl if otion is undefined
* Remove hack
* Fix breaking of timeline
* Fix scrolling bugs
* Remove silly mistake
8 years ago
yotamberk
1e55ee8640
Bugfix in timeline ( #2219 )
* Add initial scroller without options
* Add initial scroll without an option
* Add verticalScroll option
* Fix scrollbar positions
* Add docs
* fix example
* remove jquery dependency
* Fix example
* Fix review comments
* Fix verticalScroll and horizontalScroll docs
* Fix bug in timeline option.rtl if otion is undefined
* Remove hack
* Fix breaking of timeline
8 years ago
yotamberk
ecf1c6a7d3
small improvements ( #2217 )
* Add initial scroller without options
* Add initial scroll without an option
* Add verticalScroll option
* Fix scrollbar positions
* Add docs
* fix example
* remove jquery dependency
* Fix example
* Fix review comments
* Fix verticalScroll and horizontalScroll docs
* Fix bug in timeline option.rtl if otion is undefined
* Remove hack
8 years ago
yotamberk
ac1d6a6a96
Fix small timeline bug when defining timeline with no options and fix docs explanations ( #2216 )
* Add initial scroller without options
* Add initial scroll without an option
* Add verticalScroll option
* Fix scrollbar positions
* Add docs
* fix example
* remove jquery dependency
* Fix example
* Fix review comments
* Fix verticalScroll and horizontalScroll docs
* Fix bug in timeline option.rtl if otion is undefined
8 years ago
yotamberk
b889a5057d
Add a vertical scroll option for timeline [solves #273 , #1060 , #466 ] ( #2196 )
* Add initial scroller without options
* Add initial scroll without an option
* Add verticalScroll option
* Fix scrollbar positions
* Add docs
* fix example
* remove jquery dependency
* Fix example
* Fix review comments
8 years ago
Greg Kubisa
ff3948f85c
Use requestAnimationFrame to throttle redraws
8 years ago
thomasbarone
67823f1a7f
Fix issue #1156 ( #1976 )
Add flag to check whether an item in the Itemset is currently being dragged
8 years ago
jos
6f1dc4200d
Fixed #1774 : Wrong initial scale when Timeline contains a single item
8 years ago
Yotam Berkowitz
4f49135313
remove extra console.logs
8 years ago
Yotam Berkowitz
eb445d6d84
fix stacking bug in rtl and css for rtl
8 years ago
Yotam Berkowitz
60d81a81e4
add events support for rtl
8 years ago
Yotam Berkowitz
a549ed2d19
add rtl of groups in timeline
8 years ago
jos
95fd8ed154
Fixed import of Configurator
8 years ago
jos
f171328c10
Fixed #1541 : Timeline and Graph2d did not load synchronously anymore
9 years ago
jos
717f1f148b
Moved `emit('_change'...)` from Timeline.setItems to ItemSet.setItems to be consistend with ItemSet.setGroups
9 years ago
Ludo Stellingwerff
ec893065a6
Fixed #1580 : Invisible timeline/graph should not be drawn, as most inputs are invalid
Moved initial autoscale/fit method to an handler of the "changed" event.
9 years ago
Ludo Stellingwerff
7cf090e368
Fixed #1521 : Prevent items from staying stuck to the left side of the viewport.
9 years ago
Ludo Stellingwerff
246de7f49a
Fix autoscale of timeline axis.
9 years ago
jos
4cae296b17
Fixed #1527 : error when creating/updating a Timeline without data
9 years ago
jos
df4e3d4e10
Fixed #1523 : end of data range wrongly determined
9 years ago
jos
d866866f43
Fixed #1486 : Item range sometimes wrongly calculated on IE in case of old dates
9 years ago
jos
d9223685e2
Implemented redraw throttling for Timeline
9 years ago
jos
a9ca766af7
Fixed #24 : Implemented support for time zones (see examples/timeline/other/timezone.html)
9 years ago
jos
7c22bd3c3b
Configurator is now lazy loaded in Timeline, Graph2d, and Network (see #964 )
9 years ago
jos
7771406dcd
Reorganized `Timeline.fit()` a bit
9 years ago
jos
ac0563e408
Fit working (still needs simplification)
9 years ago
jos
1648604401
Halfway implementing improved Timeline.fit()
9 years ago
jos
bbfe7d3535
Halfway improving Timeline.fit()
9 years ago
jos
bca61e3f07
Fixed losing selection when changing configuration option `type` on the fly
9 years ago
jos
176742b33f
Implemented configurator for Graph2d. Fixed Configurator displaying nothing when `filter: true`.
9 years ago
jos
f26c4ea0aa
Fixed #841 : messing up clientY and pageY in event handling
9 years ago