Discuss anything related to web development but no technical support questions


Post by rdonahue6 »

Hello,

Is there any way to show horizontal scrollbar in Chart all the time?
The issue I am facing is whenever View changes to Week, scroll bar disappears even
if Project Spans timeline before and after that week.
However, if I use Zoomin/Zoomout, scroll bar comes back.

I used following code to set the week view, also attaching screenshots of
before and after setting Week view.

GanttChart.switchViewPreset(weekAndDayLetter,startDate,finishDate);

Thanks,
Attachments
Screenshots.docx
(155.62 KiB) Downloaded 280 times

Post by Maxim Gorkovsky »

Hello.
What dates do you pass as arguments?

Post by rdonahue6 »

Start Date: 12 Dec 2016
Finish Date: 19 Dec 2016

Post by Maxim Gorkovsky »

So what is the problem then? I see 1 week is rendered. If you want longer interval - pass longer interval. Or omit dates.

Post by rdonahue6 »

Hi Maxim,

The problem is, horizontal scroll bar is disappears in this view, Which I want to scroll horizontally.

Thanks,

Post by Maxim Gorkovsky »

What behavior do you expect exactly? If you want to scroll horizontally you need to either pass longer time span or change tick width.

Post Reply