Difference: ColorSpec (2 vs. 3)

Revision 32011-09-23 - JeanNeron

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

Working with Color Specifications

Line: 18 to 18
  You can define your own colors and then refer to them by name. First, use .COLOR INITIALIZE to create an empty color, using whatever name you want. Then you can use the .COLOR SET routines to set the RGB values, intensity, and other settings. You can then use this color_spec_name instead of a color_value.
Changed:
<
<
This gives you a way to define something similar to 'styles'. You can write a subroutine that creates color specs for Text, Borders, Background, etc, and use those names on all your charts. To change the look of your charts, you just have to change the named color spec, and all charts that use that name will use the new color.
>
>
This gives you a way to define something similar to 'styles'. You can write a subroutine that creates color specs for Text, Borders, Background, etc, and use those names on all your charts. To change the look of your charts, you just have to change the named color spec, and all charts that use that name will use the new color specification.
 

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