Bar Chart - MarktsTip / ToolTip not working

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Perbit
Newbie
Newbie
Posts: 10
Joined: Fri May 30, 2014 12:00 am

Bar Chart - MarktsTip / ToolTip not working

Post by Perbit » Mon Jul 07, 2014 12:36 pm

Hello TeeChart,

I have another problem while setting up bar-chart. I want to have ToolTips in there.
I have a flexible amount of series. For each bar on each series, I need to have ToolTips.

That means: If I click on one bar, I want to have shown its value in a ToolTip.

I tried it with the following Code:

Code: Select all

	MarksTip tooltip;
		//Points points; 

			try {
				Bar column_series = (Bar) Series.createNewSeries(
						column_tchart.getChart(), Bar.class, null);
			//	points = new Points(column_tchart.getChart());
				tooltip = new MarksTip(column_tchart.getChart());
			//	points.getPointer().setStyle(PointerStyle.DIAMOND);
			//	points.setDataSource(column_series);
				tooltip.setSeries(column_series); //Series of the bar_chart
				tooltip.setMouseDelay(50);
				tooltip.setMouseAction(MarksTipMouseAction.CLICK);
				tooltip.setStyle(MarksStyle.VALUE);
But unfortunately it's not working. Do you have an solution for me?

Thank you very much!

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Bar Chart - MarktsTip / ToolTip not working

Post by Yeray » Thu Jul 10, 2014 1:47 pm

Hello,

You are right. I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=839

Feel free to add your mail to the CC list to be automatically notified when an update arrives.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply