Difference: CDOverviewKeyConcepts (6 vs. 7)

Revision 72013-02-19 - RayPelegrino

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"
Changed:
<
<

Key Concepts- Conceptos principales

>
>

Key Concepts

 
Changed:
<
<
Esta página describe los conceptos clave que usted debe saber antes de utilizar las API's.
>
>
This page describes de key concepts you should know before using the API's.
 
Changed:
<
<

Descripcion:

>
>

Description:

  The API's have been designed so that you have a minimum number of parameters to pass. They use the concept of the "current object", where Object can refer to a label, dataset, chart, etc. In other words, when adding data to a chart, you do not have to tell the API which chart you are adding it to, it will automatically add it to the "current" chart. Simiiarliy, when telling the API to render a chart, you do not have to tell it which chart, it will also automatically render the "current" chart. Or, when you create a label for your chart, the label just created will become the 'current' label and when you call other API routines to set the font, color or other attributes, it will automatically apply to that label. If you are working with more than one chart at a time, you can name each chart as you initialize it, and use a API to switch the current chart to one of the named charts. You can also name datasets, shapes and other objects. Normally you only need to do this if you are working with more than one of these at a time, otherwise, leaving the name blank will suffice.
Line: 19 to 19
 The 1CD application contains a number of examples, use it as a reference until you are familiar with using the API's. The examples come directly from the samples in the Chart Director documentation.

Finally, the code examples given in the wiki are designed to be copied and pasted into your own process. You should be able to select the example code, copy it to the clipboard and then paste it into the ILF editor via Option 8.

Changed:
<
<

Comentarios

>
>

Comments

  Read what other users have said about this page or add your own comments.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback