Alex de Mulder
d49c27d1d0
rebuilt, fixed small bug in points
9 years ago
Manuel Schallar
f39c246e5c
Updated Points.draw method to support onRender
+ Checking for callbacks
+ Using the newly generated 'groupTemplate' object instead of group
+ Updated calls to DOMutil.drawPoint to use the groupTemplate instead of group
9 years ago
Manuel Schallar
71f875f8fd
added onRender as a drawPoints property and as a function on the object itself
9 years ago
Manuel Schallar
d51be3bbf5
Delegate the onRender function to the correct property
9 years ago
AlexDM0
f7326745aa
- Fixed bug where 0 axis was always in the automatically fitted range.
9 years ago
Alex de Mulder
04aea9e37a
Made graph2d robust against strings for y values.
9 years ago
Martin Fischer
6cf519175c
added templating for groups
9 years ago
jos
b750d2e4dc
Added css class `vis-editable`, created an example demonstrating individually editable items (see #980 )
9 years ago
jos
7c22bd3c3b
Configurator is now lazy loaded in Timeline, Graph2d, and Network (see #964 )
9 years ago
jos
79e35e3bc0
Throw an error from abstract method `Core.prototype.getDataRange` (see #966 )
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
dd575adf25
Removed redundant code from `Core.prototype.getDataRange` (see #966 )
9 years ago
Manuel Schallar
d894d0efe5
changing the properties from getDataRange
+ according to the documentation
+ changed from 'start' and 'end' to 'min' and 'max'
9 years ago
Manuel Schallar
d1e01bccf0
returning meaningful values in getDataRange
+ instead of returning 'null', returning the
calculated values
9 years ago
Manuel Schallar
38cdcf23bb
accessing the correct properties in dataRange
+ replaced property name 'start' to 'min'
+ replaced property name 'end' to 'max'
9 years ago
jos
ecb525c7a8
Improved locales validation again
9 years ago
jos
4178e4c943
Fixed #950 : option `locales` broken in `Timeline`, `Graph2d`, and `Network`
9 years ago
jos
eef693113e
Fixed #942 : bug when data is empty
9 years ago
jos
7a417337c9
Fixed #923 : Added a property `event` to the properties emitted with the `select` event
9 years ago
jos
a58f4e2cb7
Added axis orientation option `'none'`
9 years ago
jos
3e9ccebf27
Fixed #897 : Timeline option `{snap: null}` did give a validation error
9 years ago
Alex de Mulder
633e689d90
updated docs
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
37f93c810b
Disable `yAxisOrientation` in configurator. (isn't stable)
9 years ago
jos
626d4b9b8b
Fixed #877 : Added support for metaKey to select multiple items.
9 years ago
jos
09bc7d0993
Call event.stopPropagation() before adding or removing items (see #577 )
9 years ago
jos
d77275e3d1
Fixed #869 : add className with id to custom time bars
9 years ago
jos
03d0e258c6
Fixed #872 : error about deprecated function `unsubscribe`
9 years ago
Alex de Mulder
c2b07f0201
fixed #858
9 years ago
jos
bca61e3f07
Fixed losing selection when changing configuration option `type` on the fly
9 years ago
jos
146ba57d28
Documented `configure` for Timeline and Graph2d. Some minor fixes in the options.
9 years ago
jos
176742b33f
Implemented configurator for Graph2d. Fixed Configurator displaying nothing when `filter: true`.
9 years ago
jos
7f01183c4d
Fixed #831 : items losing selection when their type changed.
9 years ago
jos
c5d46c16b1
Prefixed css classes of the TimeAxis grid ( Fixed #836 )
9 years ago
jos
f26c4ea0aa
Fixed #841 : messing up clientY and pageY in event handling
9 years ago
Alex de Mulder
0d32566e39
bugfixes, start of reorganisation of examples
9 years ago
Alex de Mulder
67cf954ad1
enabled bar style in legend
9 years ago
Alex de Mulder
cb4e58e170
removed log
9 years ago
Alex de Mulder
e5d2692e6d
made style work with barcharts
9 years ago
Alex de Mulder
b9ff0eb827
added validator to graph2d, maybe also put it in groups?
9 years ago
Alex de Mulder
20ef9a15f9
made new graph2d docs, fixed graph2d examples, updated graph2d options
9 years ago
jos
88ab094789
Moved validator and ConfigurationSystem to ./lib/shared, and continue with options on error
9 years ago
jos
d96bbe5296
Some fixes in the validator
9 years ago
Alex de Mulder
85350c02a6
restructured networks docs again, collapsible methods
format for graph2d is now a function.
9 years ago
jos
f79449e812
Implemented option validator for Timeline
9 years ago
jos
f30a3a4556
Integrated an option configurator
9 years ago
jos
ce29f5059f
Implemented option `multiselect`, which is false by default
9 years ago