Difference: CDXYAddBarLayer (10 vs. 11)

Revision 112011-12-22 - 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 each bar can have a different color. You can set each bar via .XY SET BAR CLR, but if you don't Chart Director will assign unique colors automatically.
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). 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.
>
>
<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 TM) and then link it (.LAYER LINK DATASET TM). 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