Namespace: DeltaEngine.Rendering2D.Graphs
Assembly: DeltaEngine.Rendering2D.Graphs (in DeltaEngine.Rendering2D.Graphs.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering2D.Graphs.Tests.GraphTests
2 unit tests call DeltaEngine.Rendering2D.Graphs.Graph.KeyVisibility
Assembly: DeltaEngine.Rendering2D.Graphs (in DeltaEngine.Rendering2D.Graphs.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: BooleanRemarks
Examples
[Test, CloseAfterFirstFrame, Timeout(2000)] public void ChangeKeyVisibility() { graph.CreateLine("TestLine", Color.Red); graph.CreateLine("TestLine2", Color.Red); Assert.IsFalse(graph.KeyVisibility); graph.KeyVisibility = true; Assert.IsTrue(graph.KeyVisibility); graph.RefreshKey(); }
[Test, CloseAfterFirstFrame] public void RenderGraphIncludingKey() { graph.CreateLine("key", LineColor); graph.KeyVisibility = true; graph.RefreshKey(); graph.KeyVisibility = true; graph.PercentileLabelsIsVisible = false; graph.PercentilesIsVisible = false; graph.Origin = graph.Origin; AdvanceTimeAndUpdateEntities(); }
See Also