Difference: CDOverviewChartRender (1 vs. 4)

Revision 42013-05-28 - JeanNeron

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

Chart Rendering Overview

Line: 4 to 4
  This page describes the process for rendering a chart and using it in your Appx program.
Deleted:
<
<
 

Description:

Changed:
<
<
After you have initialized your chart, provided the data to plot and set any other desired attributes, you render the chart by calling the .CHART RENDER routine. This requires just one arguement, a field to contain the name of the generated graphic file. The routine will then invoke Chart Director, which will create the graphic file. You can also pass a file name, in which case it will create that file in the default chart directory. If you pass a complete path and file name, the chart will be rendered to that location. If you pass a blank field, the API will assign a unique name for you, using the settings in the parameter file.
>
>
After you have initialized your chart, provided the data to plot and set any other desired attributes, you render the chart by calling the .CHART RENDER routine. This requires just one argument, a field to contain the name of the generated graphic file. The routine will then invoke Chart Director, which will create the graphic file. You can also pass a file name, in which case it will create that file in the default chart directory. If you pass a complete path and file name, the chart will be rendered to that location. If you pass a blank field, the API will assign a unique name for you, using the settings in the parameter file.
  If you have standard colors or other attributes that should be the same across all charts, you can create your own subroutine that sets all these attributes before calling .CHART RENDER. In your applications, you would call this subroutine instead of calling .CHART RENDER directly. This would give all your charts a common look and feel.

Revision 32011-11-25 - JeanNeron

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

Chart Rendering Overview

This page describes the process for rendering a chart and using it in your Appx program.

Changed:
<
<

>
>
 

Description:

After you have initialized your chart, provided the data to plot and set any other desired attributes, you render the chart by calling the .CHART RENDER routine. This requires just one arguement, a field to contain the name of the generated graphic file. The routine will then invoke Chart Director, which will create the graphic file. You can also pass a file name, in which case it will create that file in the default chart directory. If you pass a complete path and file name, the chart will be rendered to that location. If you pass a blank field, the API will assign a unique name for you, using the settings in the parameter file.

Revision 22011-09-22 - JeanNeron

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

Chart Rendering Overview

Line: 7 to 7
 

Description:

Changed:
<
<
After you have initialized your chart, provided the data to plot and set any other desired attributes, you render the chart by calling the .CHART RENDER routine. This requires just one arguement, a field to contain the name of the generated graphic file. The routine will then invoke Chart Director, which will create the graphic file. You can also pass a file name, in which case it will create that file in the default chart directory. If you pass a complete path and file name, the chart will be rendered to that location. If you pass a blank field, the API will assign a unique name for you.
>
>
After you have initialized your chart, provided the data to plot and set any other desired attributes, you render the chart by calling the .CHART RENDER routine. This requires just one arguement, a field to contain the name of the generated graphic file. The routine will then invoke Chart Director, which will create the graphic file. You can also pass a file name, in which case it will create that file in the default chart directory. If you pass a complete path and file name, the chart will be rendered to that location. If you pass a blank field, the API will assign a unique name for you, using the settings in the parameter file.
  If you have standard colors or other attributes that should be the same across all charts, you can create your own subroutine that sets all these attributes before calling .CHART RENDER. In your applications, you would call this subroutine instead of calling .CHART RENDER directly. This would give all your charts a common look and feel.

To use the chart in an input or output process, place an alpha field on your image, drag it out to the appropriate size, and set the GUI attributes to PICTURE, Location Type of SERVER, Position to EXPAND PROP'L and check the Transparent flag. You can then pass this field to the .CHART RENDER routine, and Appx will display the completed chart on your image. Make sure the alpha field is long enough to contain the complete path and file name.

Added:
>
>
The rendered chart file is not automatically removed, it is your responsbility to clean up any chart files that are no longer needed. The End of Process Event point (for both Inputs and Outputs) is a logical choice, if you are only rendering one chart in the process. If you are rendering more than one chart in the process, you will have to use another technique.
 

Comments

Read what other users have said about this page or add your own comments.

Revision 12011-09-21 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

Chart Rendering Overview

This page describes the process for rendering a chart and using it in your Appx program.


Description:

After you have initialized your chart, provided the data to plot and set any other desired attributes, you render the chart by calling the .CHART RENDER routine. This requires just one arguement, a field to contain the name of the generated graphic file. The routine will then invoke Chart Director, which will create the graphic file. You can also pass a file name, in which case it will create that file in the default chart directory. If you pass a complete path and file name, the chart will be rendered to that location. If you pass a blank field, the API will assign a unique name for you.

If you have standard colors or other attributes that should be the same across all charts, you can create your own subroutine that sets all these attributes before calling .CHART RENDER. In your applications, you would call this subroutine instead of calling .CHART RENDER directly. This would give all your charts a common look and feel.

To use the chart in an input or output process, place an alpha field on your image, drag it out to the appropriate size, and set the GUI attributes to PICTURE, Location Type of SERVER, Position to EXPAND PROP'L and check the Transparent flag. You can then pass this field to the .CHART RENDER routine, and Appx will display the completed chart on your image. Make sure the alpha field is long enough to contain the complete path and file name.

Comments

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2011-09-21

 
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