Skip to content

Commit 4aceefd

Browse files
committed
Update LiveGraph Method name
1 parent 0b5f311 commit 4aceefd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dev/DevWinUI.Gallery/Views/Pages/Win2d/LiveGraphPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public LiveGraphPage()
2121
private void LiveGraphSample_Draw(object sender, LiveGraphEventArgs e)
2222
{
2323
float cpuValue = (float)random.NextDouble() * 100f; // CPU usage 0-100%
24-
LiveGraphSample.AddLivePoint(liveGraphKey, new GraphPoint { Value = cpuValue, Space = 6f });
24+
LiveGraphSample.AddDynamicPoint(liveGraphKey, new GraphPoint { Value = cpuValue, Space = 6f });
2525
}
2626

2727
private void LiveGraphSample_CreateResources(object sender, Microsoft.Graphics.Canvas.UI.Xaml.CanvasAnimatedControl e)

dev/DevWinUI/Controls/Win2DAndComposition/LiveGraph/LiveGraph.AddPoints.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
public partial class LiveGraph
44
{
5-
public void AddLivePoint(string key, GraphPoint point)
5+
public void AddDynamicPoint(string key, GraphPoint point)
66
{
77
AddDynamicPoint(key, point, false);
88
}

0 commit comments

Comments
 (0)