I'm using TeeChart Pro 8.02.
When I use the TColorLineTool to make a horizontal line, if I drag the chart, the horizontal line does not clip inside the vertical boundaries. Is this a bug? Or is this a setting somehow?
Thanks,
Sam.
TColorLineTool
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Sam,
Have you tried setting NoLimitDrag to false?
Have you tried setting NoLimitDrag to false?
Code: Select all
ChartTool1.NoLimitDrag:=false;
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 |
I have now. To no effect. I am basically trying to make clear the zero location on the graph - and do similar things with other graphs. If it weren't for this clipping issue, it would be working well.
Code: Select all
TColorLineTool *thisColorLine;
thisColorLine = new TColorLineTool(m_pDecayChart);
thisColorLine->Value = 0;
thisColorLine->Axis = m_pDecayChart->LeftAxis;
thisColorLine->AllowDrag = false;
thisColorLine->DrawBehind = true;
thisColorLine->Pen->Style = psDash;
thisColorLine->NoLimitDrag = false;
m_pDecayChart->Tools->Add(thisColorLine);