|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Mouse over / Label for Line Objects |
[fyer12]
|
Post subject: Mouse over / Label for Line Objects |
Post rating: 0
|
Posted: Sat 13 Nov, 2010, 16:02
|
|
User rating: 0
Joined: Wed 10 Nov, 2010, 00:56 Posts: 16
|
Hi,
i draw multiple lines using chart.draw from within a strategy. Is it possible to make a tooltip display on mouseover? e.g. display the name/key of the line or any custom text? Using color to differentiate the lines is not an option. I need some kind of mouseover -> textlabel solution.
Thanks
|
|
|
|
 |
[fyer12]
|
Post subject: Re: Mouse over / Label for Line Objects |
Post rating: 0
|
Posted: Mon 15 Nov, 2010, 10:28
|
|
User rating: 0
Joined: Wed 10 Nov, 2010, 00:56 Posts: 16
|
my solution:
IChartObject.setChartObjectListener(new ChartObjectAdapter() { public void highlighted(ChartObjectEvent e) { IChartObject source=(IChartObject)e.getSource(); } public void highlightingRemoved(ChartObjectEvent e) { IChartObject source=(IChartObject)e.getSource(); } });
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|