跳转到主要内容

TIMELINE_scaley_class

信息

此功能仅在 PRO 版本中可用。

Description

定义将分配给Y轴项目的CSS类名

TIMELINE_scaley_class: (key: string, label: string, section: object) => string;

Parameters

  • key - (required) string - 该部分的标识符
  • label - (required) string - 该部分的标签
  • section - (required) object - 表示该部分的对象,包含 'key' 和 'label' 属性

Returns

  • css_class - (string) - 将应用于对应元素的CSS类

Example

scheduler.templates.timeline_scaley_class = function(key, label,  section){ 
return "";
};

Applicable views: Timeline view

Details

注释

该模板需要启用timeline 插件。

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.