support3.jpg (13596 bytes) Steema SUPPORT

Steema Products Order About us Download Support

Custom drawing: Annotations and Arrows

 

Problem:
How to add annotations and arrows to the Chart ? 

Solution:
You can use TChart.OnAfterDraw event to put almost anything on the Chart Canvas. The only problem is the additional "objects" coordinates are expressed in screen pixels. When you resize, scroll or zoom Chart, these coordinates do not change. 

This sample application shows you how to draw annotations and arrows directly on the Chart Canvas, and zoom and scroll them.

This application was developed and kindly provided by Jens Munk (Jens.Munk@maccor.dk)


disc.gif (8563 bytes)

disc.gif (8563 bytes)

Download Delphi source code Download CBuilder source code
Home Products Order About us Downloads Support
Copyright information. E-MAIL info@steema.com.   Privacy Policy
All other brands and product names are trademarks or registered trademarks of their respective owners.