docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GraphConfiguration

    Graph configuration used by DisplayElementConfiguration. This configuration contain all information about a Graph.

    Inheritance
    object
    GraphConfiguration
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Multiplayer.Tools.NetStatsMonitor
    Assembly: Unity.Multiplayer.Tools.NetStatsMonitor.Configuration.dll
    Syntax
    [Serializable]
    public sealed class GraphConfiguration

    Properties

    LineGraphConfiguration

    Line-graph specific options.

    Declaration
    public LineGraphConfiguration LineGraphConfiguration { get; set; }
    Property Value
    Type Description
    LineGraphConfiguration

    SampleCount

    The number of samples that are maintained for the purpose of graphing.

    Declaration
    public int SampleCount { get; set; }
    Property Value
    Type Description
    int
    Remarks

    The value is clamped to the range [8, 512].

    SampleRate

    The sample rate of the graph.

    Declaration
    [Tooltip("The sample rate of the graph. If the sample rate is Per Second then each point in the graph corresponds to data collected over a full second, whereas if the sample rate is Per Frame then each point in the graph corresponds to data collected within a single frame.")]
    public SampleRate SampleRate { get; set; }
    Property Value
    Type Description
    SampleRate
    Remarks

    If the sample rate is PerSecond then each point in the graph corresponds to data collected over a full second, whereas if the sample rate is PerFrame then each point in the graph corresponds to data collected within a single frame.

    VariableColors

    List of colors to override the default colors of the graph.

    Declaration
    public List<Color> VariableColors { get; set; }
    Property Value
    Type Description
    List<Color>

    XAxisType

    The units used for displaying the bounds of the graph's x-axis. By default the graph bounds are displayed in units of sample count. If set to time, the the x-axis graph bounds will display the time over which these samples were collected.

    Declaration
    public GraphXAxisType XAxisType { get; set; }
    Property Value
    Type Description
    GraphXAxisType
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)