Draw XXL documentation


chartAxis.sourceOfAutomaticValues

Datapoints of charts can be supplied with the AddValue() function that only specifies a y-value, but the x-value relies on an automatic filling. This automatic filling of x-values is specified with this "sourceOfAutomaticValues" setting here. This also means that this setting has only effect if it is set on an x-axis. For y-axis it is always ignored.

Name Description
fixedStepForEachValueAdding This is the default value. Each time when AddValue() supplies a y-value the x-axis gets incremented by 1.
fixedStep_followingTheManualIncrementFunction The full control and responsibility over x-position incrementation is handed to the user. Use chart.IncrementXPos() for manually incrementing the x-position.
frameCount See Unitys time class for details.
fixedTime See Unitys time class for details.
fixedUnscaledTime See Unitys time class for details.
realtimeSinceStartup See Unitys time class for details.
time See Unitys time class for details.
timeSinceLevelLoad See Unitys time class for details.
unscaledTime See Unitys time class for details.
editorTimeSinceStartup See Unitys Editor Application time for details. In builds it falls back to "realtimeSinceStartup".