Skip to content

Commit

Permalink
Merge pull request getredash#7 from salabh-aot/gantt
Browse files Browse the repository at this point in the history
month name not showing fix
  • Loading branch information
dinesh-aot authored Mar 29, 2022
2 parents 1a3cba2 + 863b479 commit 2e1a9fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions viz-lib/src/visualizations/gantt-chart/Renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ export default function Renderer({ data, options }: any) {
xAxis: [
{
tickInterval: day * 30, // Month

labels: {
format: "{value:%b}",
format: "{value:%m}",
style: {
fontSize: "10px",
fontSize: "12px",
width: 150,
padding: "5px",
},
step: 1,
},
min: first.data[0].start - day * 15,
max: last.data[last.data.length - 1].end + day * 15,
Expand Down

0 comments on commit 2e1a9fe

Please sign in to comment.