Selector Tool
Selector Tool
1) When I add the Selector Tool via the Editor, I can only resize the chart by dragging the bottom right corner. Is there a way to resize it by saying dragging the right edge out or bottom edge down?
2) What is the function of the the handles that appear on the chart when selected via Editor -> Tools -> Add Selector?
3) How can I add the ability to drag (ie turn drag on) via my C+= code? I'm using TeeChart Pro ActiveX version 7.
Thanks.
2) What is the function of the the handles that appear on the chart when selected via Editor -> Tools -> Add Selector?
3) How can I add the ability to drag (ie turn drag on) via my C+= code? I'm using TeeChart Pro ActiveX version 7.
Thanks.
Re: Selector Tool
Hello,
http://bugs.teechart.net/show_bug.cgi?id=937
You can change the pen used to draw the selection squares highlighting the selected element.
If you still find problems doing the same in VC++, don't hesitate to let us know.
I've added this to the public tracker to be implemented in future releases:nbp wrote:1) When I add the Selector Tool via the Editor, I can only resize the chart by dragging the bottom right corner. Is there a way to resize it by saying dragging the right edge out or bottom edge down?
http://bugs.teechart.net/show_bug.cgi?id=937
Do you mean the Handle button in the Selector editor?nbp wrote:2) What is the function of the the handles that appear on the chart when selected via Editor -> Tools -> Add Selector?
You can change the pen used to draw the selection squares highlighting the selected element.
In VB6 it's:nbp wrote:3) How can I add the ability to drag (ie turn drag on) via my C+= code? I'm using TeeChart Pro ActiveX version 7.
Code: Select all
TChart1.Tools.Add tcSelector
TChart1.Tools.Items(0).asSelector.AllowResizeChart = True
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Selector Tool
I don't seem to have tcSelector defined in my version of TeeChartDefines.h. I only have the following list,
Copied from TeeChartDefines.h
// EToolClass
const unsigned long tcCursor = 0;
const unsigned long tcDragMarks = 1;
const unsigned long tcAxisArrow = 2;
const unsigned long tcDrawLine = 3;
const unsigned long tcNearest = 4;
const unsigned long tcColorband = 5;
const unsigned long tcColorLine = 6;
const unsigned long tcRotate = 7;
const unsigned long tcMarksTip = 8;
const unsigned long tcChartImage = 9;
const unsigned long tcAnnotate = 10;
const unsigned long tcPageNumber = 11;
const unsigned long tcGridTranspose = 12;
const unsigned long tcExtraLegend = 13;
const unsigned long tcSeriesAnimation = 14;
const unsigned long tcGantt = 15;
const unsigned long tcGridBand = 16;
const unsigned long tcPie = 17;
const unsigned long tcDragPoint = 18;
const unsigned long tcLegendScrollBar = 19;
const unsigned long tcLight = 20;
const unsigned long tcSurfaceNearest = 21;
const unsigned long tcAxisScroll = 22;
Copied from TeeChartDefines.h
// EToolClass
const unsigned long tcCursor = 0;
const unsigned long tcDragMarks = 1;
const unsigned long tcAxisArrow = 2;
const unsigned long tcDrawLine = 3;
const unsigned long tcNearest = 4;
const unsigned long tcColorband = 5;
const unsigned long tcColorLine = 6;
const unsigned long tcRotate = 7;
const unsigned long tcMarksTip = 8;
const unsigned long tcChartImage = 9;
const unsigned long tcAnnotate = 10;
const unsigned long tcPageNumber = 11;
const unsigned long tcGridTranspose = 12;
const unsigned long tcExtraLegend = 13;
const unsigned long tcSeriesAnimation = 14;
const unsigned long tcGantt = 15;
const unsigned long tcGridBand = 16;
const unsigned long tcPie = 17;
const unsigned long tcDragPoint = 18;
const unsigned long tcLegendScrollBar = 19;
const unsigned long tcLight = 20;
const unsigned long tcSurfaceNearest = 21;
const unsigned long tcAxisScroll = 22;
Re: Selector Tool
Hello,
I can see it in TeeChart ActiveX v7.0.1.4:
I can see it in TeeChart ActiveX v7.0.1.4:
Code: Select all
// EToolClass
const unsigned long tcCursor = 0;
const unsigned long tcDragMarks = 1;
const unsigned long tcAxisArrow = 2;
const unsigned long tcDrawLine = 3;
const unsigned long tcNearest = 4;
const unsigned long tcColorband = 5;
const unsigned long tcColorLine = 6;
const unsigned long tcRotate = 7;
const unsigned long tcMarksTip = 8;
const unsigned long tcChartImage = 9;
const unsigned long tcAnnotate = 10;
const unsigned long tcPageNumber = 11;
const unsigned long tcGridTranspose = 12;
const unsigned long tcExtraLegend = 13;
const unsigned long tcSeriesAnimation = 14;
const unsigned long tcGantt = 15;
const unsigned long tcGridBand = 16;
const unsigned long tcPie = 17;
const unsigned long tcDragPoint = 18;
const unsigned long tcLegendScrollBar = 19;
const unsigned long tcLight = 20;
const unsigned long tcSurfaceNearest = 21;
const unsigned long tcAxisScroll = 22;
const unsigned long tcSeriesBand = 23;
const unsigned long tcSelector = 24;
const unsigned long tcRectangle = 25;
const unsigned long tcDataTable = 26;
const unsigned long tcClipSeries= 27;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Selector Tool
I've now upgraded to TChart2015 Pro ActiveX.
I tried the above in Visual C++ (Visual Studio 2010). Here is the snippet of code:
I get "Not Implemented" exeption message. Is this interface not implemented? I understood your previous response to mean it is implemented in the C++ interface also.
I tried the above in Visual C++ (Visual Studio 2010). Here is the snippet of code:
Code: Select all
pChart->GetTools().Add(tcSelector);
CSelectorTool ResizeTool = pChart->GetTools().GetItems(0).GetAsSelector();
ResizeTool.SetAllowResizeChart(TRUE);
Re: Selector Tool
Hello,
You are right. We can reproduce the problem you are experiencing. We have added it in TeeChart Activex bugzilla tracker to fix it to upcoming versions. Here's the link http://bugs.teechart.net/show_bug.cgi?id=1250.
Feel free to add your email to the tickets so you can be automatically notified when an update arrives.
Thanks in advance
You are right. We can reproduce the problem you are experiencing. We have added it in TeeChart Activex bugzilla tracker to fix it to upcoming versions. Here's the link http://bugs.teechart.net/show_bug.cgi?id=1250.
Feel free to add your email to the tickets so you can be automatically notified when an update arrives.
Thanks in advance
Best Regards,
Sandra Pazos / 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 |
Re: Selector Tool
Thanks.
I checked the bugzilla website (link provided above) and registered a new account. How/Where do I add my email so I can be notified when it is fixed?
I checked the bugzilla website (link provided above) and registered a new account. How/Where do I add my email so I can be notified when it is fixed?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Selector Tool
Hello nbp,
You should add it at the CC List field.
You should add it at the CC List field.
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 |
Re: Selector Tool
I just checked the bug tracking system and the issue is resolved and fixed. Will it be available in the "TeeChart Pro Activex Control v2015 v2015.0.0.2" release?
If so, when can we have access to this release?
Regards.
If so, when can we have access to this release?
Regards.
Re: Selector Tool
Hello,
Looking at the ticket history, you can see the ticket was closed the 22th September 2015.
And looking at TeeChart ActiveX public release notes, you can see the latest release, v2015.0.0.3, was published the 24th Septempber 2015. So it should include that fix.
Looking at the ticket history, you can see the ticket was closed the 22th September 2015.
And looking at TeeChart ActiveX public release notes, you can see the latest release, v2015.0.0.3, was published the 24th Septempber 2015. So it should include that fix.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |