跳转到主要内容

xy

Description

定义各种调度器元素的尺寸

xy: SchedulerSizes

Example

scheduler.xy.scale_height = 25; // 设置X轴的高度
...
scheduler.init('scheduler_here', new Date(), "month");

Details

xy 对象包含以下属性:

属性

描述

默认值

适用视图

bar_height月视图中任务条的高度20month
editor_width事件文本输入框的宽度140day, week, units
lightbox_additional_height为lightbox增加额外高度50all views
map_date_width地图视图中日期列的宽度188map
map_description_width地图视图中描述列的宽度400map
margin_left主调度器区域的左边距0all views
margin_top主调度器区域的上边距0all views
menu_width选择菜单的宽度25day, week, units
min_event_height事件框的最小高度40day, week, units
month_scale_height月视图中单元格内事件的垂直偏移20month
scale_heightX轴的高度20all views
scale_widthY轴的宽度50day, week, timeline, units
scroll_width滚动条区域的宽度18all views
注释

请注意,xy 下的所有属性的数据类型均为 'number'。

示意图

月视图

month_xy_property

周视图

week_xy_property

日视图

day_xy_property

地图视图

map_xy_property

lightbox_xy_property

Change log

  • nav_height 属性在v7.0版本中被移除;工具栏尺寸现在通过CSS控制。
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.