Thanks Sergey, I stored the code to draw chart and statistic's template in a PartialView. I use ajax to load the PartialView and insert it in a DIV. When i click submit again, I empty the DIV add insert the view into it again. the problem only happen when I draw chart => hover the column => redrawn => hover the column again. I think the chart need to be destroyed before I redrawn the new chart. Hope you can help me. Here is my code:
<https://lh3.googleusercontent.com/-SIVzzEMkmLQ/VkvPDHHcQtI/AAAAAAAAAMY/GBgXpBVu3zw/s1600/Capture43546.JPG> On Tuesday, November 17, 2015 at 9:39:13 PM UTC+7, Sergey wrote: > > Hi Kha, > > It's hard to say what's going on without any code that reproduces the > issue. My guess is that either there is a better way to redraw the chart > than what you're currently doing, or that the issue is fixed in version 43. > > On Tue, Nov 17, 2015 at 3:31 AM Kha Nguyen Dong <[email protected] > <javascript:>> wrote: > >> I'm developing statistic app using MVC. I click Submit to draw chart in >> the first time and hover on it's column. >> >> >> <https://lh3.googleusercontent.com/-OFNQyOM1khg/VkrjJIRaUpI/AAAAAAAAAL4/eiVx-u32BRI/s1600/Capture1234.JPG> >> >> >> But when I click Submit again redraw the chart, I hover the column and it >> disappear, and it's tooltip seem like error. >> >> >> <https://lh3.googleusercontent.com/-r3DH5pC_Qws/VkrlT2Jl0lI/AAAAAAAAAME/7wTxx_QUF3A/s1600/Capture12345.JPG> >> >> Can someone show me the solution to solve this problem? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at >> http://groups.google.com/group/google-visualization-api. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-visualization-api/f0ac1391-8d6a-4f62-980a-310ed59e7909%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/f0ac1391-8d6a-4f62-980a-310ed59e7909%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > > *[image: unnamed.gif] * > *Sergey Grabkovsky* | SWE | [email protected] > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/9518415b-c9cd-4988-b2b1-b5a1c2cd1c8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
