Issue with "groupsWidth"

28 views
Skip to first unread message

Eduardo de la Torre Santos

unread,
Aug 26, 2014, 10:48:28 AM8/26/14
to chap-link...@googlegroups.com
Hello!

Using: timeline-2.9.0.zip CHAP

When i use "groupsWidth" timeline doesn't work

WORKS OK:

var options1 = {
'locale': 'es',
'width': 'auto',
'height': 'auto',
'editable': false,
'showMajorLabels': true,
'groupsChangeable': false,
'zoomMin': 3600000,
'layout': 'box'
};

NOT WORKS

var options1 = {
'locale': 'es',
'width': 'auto',
'height': 'auto',
'editable': false,
'showMajorLabels': true,
'groupsChangeable': false,
'zoomMin': 3600000,
'groupsWidth': '120px',
'layout': 'box'
};

Previos versions works fine.

Thanks a lot!
Eduardo de la Torre

Eduardo de la Torre Santos

unread,
Aug 26, 2014, 11:04:20 AM8/26/14
to chap-link...@googlegroups.com
Firebug gives me: dom.groups is undefined
ERROR timeline.js in line 1830

// limit groupsWidth to the groups width in the options
    if (options.groupsWidth !== undefined) {
        groupsWidth = dom.groups.frame ? dom.groups.frame.clientWidth : 0;

Jos de Jong

unread,
Aug 27, 2014, 7:37:11 AM8/27/14
to chap-link...@googlegroups.com
Thanks, code is fixed (not yet released). See https://github.com/almende/chap-links-library/issues/319
Reply all
Reply to author
Forward
0 new messages