Skip to content

Commit

Permalink
Fixed xAxis time order
Browse files Browse the repository at this point in the history
Signed-off-by: Navaneeth Rao <32010211+navaneeth-dev@users.noreply.github.com>
  • Loading branch information
navaneeth-dev committed Jan 26, 2025
1 parent 6213c70 commit edfc34f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class ServiceGraphImpl extends React.PureComponent<TProps> {
graphs.push(
<Area
key={i++}
type="linear"
type="step"
dataKey={line.quantile.toString()}
stroke={color || this.colors[idx]}
strokeWidth={2}
Expand Down Expand Up @@ -226,7 +226,7 @@ export class ServiceGraphImpl extends React.PureComponent<TProps> {
tickLine={{ stroke: '#e6e6e9', strokeWidth: 2 }}
axisLine={{ stroke: '#e6e6e9', strokeWidth: 2 }}
height={30}
reversed />
/>
<YAxis
domain={yDomain}
tickFormatter={yAxisTickFormat}
Expand Down

0 comments on commit edfc34f

Please sign in to comment.