Skip to content

Commit 474daa5

Browse files
committed
Add minor tick dtick and tick0 for new ticklabelindex mock
1 parent 5861fc5 commit 474daa5

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

test/image/mocks/ticklabelindex-hidden-minor-ticks.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@
5353
"tickformat": "%Y",
5454
"ticklabelmode": "period",
5555
"dtick": "M24",
56+
"minor": {
57+
"dtick": "M12",
58+
"tick0": "2023-01-01"
59+
},
5660
"title": {
5761
"text": "Should display 2 ticks and labels 2023 and 2025 to the left of them."
5862
}
@@ -63,6 +67,10 @@
6367
"tickformat": "%Y",
6468
"ticklabelmode": "period",
6569
"dtick": "M24",
70+
"minor": {
71+
"dtick": "M12",
72+
"tick0": "2023-01-01"
73+
},
6674
"title": {
6775
"text": "Should display a label at 2024"
6876
}
@@ -74,6 +82,10 @@
7482
"ticklabelmode": "period",
7583
"ticklabelstep": 2,
7684
"dtick": "M12",
85+
"minor": {
86+
"dtick": "M12",
87+
"tick0": "2023-01-01"
88+
},
7789
"title": {
7890
"text": "Should display yearly ticks with labels at 2023 and 2025"
7991
}

0 commit comments

Comments
 (0)