Skip to content

Commit 0018417

Browse files
committed
Add vertical gridlines for generic xy charts for non-time-axis case
This will make the buckets for xRanges and xCategories more visible. Signed-off-by: Bernd Hufmann <[email protected]>
1 parent 9745532 commit 0018417

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

local-libs/traceviewer-libs/react-components/src/components/generic-xy-output-component.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,12 @@ export class GenericXYOutputComponent extends AbstractTreeOutputComponent<Generi
487487
type: 'category',
488488
position: 'bottom',
489489
display: !this.isTimeAxis,
490-
gridLines: { display: !this.isTimeAxis, drawBorder: false, drawTicks: !this.isTimeAxis, color: gridColor },
490+
gridLines: {
491+
display: !this.isTimeAxis,
492+
drawBorder: false,
493+
drawTicks: !this.isTimeAxis,
494+
color: gridColor
495+
},
491496
ticks: {
492497
display: false
493498
}

0 commit comments

Comments
 (0)