mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 14:29:48 +02:00
Gantt numberSectionStyles should be 4
This commit is contained in:
20
dist/index.html
vendored
20
dist/index.html
vendored
@@ -20,6 +20,19 @@ click B testClick "click test"
|
|||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
|
<div class="mermaid">
|
||||||
|
graph TD
|
||||||
|
A-->B
|
||||||
|
A-->C
|
||||||
|
A-->Z
|
||||||
|
A-->Y
|
||||||
|
B-->Y
|
||||||
|
Z-->Y
|
||||||
|
Y-->A
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr/>
|
||||||
|
|
||||||
<div class="mermaid">
|
<div class="mermaid">
|
||||||
sequenceDiagram
|
sequenceDiagram
|
||||||
Alice ->> Bob: Hello Bob, how are you?
|
Alice ->> Bob: Hello Bob, how are you?
|
||||||
@@ -105,7 +118,12 @@ Class08 <--> C2: Cool label
|
|||||||
</div>
|
</div>
|
||||||
<script src="./mermaid.js"></script>
|
<script src="./mermaid.js"></script>
|
||||||
<script>
|
<script>
|
||||||
mermaid.initialize({ theme: 'forest', logLevel: 3, gantt: { axisFormat: '%m/%d/%Y' } });
|
mermaid.initialize({
|
||||||
|
theme: 'forest',
|
||||||
|
logLevel: 3,
|
||||||
|
gantt: { axisFormat: '%m/%d/%Y' },
|
||||||
|
sequence: { actorMargin: 50 },
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
function testClick(nodeId) {
|
function testClick(nodeId) {
|
||||||
|
@@ -205,7 +205,7 @@ const config = {
|
|||||||
/**
|
/**
|
||||||
* **numberSectionStyles** - the number of alternating section styles
|
* **numberSectionStyles** - the number of alternating section styles
|
||||||
*/
|
*/
|
||||||
numberSectionStyles: 3,
|
numberSectionStyles: 4,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* **axisFormat** - datetime format of the axis, this might need adjustment to match your locale and preferences
|
* **axisFormat** - datetime format of the axis, this might need adjustment to match your locale and preferences
|
||||||
|
Reference in New Issue
Block a user