#nullable disable
namespace Terminal.Gui.Views;
///
/// Describes an overlay element that is rendered either before or after a series.
///
/// Annotations can be positioned either in screen space (e.g. a legend) or in graph space (e.g. a line showing
/// high point)
///
/// Unlike , annotations are allowed to draw into graph margins
///
public interface IAnnotation
{
///
/// True if annotation should be drawn before . This allows Series and later annotations to
/// potentially draw over the top of this annotation.
///
bool BeforeSeries { get; }
///
/// Called once after series have been rendered (or before if is true). Use
/// methods like and to draw. Use to avoid drawing outside of graph.
///
///
void Render (GraphView graph);
}