Skip to content
This repository was archived by the owner on Jul 29, 2019. It is now read-only.

Commit 1393eee

Browse files
Tooayotamberk
authored andcommitted
Fixed #2458: Allow graph2D options to be undefined (#2634)
1 parent 2e5c620 commit 1393eee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/timeline/optionsGraph2d.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ let allOptions = {
6666
visible: {'boolean': bool},
6767
alignZeros: {'boolean': bool},
6868
left:{
69-
range: {min:{number},max:{number},__type__: {object}},
69+
range: {min:{number,'undefined': 'undefined'},max:{number,'undefined': 'undefined'},__type__: {object}},
7070
format: {'function': 'function'},
71-
title: {text:{string,number},style:{string},__type__: {object}},
71+
title: {text:{string,number,'undefined': 'undefined'},style:{string,'undefined': 'undefined'},__type__: {object}},
7272
__type__: {object}
7373
},
7474
right:{
75-
range: {min:{number},max:{number},__type__: {object}},
75+
range: {min:{number,'undefined': 'undefined'},max:{number,'undefined': 'undefined'},__type__: {object}},
7676
format: {'function': 'function'},
77-
title: {text:{string,number},style:{string},__type__: {object}},
77+
title: {text:{string,number,'undefined': 'undefined'},style:{string,'undefined': 'undefined'},__type__: {object}},
7878
__type__: {object}
7979
},
8080
__type__: {object}

0 commit comments

Comments
 (0)