Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no horizontal scroll #77

Open
blacktender opened this issue May 31, 2018 · 3 comments
Open

There is no horizontal scroll #77

blacktender opened this issue May 31, 2018 · 3 comments

Comments

@blacktender
Copy link

Hello!

https://www.amcharts.com/demos/gantt-chart/
https://www.amcharts.com/demos/gantt-chart-dates/

Horizontal vertical is not drawn.
clip2net_180531170836

What could be the problem?

Thanks

@amcharts
Copy link
Owner

New comment from Zendesk by Anthony Piris on ticket 37218.
(replying here will automatically notify amCharts support agent)

Hi there,

Make sure you have a valueScrollbar defined in your config like in the demos you linked in order to enable the horizontal scrollbar in the gantt chart. If you want the vertical scrollbar, define a chartScrollbar.

const config = {
   // ...
  valueScrollbar: {
    // ... horizontal scrollbar
    // ... takes all properties for chartScrollbar
  },
  chartScrollbar: {
    // ... vertical scrollbar
  },
  // ...
}

I hope this helps.

Best,

Anthony Piris
amCharts

@blacktender
Copy link
Author

We already have defined valueScrollbar and chartScrollbar in our gantt chart config objects and there are no scrollbars. Actually, we use the same configs that are defined in demos, but with React component it doesn't work (those examples that are described in my first message).

@xorspark
Copy link

xorspark commented Sep 7, 2018

@blacktender If you're still having this issue, could you provide a codepen or stackblitz that reproduces the problem? The scrollbars are showing up correctly for me here using the component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants