gantt: add a toplevel topAxis configuration option
This commit is contained in:
parent
2d0aab223c
commit
120b89041b
|
@ -613,6 +613,18 @@ const config = {
|
|||
*/
|
||||
useMaxWidth: true,
|
||||
|
||||
/**
|
||||
*| Parameter | Description |Type | Required | Values|
|
||||
*| --- | --- | --- | --- | --- |
|
||||
*| topAxis | See notes | Boolean | 4 | True, False |
|
||||
*
|
||||
***Notes:**when this flag is set date labels will be added to the
|
||||
top of the chart
|
||||
*
|
||||
***Default value false**.
|
||||
*/
|
||||
topAxis: false,
|
||||
|
||||
useWidth: undefined
|
||||
},
|
||||
|
||||
|
|
|
@ -671,6 +671,7 @@ export default mermaidAPI;
|
|||
* fontFamily:'"Open-Sans", "sans-serif"',
|
||||
* numberSectionStyles:4,
|
||||
* axisFormat:'%Y-%m-%d',
|
||||
* topAxis:false,
|
||||
* }
|
||||
* };
|
||||
* mermaid.initialize(config);
|
||||
|
|
Loading…
Reference in New Issue