If you generate a cewolf chart inside a <div> element
where the <div> element is positioned within the
document (e.g. using css) the tooltips do not appear
near the mouse.
The reason for this is as follows.
The tooltip div is generated by the ChartMapTag and
thus it appears where the chart tag lies in the markup.
As a result the tooltip div may be a child of any
surrounding (positioned) div.
However, the overlib library assumes the tooltip div is
a *direct* child of the <body> element.
For the original discussion see here:
I would suggest the solution is to migrate cewolf to
the overlibmws library which supports the
auto-generation of the tooltip div. This would involve
bundling 'overlibmws.js' rather than 'overlib.js' in
the Cewolf distribution and modifying the
implementation of ChartMapTag.java to avoid the
generation of the tooltip div by the tag.
I have included a diff to ChartMapTag with the above
For more info on overlibmws see
Log in to post a comment.