I inserted a screen shot of a column chart using WinChart. It is very small but my question should still be clear. Notice how small the actual chart is as it uses only a small portion of the space I have given to the WinChart control. How do I make the chart itself use the entire area of space provided for it? Thanks!
Thanks for the feedback.
Could you please create a new forum thread for your next questions. Also please try to attach again your screenshots, because I didn`t find it here.
Thanks and Regards
Sorry, forgot the screenshot.
Great - that is much better.
I am almost there - I have another question or two. If I should create a separate post for these let me know.
I have attached a screen shot of one of my charts. Notice that one of the bars describes a negative number. How do I make it so the X axis is always zero and a negative number will go below and a positive number will be above? Also - notice the numbers on the bars, how can I format that string?
Thanks for your help.
Hello Elondon,
Thanks for attached sample. I was able to see the mentioned behavior and it is expected, because the size of your Charts are too small. Maybe one possible approach to achieve desire behavior is to set the properties for example:- ultraChart1.Axis.X.Extent = 10;- ultraChart1.Axis.Y.Extent = 10;Please take a look at the modifications that I made in your sample and please let me know if you have any questions.RegardsGeorgi
I have attached a sample project. I simply dragged a chart on to a form and did not change anything else. Notice that the chart does not occupy the entire area of the control. I do see that the chart gets bigger as I drag out the control size - but my application uses small charts because there are a lot of them. The chart on the form of the sample project is approximately the size I am looking for in my real project - the only difference is, I would like the chart to occupy the entire control. The small size should not matter. In the attachment is the sample project and a screen shot of how the sample form looks on my workstation.
The new rectangle did not change anything.
WinChart version 10.1. I do not have any service releases that I am aware of unless one came with the 10.1 installer. Binary version 10.1.20101.1007.
Also - please ensure that any samples you send are in English. The string labels in the sample you sent me are not. :)