Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Timeline, wrong resolution

$
0
0
Hi,

I get trouble to get setResolution working correctly : the event are not draw to correct column (start and end)

I want a timeline for a week (7 days) subdivided in 4 hours block (0-5:59, 6-11h59, 12-17:59, 18-23:59).

Based on the example Calendar > Timeline resolution for hours subdivided in 15 minutes, i tried to use :
Code:

myTimeline.setResolution([{unit: "day"}, {unit:"hour"}], "day", 7, 6);
The timeline display is correct but events are spanned over too much columns.
Each columns are subdivided in 3, like in the Timeline Filtering example, but this only represents 20 minutes ! It should be 2 hours.

At creatin time I use
Code:

headerLevels : [{
            unit : "week"
        }, {
            unit : "day"
        }
    ]

and programaticaly change resolution by click on button.

Thanks you for your help !

v10.0p_2014-10-10/EVAL Development Only (expires 2014.12.09_06.39.23)

Viewing all articles
Browse latest Browse all 4756

Trending Articles