Chart brush for custom drawing
Posted: Thu Oct 02, 2014 9:18 am
Hi,
I am doing some custom drawing in OnAfterDraw event handler. I have problems with using Chart.Canvas.TextOut and transparent text. I tried different brush settings but I still have some issues.
I usually do Chart.Canvas.Brush.Style := bsClear but I get TextOut with black background. So I tried also Chart.Canvas.Font.Brush.... etc...
Could you explain to me when and how to use different Brushes and when do you use them to draw something?
Chart.Brush (TBrush)
Chart.Canvas.Brush (TTeeBrush)
Chart.Canvad.Font.Brush(TTeeBrush)
Which one should I use to display on Canvas some text with TextOut and transparent background?
Thanks in advance.
I am doing some custom drawing in OnAfterDraw event handler. I have problems with using Chart.Canvas.TextOut and transparent text. I tried different brush settings but I still have some issues.
I usually do Chart.Canvas.Brush.Style := bsClear but I get TextOut with black background. So I tried also Chart.Canvas.Font.Brush.... etc...
Could you explain to me when and how to use different Brushes and when do you use them to draw something?
Chart.Brush (TBrush)
Chart.Canvas.Brush (TTeeBrush)
Chart.Canvad.Font.Brush(TTeeBrush)
Which one should I use to display on Canvas some text with TextOut and transparent background?
Thanks in advance.