Hi Prateek,
We have prepared a
schedule print sample with a custom timescale. The attached code snippet and
the sample below demonstrate the solution. Please give it a try, and let us
know if you need any further assistance.
Sample: https://stackblitz.com/edit/angular-timescale-vfre7n?file=src%2Fapp.component.ts,src%2Fapp.component.html
[app.component.ts]
|
public timeScale: TimeScaleModel = { enable: true, interval: 60, slotCount: 4, majorSlotTemplate: null, minorSlotTemplate: null };
public onPrintClick(): void {
const printOptions: ScheduleModel = {
views: [
{
option: this.scheduleObj.currentView,
timeScale: this.timeScale,
},
],
};
this.scheduleObj.print(printOptions);
}
|
Regards,
Ashok