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

Message ListMessage List     Post MessagePost Message

  Semitransparent symbols in a ScatterChart
Posted by leofields on Oct-28-2015 23:34
I am trying to do the following:

I have a XYChart with a LineLayer on top of which I put a ScatterLayer to draw some
symbols on the line chart. So far so good. Everything works as expected except one thing:
The symbols are so close together (often on the same x,y) that one hides the other. So I
want to make them semitransparent. Then I could see if they are on top of each other.
Any suggestions?

I use the python version.

Thanks

  Re: Semitransparent symbols in a ScatterChart
Posted by Peter Kwan on Oct-29-2015 23:45
Hi leofields,

You can use a semi-transparent color as the fill color of the symbols to make them
transparent. For example, in Java/C#/C++, instead of using 0xff0000 for the red color, you
can use 0x7fff0000 for the semi-transparent red color. The leading 7f is the transparency
level. A value of 0 means non-transparency. A value of 7f is semi-transparent. A value of d0
is very transparent.

Hope this can help.

Regards
Peter Kwan