I have a stacked bar chart in a cell in my table and I'm trying to rip as much out and make it as compact as possible... I have set the PlotAreaStyle background colour to be yellow in my screenshot below... How can I completely remove this space and make my chart more compact in the cell?
1 Answer, 1 is accepted
answered on 30 Aug 2021, 10:39 AM
From the provided screenshot, I infer that you have already hidden the legends, titles, labels, and axes and have removed all the padding in the Graph. It seems that the Scale > Minimum/Maximum of the X-axis is also set so that the bar to occupy the entire axis length.
You may also set the YAxis > Scale > SpacingSlotCount to 0 (zero). The default is 1 (one). This setting will force the barSeries to occupy the entire category slot and minimize the empty space below/above the bars. When I tested locally, this indeed reduced greatly the empty space around the Graph but left a tiny strip with its background color on the top and on the right - see the linked screenshot for reference.
I hope this will work for you.
Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you
up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.