Search Locate Previous Next Contents

ch.Name – give a name to the chart

You can use this function to help you to recognise which chart a user clicked on if you intend to do drill-down or other chart-related processing in your application. The name you give will be included as an HTML anchor at the top of the block containing the chart. You could use this to make an HTML jump directly to a specific chart embedded in a long webpage.

ch.Name 'FirstPie'

If you do not name charts, they will be given a meaningless (unique) name such as ‘chart35321’ when they are generated. If you only have one chart (which may have multiple data series) at a time, you can ignore this function. See PostScrp.FindSeries for the code which you need to make use of these names.

See also ...
ch.Href – add HTML jumps


Continue to: ch.New – define the chart area
© Copyright Causeway Graphical Systems Ltd 2003