ToolTip display bug?

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
patronas
Newbie
Newbie
Posts: 26
Joined: Fri Mar 01, 2019 12:00 am

ToolTip display bug?

Post by patronas » Tue Mar 26, 2019 1:41 pm

Hi,
using the following configuration

Code: Select all

 final MarksTip toolTips = new MarksTip();
      toolTips.setSeries(series);
      toolTips.setChart(chart.getChart());
      toolTips.setStyle(MarksStyle.LEGEND);
      toolTips.setHideDelay(0);
I get the following tooltip
TooltipEncoding.png
TooltipEncoding.png (3.56 KiB) Viewed 48260 times
As you can see the encoding is somehow wrong, and there seems to be an artifact at the left border.
I am using Linux, in case this is of any interest to the issue

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

Re: ToolTip display bug?

Post by Yeray » Mon Apr 01, 2019 11:26 am

Hello,

I've reproduce the problem and already fixed it for the next maitenance release (#2179).
The fix consists on adding a couple of lines at the getMarkText method in Series.pas to replace Language.columnSeparator characters by a blank space:

Code: Select all

	public String getMarkText(int valueIndex) {
		//...
			} else if (marks.markerStyle == MarksStyle.LEGEND) {
			tmpResult = chart.formattedValueLegend(this, valueIndex);
			if (!marks.getMultiLine()) {
				tmpResult = tmpResult.replace(Language.columnSeparator, " ");
			}
		}
		//...
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

patronas
Newbie
Newbie
Posts: 26
Joined: Fri Mar 01, 2019 12:00 am

Re: ToolTip display bug?

Post by patronas » Mon Apr 01, 2019 11:45 am

Thanks :-)

patronas
Newbie
Newbie
Posts: 26
Joined: Fri Mar 01, 2019 12:00 am

Re: ToolTip display bug?

Post by patronas » Mon Apr 15, 2019 9:40 am

When can we be expecting the maintenance release? Maybe even with a solution to viewtopic.php?f=10&t=17139

Thanks

Marc
Site Admin
Site Admin
Posts: 1274
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: ToolTip display bug?

Post by Marc » Fri Aug 09, 2019 2:19 pm

Hello,

We expect to publish a new update in early September.

Regards,
Marc
Steema Support

Post Reply