Draw XXL documentation


bool DrawCharts.chartInspectorComponentsAutomaticallyProceedOneFrameStepOnPauseStarts_toPreventFrozenOverlayDraw

Default is true.
If this setting gets disabled, then the following problem occurs: If you create a chart inspector component via aChartDrawing.CreateChartInspectionGameobject to have a closer look at the data, and then pause the game, then the chart is displayed twice, seemingly as an overlay: One time as a frozen chart as it was in the moment of pausing the game. And a second time as a flexible chart that can regularly be zoomed and scaled. The reason for this is that Chart Inspector components use Debug.DrawLine() for drawing when the game runs and Gizmos.DrawLine() when the game pauses. Otherwise the chart could not be changed during pauses, and no zooming or scaling would be possible. The reason of this behaviour is: Lines from Debug.DrawLine()(link) don't get cleared during pauses, instead they remain fixed until the pause ends. To prevent that, Chart Inspector components automatically proceed one additional frame as soon as the game is paused, in which they skip the drawing with Debug.DrawLine(), so that it is not displayed during the game pause.