TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
-
patronas
- Newbie
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
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 (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
- Posts: 9622
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
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, " ");
}
}
//...
-
patronas
- Newbie
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
Post
by patronas » Mon Apr 01, 2019 11:45 am
Thanks
-
Marc
- Site Admin
- Posts: 1274
- Joined: Thu Oct 16, 2003 4:00 am
- Location: Girona
-
Contact:
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