Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Working with Color Specifications | ||||||||
Line: 13 to 13 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
color_spec_nameYou 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. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
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. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Working with Color Specifications | ||||||||
Line: 16 to 16 | ||||||||
color_spec_name | ||||||||
Changed: | ||||||||
< < | You can define your own colors and then refer to them by name. First, use .COLOR INITALIZE 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. | |||||||
> > | 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. | |||||||
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.
Comments: |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Working with Color SpecificationsVarious API's allow you to pass a 'color_spec_name' or 'color_value' to set a color. A 'color_spec_name' refers to a previously defined color. You can create and define different colors, and then refer to them by name. Alternatively, a 'color_value' allows you to directly specify which color you want.color_valuecolor_value can be in one of the following forms:
color_spec_nameYou can define your own colors and then refer to them by name. First, use .COLOR INITALIZE 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. 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.Comments:Read what other users have said about this page or add your own comments.-- JeanNeron - 2011-09-22 |