简体   繁体   English

我如何在反应中启用 highcharts 中的滚动条

[英]How do i enable scrollbar in highcharts in react

I'm working with react Highcharts stacked column chart我正在使用 react Highcharts 堆叠柱形图

I couldn't add scroll bar for column chart.In this example it have plotting applied values but not showing scroll bar.In my case it not happening.the view port is taking it own height and width even if i applied style to its parent.not fitting inside container我无法为柱形图添加滚动条。在此示例中,它绘制了应用值但未显示滚动条。在我的情况下,它没有发生。即使我将样式应用到其父级,视口也会采用它自己的高度和宽度.不适合在容器内

containerProps={{ style: { width: '100%', height: '100%' } }}

this also not working这也不起作用

不适合其容器

example 例子

i'm stuck in this scroll bar issue when the api response coming with 100 more data the view port of react highchart is limiting to 24 data.I could not add scroll bar.当 api 响应带有 100 多个数据时,我陷入了这个滚动条问题,反应高图的视口限制为 24 个数据。我无法添加滚动条。

When i enabled navigator i can see the data but chart column is not plotting.please help当我启用导航器时,我可以看到数据但图表列未绘制。请帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM