jos
304129882e
Fixed #1326 : wrongly positioned dot of PointItems
9 years ago
jos
b750d2e4dc
Added css class `vis-editable`, created an example demonstrating individually editable items (see #980 )
9 years ago
bertolds
f43e935bef
Issues #275 , #363 - individual Timeline items editable or readonly
Timeline will check for the property 'editable' on individual items.
if editable === true
ignore timeline option 'editable'
allow item to be edited
else if editable === false
ignore timeline option 'editable'
do not allow item to be edited
else
use timeline option 'editable'
If two items are selected and one is not editable, only the editable
item is draggable.
This change required the css class .vis-editable be moved from the
item set to the individual item containers to maintain proper styling.
9 years ago
jos
ac0563e408
Fit working (still needs simplification)
9 years ago
jos
1648604401
Halfway implementing improved Timeline.fit()
9 years ago
jos
f30a3a4556
Integrated an option configurator
9 years ago
jos
b3e3dccad7
Refactored the css of Timeline and Graph2d to have a `vis-` prefix everywhere. (Still a small issue in Graph2d)
9 years ago
jos
6fdb09e82f
Implemented configuration option `order: function` to define a custom ordering for the items (see #538 , #324 ).
9 years ago
jos
c87ef9819c
Support for 'style' added for Items
10 years ago
jos
ace17d4f21
Fixed height of BackgroundItems not being 100% when timeline has a fixed height
10 years ago
jos
f990f09124
Refactored `ItemBox`, `ItemRange`, and `ItemPoint` to respectively `BoxItem`, `RangeItem`, and `PointItem`.
10 years ago
jos
b0da7fe8cb
Docs updated. A litte refactoring
10 years ago
jos
b7a67920d5
Smarter check whether data changed when redrawing items. (See also #290 )
10 years ago
Dan Turkenkopf
386035180e
Define allowed dataAttributes as Timeline option
Read from an array of allowed dataAttributes at the timeline level and
write them as data- attributes on the item
10 years ago
Dan Turkenkopf
67915d5806
Store additional item fields as data- attributes
If additional item fields are defined on the DataSet or array being
passed to the timeline, store them as data- attributes on the content
element.
10 years ago
jos
72dfc0c45f
Reworked all code to commonjs modules. Replaced the build script with Gulp
10 years ago
jos
f0a5b12593
Moved source code from `/src/` to `/lib/`
10 years ago
jos
5374721fd6
Added support for title for both items and groups
10 years ago
jos
610702f21e
Removed all usage of style.bottom
10 years ago
jos
4ac1d3abcc
Moved utility functions `toScreen`, `toTime`, and `snap` from `options` to `body.util`
10 years ago
jos
0f45b7a2f1
Removed double function naming
10 years ago
jos
a5025b9673
Renamed all functions `repaint` to `redraw`
10 years ago
jos
3dfd05ee6c
ItemSet starts to work again
10 years ago
jos
c06d00a3ef
Some css improvements
10 years ago
jos
6466da5cf0
Fixed a positioning issue with ItemPoint
10 years ago
jos
36e512cefb
Removed parameter `parent` from Item constructor
10 years ago
jos
5a5ba084a3
Isolated calculation of visible items in function updateVisibleItems
10 years ago
josdejong
f7bddb0742
Fixed initial stacking of items in groups
10 years ago
josdejong
21bb0559e1
Refactored Itemset.repaint, simplified vertical positioning of items
10 years ago
josdejong
699c13d99b
Temporarily fixed stacking in a primitive way
10 years ago
josdejong
8717aac332
Refactored item selection
10 years ago
josdejong
3401f74eb5
Made Item.isVisible independent of parent
10 years ago
josdejong
141cf0b4c3
Refactored ItemPoint
10 years ago
josdejong
797a138696
Timeline items can now be deleted
10 years ago
josdejong
2feb514a2a
Implemented dragging items
10 years ago
josdejong
5801a0e770
Implemented dragging items
10 years ago
josdejong
ebf756c88f
Implemented item selection and a function select to get/set the selected items
10 years ago
josdejong
b017edcaaa
Functions `select` and `unselect` on Items working
10 years ago
josdejong
7e6810955d
Switched to 2-space indentation
10 years ago
josdejong
b542d43d12
Improved hiding non visible items in Timeline
11 years ago
josdejong
1ecb550d59
Moved the source files around
11 years ago
josdejong
4eed201768
Renamed source files to match the name of the containing prototype
11 years ago
josdejong
309564e367
Changed propagation of options in components to a prototype based solution
11 years ago
josdejong
58a6831619
Some obvious performance improvements
11 years ago
josdejong
040e53b2ee
Only visible items are rendered now
11 years ago
josdejong
c5d7a9a9a5
Isolated the local classes in a single namespace (using commonjs for referring local classes does not work that handy)
11 years ago
josdejong
6590e2cd2e
Applied node style dependency management, using browserify now to bundle the code
11 years ago
josdejong
704136eec8
Split the dom for the itemset in two sets: foreground and background (instead of ugly z-index tricks)
11 years ago
josdejong
3e4e9313e3
Using vis as internal namespace now. All module related stuff is now located on a single place, in module.js
11 years ago
josdejong
5c14597bb9
Implemented namespacing, closure, and support for require.js
11 years ago