Search found 7 matches

by restech
Mon Mar 05, 2018 7:12 am
Forum: VCL
Topic: Scrolling chart with Rectangle Tool
Replies: 1
Views: 5849

Scrolling chart with Rectangle Tool

Hello,
I am work in Rad Studio 10.1 Berlin with c++. Teechart version 2017.21

I need to use scrolling with right mouse button. But if i have rectangle, or annotation on my chart, i can't scroll if click made in rectangle or annotation area.

Tee file with this tools and behavior in attachments.
by restech
Tue Feb 27, 2018 3:58 pm
Forum: VCL
Topic: TeeChart DragMark Tool
Replies: 7
Views: 13404

Re: TeeChart DragMark Tool

Thanks, it works for zoom in and out. But if i add one mark and move it, and after that add another mark, marks moves then i scroll chart with right mouse button.
by restech
Tue Feb 20, 2018 8:14 am
Forum: VCL
Topic: TeeChart DragMark Tool
Replies: 7
Views: 13404

Re: TeeChart DragMark Tool

I just tried to store coordinates of marks relatively to the axis. I did it in OnChartAfterDrawEvent: void __fastcall OnChartAfterDraw(TObject *Sender) { MarksCoordinates.clear(); if(Chart && __PointTextSeries) { for(int i = 0; i < __PointTextSeries->XValues->Count; i++) { pair<double, double> tmp; ...
by restech
Mon Feb 19, 2018 3:17 pm
Forum: VCL
Topic: Teechart SelectorTool Error
Replies: 3
Views: 8748

Re: Teechart SelectorTool Error

Hello, After loading the tee file, I can see a TRectangleTool and a TAnnotationTool, but no TSelectorTool in the chart. Anyway, I think I understand the problem. When two TAnnotationTools (or descendants like TRectangleTool) are superposed, the TSelectorTool checks the tools in the order of additio...
by restech
Sun Feb 18, 2018 8:03 am
Forum: VCL
Topic: TeeChart DragMark Tool
Replies: 7
Views: 13404

Re: TeeChart DragMark Tool

Thanks for your code.
But that event i can use for changing marks position then i dragging chart with right mouse?
by restech
Fri Feb 16, 2018 8:16 am
Forum: VCL
Topic: Teechart SelectorTool Error
Replies: 3
Views: 8748

Teechart SelectorTool Error

Hi! I work with RadStudio 10.1 Berlin in c++ and teechart Pro 2017.21 I found next error in teechart. After adding on chart RectangleTool and AnnotationTool, then i dragged annotation in RectangleTool area, i can't drag annotation with SelectorTool, only Rectangle. Error occurs because of tools orde...
by restech
Mon Feb 12, 2018 2:54 pm
Forum: VCL
Topic: TeeChart DragMark Tool
Replies: 7
Views: 13404

TeeChart DragMark Tool

I am work in Rad Studio 10.1 Berlin with c++. Teechart version 2017.21 If i use DragMark tool and trying to move chart with right click, marks moves with their points. It's normal behavior for me. But after i dragged any mark and trying to move chart with right click, dragged mark moving wich chart,...