User (Legacy) Posted December 13, 2004 Report Share Posted December 13, 2004 The mouse tip of my chart contains acute accent ('), which generates javascript errors.This is the source of the page: onmouseover="popupon('mine's tooltip',event)"; The same problem with mouse tips of the titles. I tried to write: "chart.ImgMap = ImgMap.MouseTip | ImgMap.EncodeTip" but it doesn't solve the problem. Is there a way to escape this. Thank you. Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 13, 2004 Author Report Share Posted December 13, 2004 Sorry, not "acute accent" but a "single quotation" mark Dan Guja wrote: > The mouse tip of my chart contains acute accent ('), which generates > javascript errors.This is the source of the page: > onmouseover="popupon('mine's tooltip',event)"; > > > The same problem with mouse tips of the titles. > > I tried to write: "chart.ImgMap = ImgMap.MouseTip | ImgMap.EncodeTip" > but it doesn't solve the problem. > > Is there a way to escape this. > > Thank you. > > Link to comment Share on other sites More sharing options...
Software FX Posted December 21, 2004 Report Share Posted December 21, 2004 We have fixed this issue (not properly encoding single quotes when using MouseTip|EncodeTip). Any build marked 1816 or later should include this fix. You can contact our support dept if you need to download a hotfix before our next service pack is available. Note that we will encode strings that are "stored" inside the chart, e.g. with the fixed version we will properly encode this chart1.ImgMap = ImgMap.EncodeTip | ImgMap.MouseTip; chart1.TipMask = "%l %v"; chart1.Legend[0] = "Juan's"; But we will not encode "verbatim" characters in your mask, e.g. we will NOT encode the quote in this scenario chart1.ImgMap = ImgMap.EncodeTip | ImgMap.MouseTip; chart1.TipMask = "Last year's value %v"; Also Note that if you are using TitleTip to show tooltips and you are only targeting IE you can use ImgMap.MouseTip, this approach uses the TITLE attribute in an AREA tag (I have not tested this on FireFox or newer Mozilla versions but old Netscape versions did not support it). In this case you do not have to implement popupon-popupoff functions. -- Regards, JC Software FX Support "Dan Guja" <dang@compudava.com> wrote in message news:m%23c2hxS4EHA.3492@webserver3.softwarefx.com... > Sorry, not "acute accent" but a "single quotation" mark > Dan Guja wrote: >> The mouse tip of my chart contains acute accent ('), which generates >> javascript errors.This is the source of the page: >> onmouseover="popupon('mine's tooltip',event)"; >> >> >> The same problem with mouse tips of the titles. >> >> I tried to write: "chart.ImgMap = ImgMap.MouseTip | ImgMap.EncodeTip" but >> it doesn't solve the problem. >> >> Is there a way to escape this. >> >> Thank you. >> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.