Hi,
I do have a Chart, on which I draw a time series.
if the bottom axis grid overlap with the vertical red line drawn at each new day of the horizontal axis, I get a vertical cyan line.
Is there some approach I could use here to fix this issue, which is illustrated on the attached snapshot..
in advance, Many thanks for your valuable help here
Cyan color
Re: Cyan color
Hello,
I'm not sure to understand how are you drawing the vertical red line.
Could you please arrange a simple example project we can run as-is to reproduce the problem?
Thanks in advance.
I'm not sure to understand how are you drawing the vertical red line.
Could you please arrange a simple example project we can run as-is to reproduce the problem?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Cyan color
Hi, I will try to prepare some standalone example ASAP, in the meanwhile, maybe the attached screen snapshot could help to see the issue, I am trying to describe here.
Basically as you can see it, if the red vertical line overlaps the grid vertical line (dashed or not), you get some kind of blending of the two colors.
Is there a way to avoid that ? Is there some known issue about it?
Basically, I am using it like:
Canvas:= TGDIPlusCanvas.Create;
// see http://www.teechart.net/support/viewtop ... =3&t=15740
TGDIPlusCanvas(Canvas).AntiAliasText:=gpfDefault;
TGDIPlusCanvas(Canvas).AntiAlias:= False;
LeftAxis.Axis.Width:= 3;
View3D := False;
TopAxis.LabelStyle := talNone;
TopAxis.Axis.Width := 1;
TopAxis.LabelsSize := 7;
LeftAxis.Automatic := False;
LeftAxis.MinimumOffset := 0;
LeftAxis.MaximumOffset := 0;
LeftAxis.Grid.Color:= clGray;
LeftAxis.Grid.Style:= psDash;
LeftAxis.Grid.SmallSpace:= 1;
LeftAxis.GridCentered:= True;
BottomAxis.DateTimeFormat := 'dd/mm/yyyy hh:nn';
BottomAxis.LabelsSeparation := 70;
BottomAxis.LabelsSize := 30;
BottomAxis.LabelsFont.Color := clNavy;
BottomAxis.Increment := 60;
BottomAxis.Grid.Color:= clGray;
BottomAxis.Grid.Style:= psDash;
BottomAxis.Grid.SmallSpace:= 1;
Basically as you can see it, if the red vertical line overlaps the grid vertical line (dashed or not), you get some kind of blending of the two colors.
Is there a way to avoid that ? Is there some known issue about it?
Basically, I am using it like:
Canvas:= TGDIPlusCanvas.Create;
// see http://www.teechart.net/support/viewtop ... =3&t=15740
TGDIPlusCanvas(Canvas).AntiAliasText:=gpfDefault;
TGDIPlusCanvas(Canvas).AntiAlias:= False;
LeftAxis.Axis.Width:= 3;
View3D := False;
TopAxis.LabelStyle := talNone;
TopAxis.Axis.Width := 1;
TopAxis.LabelsSize := 7;
LeftAxis.Automatic := False;
LeftAxis.MinimumOffset := 0;
LeftAxis.MaximumOffset := 0;
LeftAxis.Grid.Color:= clGray;
LeftAxis.Grid.Style:= psDash;
LeftAxis.Grid.SmallSpace:= 1;
LeftAxis.GridCentered:= True;
BottomAxis.DateTimeFormat := 'dd/mm/yyyy hh:nn';
BottomAxis.LabelsSeparation := 70;
BottomAxis.LabelsSize := 30;
BottomAxis.LabelsFont.Color := clNavy;
BottomAxis.Increment := 60;
BottomAxis.Grid.Color:= clGray;
BottomAxis.Grid.Style:= psDash;
BottomAxis.Grid.SmallSpace:= 1;
- Attachments
-
- Capture.PNG (18.21 KiB) Viewed 8516 times
thanks,
Nabil Ghodbane (PhD. Habil)
Nabil Ghodbane (PhD. Habil)
Re: Cyan color
Hello,
I think the issue is that the lines drawn by the TColorLineTool are XOR'd with the background.
You can change this behaviour setting its DragRepaint property to true:
If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
I think the issue is that the lines drawn by the TColorLineTool are XOR'd with the background.
You can change this behaviour setting its DragRepaint property to true:
Code: Select all
ColorLine1.DragRepaint:=true;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Cyan color
many thanks, your suggestion helped a lot. It works nicely now,
nabil
nabil
thanks,
Nabil Ghodbane (PhD. Habil)
Nabil Ghodbane (PhD. Habil)