Click here to Skip to main content
15,937,602 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

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.

1 solution

Put chart into div tag and in style property of div set width, height and overflow="scroll". It will work for you.
Share this answer
Rahul K Singh 24-May-13 0:53am    
but i am using win form[Desktop application] and i cant use div in it. Can I!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900