Roadmap Tutorial API's: XYGraph Axes etc Series Stats

TxyGraph Tutorial

  1. Getting Started
  2. Using Series
  3. Getting Data Automatically
  4. Analysing Data
  5. Changing the graph Appearance
  6. Other things you can do with the graph

How to change the appearance of the Graph

Appearance of the Species

Each Series can be shown with points, lines, and a regression line. If you don't want a series to show at all, it's best to turn it right off using the active property

    xygraph1[1].active := false

and then it won't affect the scaling of the graph. You can also assign a series to the second y axis if you wish, by using the WhichYAxis property, like

    xygraph1[1].WhichYAxis := xyGraph1.YAxis_Second

Axes Appearance

Most of the properties for controlling the appearance of the axes are wrapped up in the Axis object, but some that apply to them all are found under Appearance or Dimensions. Generally, you can control the scaling and tick step manually or allow them to be calculated automatically. The number of decimals shown for the tick marks is mostly automatic.

Other things

Everything that can be changed about the graph is available in the object inspector, and this is the place to learn how things work. The Designer is easier to use, but not so useful because it presents different interface to the run-time api. However this is available at run-time if you wish, and can serve as a useful place for you to start developing your own

If you wish to make a series of changes, but don't want the graph to redraw each time, set xygraph1.plotting := false