Sorry, my English is poor!
Haha, I asked a question in English for the first time. This is my opening remarks. In the description, there must be a lot of loopholes in the syntax, but I still got the answer soon. It seems that foreign friends can still understand my Chinese English.
My problem is about Chart Control for. net, and I want to solve the control of the Image Width in bar chart. This is because, if you allow it to be automatically arranged, if there are few projects on the X axis, the bar chart will be displayed very wide, and users are not satisfied.
Peter gave the following answer:
If you want to specify the number of pixels, you can do something like this:
Chart1.series [0] "pixelpointwidth"] = "20 ";
Or if you want to set the width based on the size of the space between the intervals, you can do something like this:
Chart1.series [0] ["pointwidth"] = "0.5 ";
Finally, I chose the first method to solve my problem.
Finally, thank Peter, the Internet, and all www.