Hi ,
Data for my chart are only few rows, because of that space between the bar too much( as shown in attached picuture), how to reduce it.
thanks
Anbu.
Hello anbusamy,
anbusamy said:Now I understand where is real problem lies , my chart is dock to form with fill options. since my form shows in full screen. chart is expanded to whole screen because of that chart shows more space between the bars, how to fix it.
The mentioned behavior is expected and by design. If use set property SeriesSpacing =0, then the result will be like in attached screenshot. I`m not sure what is your expectation when you change the size of the chart. Could you please give us more details
Regards
Hi Georgi,
Once again thanks for your help.
Now I understand where is real problem lies , my chart is dock to form with fill options. since my form shows in full screen. chart is expanded to whole screen because of that chart shows more space between the bars, how to fix it.
If you modify the dataset in your sample with below one, you can my problem.
dt = new DataTable(); dt.Columns.Add("A", typeof(decimal)); dt.Columns.Add("B", typeof(decimal));
dt.Rows.Add(10, 20); dt.Rows.Add(15, 10);
This is the sample
Hello Anbu,
Could you please take a look at the attached video file for a few possible options to modify the space between your columns. Also could you please take a look at the atatched sample and please feel free to modify this sample to reproduce your issue (or if you want you could send us your sample) and revert it back to us. I`ll be glad to take a look at your issue and solve it.
Please let me know if you have any questions.
Thanks for your solution, but still unable to fix the space between the bars.
Thanks
anbu.