Skip to content

Commit a33fe72

Browse files
HistoryChart - add pointPlacement: 'on' to fix the xAxis spacing bug
1 parent 806cedb commit a33fe72

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

src/components/widgets/HistoryChart.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,22 +131,26 @@ const HistoryChart = ({
131131
{
132132
type: 'column',
133133
name: 'UP/OK',
134-
color: 'lime'
134+
color: 'lime',
135+
pointPlacement: 'on',
135136
},
136137
{
137138
type: 'column',
138139
name: 'WARNING',
139-
color: 'yellow'
140+
color: 'yellow',
141+
pointPlacement: 'on',
140142
},
141143
{
142144
type: 'column',
143145
name: 'UNKNOWN',
144-
color: 'orange'
146+
color: 'orange',
147+
pointPlacement: 'on',
145148
},
146149
{
147150
type: 'column',
148151
name: 'CRITICAL',
149-
color: '#FD7272'
152+
color: '#FD7272',
153+
pointPlacement: 'on',
150154
}
151155
]
152156
};

0 commit comments

Comments
 (0)