Skip to content

Commit 2ff3f0b

Browse files
committed
ux: larger min sample width
Signed-off-by: leo <longshuang@msn.cn>
1 parent 890cfa8 commit 2ff3f0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Views/Chart.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public override void Render(DrawingContext context)
111111
var corner = new CornerRadius(2, 2, 0, 0);
112112
var sampleBrush = SampleBrush;
113113
var time = series.MaxSampleTime;
114-
var sampleW = hasUserSamples ? Math.Min((step - 4) * 0.5, 14.0) : Math.Min(step - 4, 28.0);
114+
var sampleW = hasUserSamples ? Math.Min(step * 0.5 - 2.5, 14.0) : Math.Min(step - 3, 28.0);
115115
var maxSampleH = h - 24.0;
116116
var maxLabelEndX = w - 4.0;
117117

0 commit comments

Comments
 (0)