Skip to content

Commit

Permalink
Revert "Use horizontal xychart"
Browse files Browse the repository at this point in the history
This reverts commit fac165f.

Even with horizontal xychart, labels on x-axis overlaps...
I reverted the previous commit.
  • Loading branch information
yykamei committed Apr 2, 2024
1 parent fac165f commit 65bbb4d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29420,7 +29420,7 @@ config:
yAxis:
titlePadding: 16
---
xychart-beta horizontal
xychart-beta
title "${this.workflow.name} (${this.workflow.path}${status})"
x-axis [${xAxis.join(",")}]
y-axis "Duration (in seconds)"
Expand Down
2 changes: 1 addition & 1 deletion src/MermaidXYChart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ config:
yAxis:
titlePadding: 16
---
xychart-beta horizontal
xychart-beta
title "${this.workflow.name} (${this.workflow.path}${status})"
x-axis [${xAxis.join(",")}]
y-axis "Duration (in seconds)"
Expand Down
4 changes: 2 additions & 2 deletions tests/GitHubIssueContent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ config:
yAxis:
titlePadding: 16
---
xychart-beta horizontal
xychart-beta
title "ABC (abc.yml)"
x-axis [2024-02-27]
y-axis "Duration (in seconds)"
Expand All @@ -89,7 +89,7 @@ config:
yAxis:
titlePadding: 16
---
xychart-beta horizontal
xychart-beta
title "XYZ (xyz.yml)"
x-axis [2024-03-28]
y-axis "Duration (in seconds)"
Expand Down
4 changes: 2 additions & 2 deletions tests/MermaidXYChart.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ config:
yAxis:
titlePadding: 16
---
xychart-beta horizontal
xychart-beta
title "ABC (abc.yml)"
x-axis [2024-02-19,2024-02-20,2024-02-21,2024-02-22,2024-02-23,2024-02-24,2024-02-25,2024-02-26,2024-02-27]
y-axis "Duration (in seconds)"
Expand Down Expand Up @@ -137,7 +137,7 @@ config:
yAxis:
titlePadding: 16
---
xychart-beta horizontal
xychart-beta
title "ABC (abc.yml for status=success)"
x-axis [2024-02-19]
y-axis "Duration (in seconds)"
Expand Down

0 comments on commit 65bbb4d

Please sign in to comment.