From 3e5b0d2cb25c97982f40e8bb917e9f3f7c822a63 Mon Sep 17 00:00:00 2001 From: Ramzi Sabra Date: Fri, 2 Feb 2024 01:49:10 +0200 Subject: [PATCH] added Gantt chart month format option --- docs/gantt.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/gantt.md b/docs/gantt.md index 72a9967..b20a55f 100644 --- a/docs/gantt.md +++ b/docs/gantt.md @@ -597,18 +597,19 @@ The following examples illustrate both features: ## Options -| Name | Description | Default | -| ----------- | ------------------------------------------------------------------------------------ | --------------------- | -| id | Configures an `id` property on the root HTML element | "" | -| month-width | Controls the size of the scale - represents the pixels width of a month with 30 days | 150 | -| no-groups | Disables groups (flag) | False | -| no-years | Disables years (flag) | False | -| no-weeks | Disables weeks (flag) | False | -| no-quarters | Disables quarters (flag) | False | -| no-days | Disables days (flag) | False | -| whole-years | Displays whole years from January to December (flag) | False | -| pastello | Applies a CSS class to use a color palette with milder saturation | False | -| vlines-pace | Controls how separator vertical lines are generated (each week or each month) | "monthly" or "weekly" | +| Name | Description | Default | +| ------------ | ------------------------------------------------------------------------------------ | --------------------- | +| id | Configures an `id` property on the root HTML element | "" | +| month-width | Controls the size of the scale - represents the pixels width of a month with 30 days | 150 | +| month-format | Controls date formatting for months | "%B %Y" | +| no-groups | Disables groups (flag) | False | +| no-years | Disables years (flag) | False | +| no-weeks | Disables weeks (flag) | False | +| no-quarters | Disables quarters (flag) | False | +| no-days | Disables days (flag) | False | +| whole-years | Displays whole years from January to December (flag) | False | +| pastello | Applies a CSS class to use a color palette with milder saturation | False | +| vlines-pace | Controls how separator vertical lines are generated (each week or each month) | "monthly" or "weekly" | ### Controlling the scale size