在条形图中添加滚动条。 [英] Add scroll bar in bar chart .

查看:152
本文介绍了在条形图中添加滚动条。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在使用System.Windows.Forms.DataVisualization.Charting.Chart在Win表单上创建条形图。



如果条形数量增加,条形宽度缩小。我想添加滚动条而不是收缩条。

Hi,

I am using System.Windows.Forms.DataVisualization.Charting.Chart to create bar chart on Win form.

if number of bar increases, width of bars got shrink. I want to add scroll bar instead of shrinking the bars.

推荐答案

将图表放入div标签和div设置宽度,高度和溢出=滚动的样式属性。它适用于你。
Put chart into div tag and in style property of div set width, height and overflow="scroll". It will work for you.


这篇关于在条形图中添加滚动条。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆