How to customize the borders of chart

Hi,

if you look at the screenshot from the attachment, the chart areas are not sharp edged. they have curve edges to the corners. and also the right side border of each chart is coming to the midway of the cell. but in the Chart defination what we declare, the chart's right side border will occupy the entire cell.

please tell me how to do:

1) making the corners as curve edged

2)making the side borders to start or end in the midway of the cell. as in the attachment

Thanks

Hi,

Thanks for considering Aspose.

Please try:

1). chart.IsRectangularCornered = false;

2). I think you may try to adjust the width of the chart accordingly for setting borders.

Thank you.

Hi,

2)See following codes to make the chart end in column 10.

ChartShape chartShape = chart.ChartObject;
chartShape.LowerRightColumn = 10;
chartShape.LowerDeltaX = 0;//start
chartShape.LowerDeltaX = 1024 /2;//middle
chartShape.LowerDeltaX = 1024;//end