diff --git a/lib/timeline/optionsGraph2d.js b/lib/timeline/optionsGraph2d.js index edb2d1dd..0caaf2d2 100644 --- a/lib/timeline/optionsGraph2d.js +++ b/lib/timeline/optionsGraph2d.js @@ -66,15 +66,15 @@ let allOptions = { visible: {'boolean': bool}, alignZeros: {'boolean': bool}, left:{ - range: {min:{number},max:{number},__type__: {object}}, + range: {min:{number,'undefined': 'undefined'},max:{number,'undefined': 'undefined'},__type__: {object}}, format: {'function': 'function'}, - title: {text:{string,number},style:{string},__type__: {object}}, + title: {text:{string,number,'undefined': 'undefined'},style:{string,'undefined': 'undefined'},__type__: {object}}, __type__: {object} }, right:{ - range: {min:{number},max:{number},__type__: {object}}, + range: {min:{number,'undefined': 'undefined'},max:{number,'undefined': 'undefined'},__type__: {object}}, format: {'function': 'function'}, - title: {text:{string,number},style:{string},__type__: {object}}, + title: {text:{string,number,'undefined': 'undefined'},style:{string,'undefined': 'undefined'},__type__: {object}}, __type__: {object} }, __type__: {object}