TAChart Tutorial: Chart Tools

From Lazarus wiki
Revision as of 17:11, 2 October 2012 by Wp (talk | contribs) (Created page with "== Introduction == Charts are powerful to display relationships between data. They get even more powerful if the user can interact with them, for example by zooming into a cro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction

Charts are powerful to display relationships between data. They get even more powerful if the user can interact with them, for example by zooming into a crowded series to display more details, by panning the visible viewport to other features, by reading values from the series or by measuring characteristic parameters of the plot.

The TAChart package is equipped with a powerful collection of tools to help creating interactive charts. In this tutorial, we want to show how to apply zooming and panning in your own programs, in another tutorial we will focus on data tools to analyze data interactively.

If you are not familiar with TAChart we recommend that you have a look at the Getting started tutorial. Of course, you must have some experience with Lazarus and FPC.

Preparations

We need a chart to play with. You can use any chart that you ever created for our exercises, but I'll be using her the simple chart of the Getting started tutorial.

tachart getting started step6.png