Page 1 of 1

"Mark Tips" issue in TeeChart2011

Posted: Tue Jun 19, 2012 11:06 am
by 16662667
Hi,

We have upgraded the chart utility from v2006 to v2011 (Activex) for our MFC application. We have multiple series to show in the chart.
In v2011, one thing we have noticed that "Mark Tips" is not working properly. Sometimes it displays data but most of the times it shows nothing. In the previous version (v2006) it is really good. We use default settings (mouse action = move, delay = 500, hide delay = 1000).

Should we do anything in the coding or it is an issue? We need help urgently.

Thanks,
Raj

Re: "Mark Tips" issue in TeeChart2011

Posted: Wed Jun 20, 2012 11:57 am
by 10050769
Hello Raj,

Can you please send us a simple project, so we can reproduce your problem here and we try to find a solution?

Thanks,

Re: "Mark Tips" issue in TeeChart2011

Posted: Fri Jun 29, 2012 4:59 am
by 16662667
Hi Sandra,

Our project is very big and we can not send it to you. Is it not possible to investigate by your own setup?
We need it urgently.


Thanks,
Raj

Re: "Mark Tips" issue in TeeChart2011

Posted: Tue Jul 03, 2012 9:34 am
by 10050769
Hello Raj,

I have made a simple project MFC with last version of TeeChartActivex and MarkTips Tool works fine for me. Can you please check my attached project if is works in your end? On the other hand, can you tell us which version of ActiveX are you using?
Test.zip
(51.1 KiB) Downloaded 827 times
Thanks,

Re: "Mark Tips" issue in TeeChart2011

Posted: Mon Jul 09, 2012 8:12 am
by 16662667
Hi Sandra,

We do not use bar graph, we use line graph. Please see the attached image to get idea about our graph style.

Have you tried with line graph? Please try that, you may understand our problem.

I would like to mention again that our graphing works very fine with v2006 but with the recent version (v2012) it is not good at all.


Thanks,
Raj

Re: "Mark Tips" issue in TeeChart2011

Posted: Tue Jul 10, 2012 10:54 am
by 10050769
Hello BillPa,

You are right. I have added your problem in the bug list report with number[TV52016249]. We will try to fix it to upcoming maintenace releases of TeeChartActivex. At the moment, you can set the transparency of pointer to 100 as a workaround as do in next lines of code:

Code: Select all

	
...
//Chart
	m_Chart1.GetAspect().SetView3D(0);
	m_ChartControler1.SetChartLink(m_Chart1.GetChartLink());
	m_Chart1.AddSeries(0);
	m_Chart1.AddSeries(0);
	m_Chart1.AddSeries(0);
	m_Chart1.AddSeries(0);
	
 //   m_Chart1.GetTools().GetItems(0).GetAsMarksTip().GetSeries().b
	for(int i=0; i<4; i++)
	{
		m_Chart1.Series(i).FillSampleValues(10);
		m_Chart1.Series(i).GetAsLine().GetLinePen().SetWidth(3);
		m_Chart1.Series(i).GetAsLine().GetPointer().SetVisible(true);
		m_Chart1.Series(i).GetAsLine().GetPointer().SetTransparency(100);
	}
Can you tell us if previous code works as you want?

Thanks,

Re: "Mark Tips" issue in TeeChart2011

Posted: Mon Jul 16, 2012 8:43 am
by 16662667
Hi Sandra,

We tried the workaround but did not get any remarkable improvement. Would you please suggest any other workaround ?


Thanks,
Raj

Re: "Mark Tips" issue in TeeChart2011

Posted: Mon Jul 16, 2012 12:12 pm
by narcis
Hi Raj,

This works fine for me here using attached project with latest 2012.0.0.8 release published last week. Sometimes it seems just a problem of targeting the series to click correctly. Can you please download it, test my project and let us know if it works fine at your end? If necessary please feel free to modify it so that we can reproduce the issue here in a consistent manner.

Thanks in advance.