amcharts3-react icon indicating copy to clipboard operation
amcharts3-react copied to clipboard

There is no horizontal scroll

Open blacktender opened this issue 6 years ago • 3 comments

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

blacktender avatar May 31 '18 14:05 blacktender

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

amcharts avatar May 31 '18 14:05 amcharts

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).

blacktender avatar Jun 21 '18 06:06 blacktender

@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.

xorspark avatar Sep 07 '18 01:09 xorspark