Skip to content

Commit

Permalink
Update ChartBar.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjinhuagood committed Jul 24, 2024
1 parent 49d494a commit 72c619b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WPFDevelopers.Shared/Controls/Charts/ChartBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected override void OnRender(DrawingContext drawingContext)
drawingContext.DrawRectangle(NormalBrush, null, rect);
x += interval;
var nRect = new Rect(rect.Left - EllipsePadding, rect.Top - EllipsePadding, rect.Width + EllipsePadding, rect.Height + EllipsePadding);
dicts.Add(nRect, $"{item.Key} : {item.Value}");
dicts.Add(nRect, $"{item.Key} : {item.Value.ToString("#,##0.#########################")}");
}
PointCache = dicts;
}
Expand Down

0 comments on commit 72c619b

Please sign in to comment.