Page 1 of 1

ToolTip display bug?

Posted: Tue Mar 26, 2019 1:41 pm
by 17185819
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 46475 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

Re: ToolTip display bug?

Posted: Mon Apr 01, 2019 11:26 am
by yeray
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, " ");
			}
		}
		//...

Re: ToolTip display bug?

Posted: Mon Apr 01, 2019 11:45 am
by 17185819
Thanks :-)

Re: ToolTip display bug?

Posted: Mon Apr 15, 2019 9:40 am
by 17185819
When can we be expecting the maintenance release? Maybe even with a solution to viewtopic.php?f=10&t=17139

Thanks

Re: ToolTip display bug?

Posted: Fri Aug 09, 2019 2:19 pm
by Marc
Hello,

We expect to publish a new update in early September.

Regards,
Marc