Graph AxesIsVisible 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 AxesIsVisible { get; set; }

Property Value

Type: Boolean
Remarks

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

2 unit tests call DeltaEngine.Rendering2D.Graphs.Graph.AxesIsVisible
[Test]
public void RenderGraphWithFourLines()
{
    CreateGraphWithFourLines();
    graph.AxesIsVisible = false;
}
[Test, CloseAfterFirstFrame]
public void ChangeAxesVisibility()
{
    Assert.IsTrue(graph.AxesIsVisible);
    graph.AxesIsVisible = false;
    Assert.IsFalse(graph.AxesIsVisible);
}
See Also