TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
-
patronas
- Newbie
![Newbie Newbie](./images/ranks/1star.gif)
- 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](./download/file.php?id=7476&sid=9622df1498156d8a81b017c145ceef8e)
- TooltipEncoding.png (3.56 KiB) Viewed 34558 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 Site Admin](./images/ranks/6stars.gif)
- Posts: 9540
- 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
![Newbie Newbie](./images/ranks/1star.gif)
- Posts: 26
- Joined: Fri Mar 01, 2019 12:00 am
Post
by patronas » Mon Apr 01, 2019 11:45 am
Thanks
![Smile :-)](./images/smilies/icon_smile.gif)
-
Marc
- Site Admin
![Site Admin Site Admin](./images/ranks/6stars.gif)
- Posts: 1220
- 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