Skip to main content

How-to advice

How-to advice on various charting (with LightningChart .NET library) topics.

📄️How to measure Annotation

Annotation has many properties which controls its size and location (e.g. AnnotationXY ). Annotation can be dragged to different position on the screen and it can be resized. Also text inside of Annotation can be change at any time. While in most cases user don't need to worry and rendering will be done automatically, sometimes user may want to know size and location of Annotation. For some settings answer is very trivial (e.g. if AnnotationXYSizing == AxisValuesBoundaries). However, it is less obvious when other settings are used.