ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Can different values of OPACITY be used?
Posted by Chuck on Jan-09-2020 04:56
Peter,

For .AddZone found here... https://www.advsofteng.com/doc/cdnet.htm#Axis.addZone.htm

Can you provide a VB.NET example of how to set the Opacity of the Color that is passed? Is it as simple as setting the Alpha channel of the color?

Thank you,
Chuck

  Re: Can different values of OPACITY be used?
Posted by Peter Kwan on Jan-10-2020 02:56
Hi Chuck,

Yes, you can use a semi-transparent color. For example, &HFF0000 is the red color, while &H7FF0000 is semi-transparent red. See:

https://www.advsofteng.com/doc/cdnet.htm#colorspec.htm

Hope this can help.

Regards
Peter Kwan