Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
The following sample code sets the fill of the chart’s second legend entry to none. Please download the sample Excel file used in this code and the output Excel file generated by it, for your reference.
The following screenshot highlights the effect of this code on the sample Excel file.

const path = require("path");
const AsposeCells = require("aspose.cells.node");
// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
// Open the template file.
const workbook = new AsposeCells.Workbook(path.join(dataDir, "Sample.xlsx"));
// Access the first worksheet
const sheet = workbook.getWorksheets().get(0);
// Access the first chart inside the sheet
const chart = sheet.getCharts().get(0);
// Set fill of second legend entry to none
chart.getLegend().getLegendEntries().get(1).setIsTextNoFill(true);
// Save the workbook in xlsx format
workbook.save(path.join(dataDir, "ChartLegendEntry_out.xlsx"), AsposeCells.SaveFormat.Xlsx);
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.