Difference: CDXYAddBarLayer (6 vs. 7)

Revision 72011-11-09 - JeanNeron

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

.XY ADD BAR LAYER

Line: 35 to 35
  <bar_color_style> must be either blank or 'multiple'. Blank means that every bar in the layer will be the same color. 'Multiple' means that you must the color of each bar via .XY SET BAR CLR.
Changed:
<
<
<auto_link> must be one of On, Off, True or False. If not passed, or set to On or True, then if you have created your data set before calling this subroutine, a default data group and data template will be created and linked to your data set automatically. This can be helpful if you only have one dataset to link. If you have multiple data sets, you might find it easier to manually create your data group (.LAYER ADD DATA GROUP) and template (.LAYER ADD DATASET) and then link it (.LAYER LINK DATASET).
>
>
<auto_link> must be one of On, Off, True or False. If not passed, or set to On or True, then if you have created your data set before calling this subroutine, a default data group and data template will be created and linked to your data set automatically. This can be helpful if you only have one dataset to link. If you have multiple data sets, you might find it easier to manually create your data group (.LAYER ADD DATA GROUP) and template (.LAYER ADD DATASET) and then link it (.LAYER LINK DATASET). Note that if you plan to repeatedly generate the same chart with different data, the automatic linking will cause problems because when you add the layer on the next iteration, it will link to your previous data set. In this case, you should turn off automatic linking and manage it manually.
  See Datasets Overview for more information on working with Layers, Data Groups, Data Templates, Data Sets and Data Points.

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