Page 1 of 1

Bar Chart - MarktsTip / ToolTip not working

Posted: Mon Jul 07, 2014 12:36 pm
by 17069345
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!

Re: Bar Chart - MarktsTip / ToolTip not working

Posted: Thu Jul 10, 2014 1:47 pm
by yeray
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.