I’m having problem with online export when using a second scale on the calendar. (see: imgur.com/a/jewUY)
1st image is with the second scale and 2nd image is without the second scale. (i’d like the PDF to be exported like the 2nd picture while still using the second scale in the view) Is there a way to exclude the second scale from the PDF but not the view??
Ideally I’d like to see the PDF as I see it here (imgur.com/bPFmF2w)
private TimelineView ConfigureTimelineView(DateTime currentDate)
{
TimelineView timeline = new TimelineView(“timeline”, “assignee_id”);
timeline.Label = “Month”;
timeline.RenderMode = TimelineView.RenderModes.Cell;
timeline.FullEventDy = true;
timeline.X_Date = “%j”;
timeline.X_Unit = TimelineView.XScaleUnits.Hour;
timeline.AddSecondScale(TimelineView.XScaleUnits.Month, “%M”);
timeline.Set(“round_position”, true);
timeline.X_Step = 24;
timeline.X_Size = 30; // Always show 30 days
timeline.X_Length = 1;
timeline.SectionAutoheight = false;
timeline.Dy = 20;
timeline.TabClass = "dhx_cal_tab_last";
// Initialize to show all members by default
CalendarUtilities calUtils = new CalendarUtilities(UnitOfWork);
timeline.AddOptions(calUtils.GetAllMembersUserGroup(currentDate).Members);
return timeline;
}