chart.PrimaryYAxis.RangePaddingType = ChartAxisRangePaddingType.None; |
If you still face any concern, kindly let us know by modifying the attached sample along with replication procedure. Or please provide the sample in which reported issue is reproduced. This will be helpful for us to find and fix the issue sooner.
Regards,
Sanjith.
Hi Oleg, If the padding is not added, then some of the bars will be clipped. In your case, very large space is added at the top and the bottom. This issue is not reproduced at our end. In the below link, we have attached the sample for your reference. Please revert us the modified sample along with the replication procedure and detail about your current Essential Studio version to reproduce the reported issue, or else please provide us the sample in which the reported issue is reproduced. Regards, Sanjith.
We have analyzed your query and replicated the scenario in our sample. If we add new point at the top of the chart for avoid clipping of the bar, padding is added at the top of the chart. Please find the below screenshot before adding the point at the top
Screenshot of the chart after adding point at the top.
Sample link: https://www.syncfusion.com/downloads/support/forum/123674/ze/Console_application1258860913