Search found 14 matches
- Wed Nov 29, 2017 4:13 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher, You're right, CChartBar is one of our classes. I made a small change, changing the Automatic property of the X Axis to true (it was set to false) and now both old and new charts look the same, including the start and end times on the X Axis. Not sure why it was set to false; maybe th...
- Tue Nov 28, 2017 9:11 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher,
One more thing: in your example we have the type Bar whereas in my program it's a CChartBar. Not sure it matters or not.
Michael
One more thing: in your example we have the type Bar whereas in my program it's a CChartBar. Not sure it matters or not.
Michael
- Tue Nov 28, 2017 7:37 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher, Tried your project and then managed to change mine to make it work. I changed the min & max values of the rnd function to see how it behaves with different values and every time the horizontal axes were the same for both versions of the dll. I guess I would have to live with the diff...
- Tue Nov 28, 2017 5:28 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher,
I tried your code and nothing displays, just an empty TChart.
Michael
I tried your code and nothing displays, just an empty TChart.
Michael
- Tue Nov 28, 2017 4:14 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher,
I just thought of something after I posted the previous message/: I resized the window making it taller and now the horizontal axes look the same (interval is 2, not 5). The question is why does the new version need a taller window for that?
Thank you,
Michael
I just thought of something after I posted the previous message/: I resized the window making it taller and now the horizontal axes look the same (interval is 2, not 5). The question is why does the new version need a taller window for that?
Thank you,
Michael
- Tue Nov 28, 2017 4:08 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher,
My old dll is from 2012, not 2013. Is there a way to control the labels of the left axis?
Thank you,
Michael
My old dll is from 2012, not 2013. Is there a way to control the labels of the left axis?
Thank you,
Michael
- Mon Nov 27, 2017 9:25 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher,
I will try to do it; will see how important is in our application.'
I have a question: why with the old dll it's showing more horizontal lines (2, 4, 6, etc) whereas the new one shows less (5, 10, 15, 20)?
Thank you,
Michael
I will try to do it; will see how important is in our application.'
I have a question: why with the old dll it's showing more horizontal lines (2, 4, 6, etc) whereas the new one shows less (5, 10, 15, 20)?
Thank you,
Michael
- Mon Nov 27, 2017 6:51 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher, I made the changes to bar.cs and rebuilt the TeeChart45 project and now when I move the mouse on top of it it works fine, the tool tip I was displaying shows without needing to widen the form window. The only thing different is that it's still not showing all of it, the display is th...
- Mon Nov 27, 2017 5:20 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
One more question. When you said if I have the source code what did you mean, to give it to you or that you are going to show me how to fix it?
I have the source code, so if you can pass me the fix that would be great.
Thank you,
Michael
I have the source code, so if you can pass me the fix that would be great.
Thank you,
Michael
- Mon Nov 27, 2017 5:16 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher,
I did the changes you suggested but it didn't help. I guess I will have to wait for a new release you mentioned that will have the fix.
Thank you,
Michael
I did the changes you suggested but it didn't help. I guess I will have to wait for a new release you mentioned that will have the fix.
Thank you,
Michael
- Mon Nov 27, 2017 3:52 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher, I investigated more and I think the reason I have to widen the form in order to make it work is because with the new dll it doesn't put the whole chart in the window whereas with the old one it does (the code doing this is the same). Is there a property or something else that has cha...
- Fri Nov 24, 2017 7:07 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher, I think I found what's happening (not a solution): the chart is being displayed in a form that always has the same size. When there's too much data, Clicked() in the new control always returns -1, whereas in the old one works fine. When I see it doesn't work with the new control, if ...
- Fri Nov 24, 2017 6:02 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Re: Clicked method of Series always returns -1
Hi Christopher, Thank you for your answer. I did investigate more and discovered that actually sometimes the new dll works. So basically what's happening is that for some data it works like before and sometimes the Clicked() method returns -1, so it doesn't work. The older control works always. Any ...
- Thu Nov 23, 2017 8:46 pm
- Forum: .NET
- Topic: Clicked method of Series always returns -1
- Replies: 22
- Views: 40792
Clicked method of Series always returns -1
Hi, I just upgraded TeeChart for .NET from version 4.1.2012.9283 to 4.1.2017.10191. Replaced the old dll with the new one and made 2 small changes so it builds. The problem I'm having is that when I move the mouse over a bar chart the pointInd value returned by the following line of code, int pointI...