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