Graph PercentilesIsVisible Property Delta Engine Documentation

Namespace: DeltaEngine.Rendering2D.Graphs
Assembly: DeltaEngine.Rendering2D.Graphs (in DeltaEngine.Rendering2D.Graphs.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public bool PercentilesIsVisible { get; set; }

Property Value

Type: Boolean
Remarks

Tests: DeltaEngine.Rendering2D.Graphs.Tests.GraphTests
Examples

2 unit tests call DeltaEngine.Rendering2D.Graphs.Graph.PercentilesIsVisible
[Test, CloseAfterFirstFrame]
public void ChangePercentilesVisibility()
{
    Assert.IsFalse(graph.PercentilesIsVisible);
    graph.PercentilesIsVisible = true;
    graph.NumberOfPercentiles = 2;
    Assert.IsTrue(graph.PercentilesIsVisible);
}
[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