|
Watermark like effect !! |
Posted by AC on Jan-02-2021 20:42 |
|
Hi Peter,
Happy New Year
I am adding Watermark like effect using
c.addText(500, 400, "HDFCBANK", "Verdana Bold", 24, Chart.CColor(Color.Gainsboro))
Perfect... As I am expecting. But a little issue. The letter "K" is coming in front of the candle. How to bring it forward or send the text in back..??
I have attached an image too.
Regards
AC
|
Re: Watermark like effect !! |
Posted by Peter Kwan on Jan-03-2021 13:45 |
|
Hi AC,
You may use Box.setZOrder:
Dim t As ChartDirector.TextBox = c.addText(500, 400, "HDFCBANK", "Verdana Bold", 24, Chart.CColor(Color.Gainsboro))
' Draw in front of the grid lines but behind the data layers
t.setZOrder(Chart.GridLinesZ)
See:
https://www.advsofteng.com/doc/cdnet.htm#Box.setZOrder.htm
Regards
Peter Kwan |
Re: Watermark like effect !! |
Posted by AC on Jan-03-2021 16:36 |
|
Hi Peter,
Thanks a lot for the quick reply.
Regards
AC |
Re: Watermark like effect !! |
Posted by AC on Jan-03-2021 17:11 |
|
Hi Peter,
What about this..?
I am drawing a vertical line using Mark. Tried to send it in the background of the candle
using;
Chart.ChartBackZ
and
Chart.GridLinesZ
How to send the Vertical Mark in the background..?
Regards
AC
|
|