markdown - 美人鱼甘特图从 Axis 中排除了周末

标签 markdown gantt-chart weekend mermaid

如何在视觉输出中排除周末? (见下面的圆圈区域)。

我想在计数和视觉上都排除周末。有办法吗?

这是我的代码,

gantt
    title blabla
    dateFormat  YYYY-DD-MM
    axisFormat %W
    excludes weekends saturday,sunday
    
    section Section
    Task     :a1, 2020-23-03, 5d
    Another task     :after a1  , 15d
    
    section Another
    Task in sec      :2020-20-03  , 12d
    another task      : 24d

Output of code with marked gap

最佳答案

似乎较新的版本默认不包括周末

运行这段代码,

# library(DiagrammeR)
gantt
 dateFormat  YYYY-DD-MM
 title blabla
 # axisFormat %d/%m
 # excludes weekends saturday,sunday

section Section
Task     :a1, 2020-23-03, 5d
Another task     :after a1  , 15d

section Another
Task in sec      :2020-20-03  , 12d
another task      : 24d

我明白了,

gantt mermadi

关于markdown - 美人鱼甘特图从 Axis 中排除了周末,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60828816/

相关文章:

javascript - amCharts 日期时间值问题,无法设置 hh :mm time

javascript - 将高度自定义为 DHTMLX 甘特图

sql-server - 如何保留指示日期是周末的位字段?

php - 使用 PHPmarkdown 进行内联 Markdown

ruby - Markdown 到 Ruby 中的纯文本?

javascript - 如何更改 dhtmlx 甘特图中的日期格式?

sql-server - 如何在 SQL Server 查询中排除周末?

javascript - 如果是周末则更改日期的功能

python - 使用 Python markdown Treeprocessor 包装 etree 元素

markdown - MarkdownSharp 是否允许反向翻译(HTML 到 Markdown)?