Hi everybody,
I need an Idea how to show a line in the middle of a TChart with a line series within. There are x and y Values schon in a graph, and I need to show a line in the middle as a kind of a visual reference.
This line shall be at y-value Zero.
I use the left and bottom axis for showing the values at the left and bottom part of the Chart.
Any Idea how to do this ?
Maybe by a Cursor Tool ?
Thanks in Advance
SOLVED - Line Series: Always show a line for zero Y Values
SOLVED - Line Series: Always show a line for zero Y Values
Last edited by ChZiegelt on Fri Sep 28, 2007 2:54 pm, edited 1 time in total.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi ChZiegelt,
The easiest way I can think of is using a TColorLineTool, for example:
Hope this helps!
The easiest way I can think of is using a TColorLineTool, for example:
Code: Select all
ChartTool1.Axis:=Chart1.Axes.Left;
ChartTool1.Value:=0;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi ChZiegelt,
You're welcome! For completeness, please notice that TColorLineTool also supports mouse dragging:
You're welcome! For completeness, please notice that TColorLineTool also supports mouse dragging:
Code: Select all
ChartTool1.AllowDrag:=true;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |