Hello,
I was trying to export the Gantt chart for range feature. using the below function,
Here: exportType is svg/png, planned start/end dates are the starting and ending dates of the range.
Are ResourceFrom and ResourceTo are mandatoty? What to use for these values in n Gantt View.
this.dp.exportAs(this.state.exportType?.toLowerCase(), {
area: "range",
dateFrom: new DayPilot.Date(this.state.PlannedStartDate),
dateTo: new DayPilot.Date(this.state.PlannedEndDate),
});
Nothing is being done here, no errors, no file downloads. The area option “Full” and “Viewport” are working.
Thank you.