Hi,
Could you please advise how to set the graph title nearby the axis lines? I tried by using below lines but while opening the excel file it throws some error.
chart.getCategoryAxis().getTitle().setText("Sales Efficiency");
chart.getCategoryAxis().getTitle().getFont().setBold(true);
chart.getCategoryAxis().getTitle().getFont().setSize(13);
chart.getValueXAxis().getFont().setBold(true);
chart.getValueXAxis().getFont().setSize(13);
chart.getCategoryAxis().getTitle().setTextHorizontalAlignment(
TextAlignmentType.CENTER);
chart.getCategoryAxis().getTitle().setTextVerticalAlignment(
TextAlignmentType.CENTER);
chart.getCategoryAxis().getTitle().setX(10);
chart.getCategoryAxis().getTitle().setY(10);
I created a scatter charr with width as 700 and height as 700 pixels. I am using Aspose.cell 2.2 version. Please provide your help on this.
Thanks,
Dinesh