Hi Sergey,
I'm sorry, I'm too busy so I forgot to respond to you. I replace my code 
into your example, it worked without any bugs and I don't know why? I met 
another error "Object doesn't support property or method Contains" in IE, I 
fixed it by using frozen version v41. Luckily, the bug when redraw the 
chart was fixed.

On Thursday, November 19, 2015 at 9:47:07 PM UTC+7, Sergey wrote:
>
> Hi Kha,
>
> I don't have a Windows machine immediately available, nor do I have Visual 
> Studio installed on the Windows machines I do have. So I wouldn't be able 
> to run your app if I wanted to.
>
> This is the kind of example I meant <http://jsfiddle.net/1ceoyLhp/>. If 
> you can modify that example to reproduce the issue you're experiencing, I 
> can tell you whether it's a bug or user error.
>
> On Thu, Nov 19, 2015 at 3:51 AM Kha Nguyen Dong <[email protected] 
> <javascript:>> wrote:
>
>> Hi Sergey,
>> Here is my small demo. Please test it and give me some idea to solve this 
>> problem. Tks a lot!
>>
>>
>> On Wednesday, November 18, 2015 at 9:39:23 PM UTC+7, Sergey wrote:
>>
>>> I can't use your code when it's as a screenshot, please attach a text 
>>> file. The code you screenshotted also doesn't appear to contain the part 
>>> that you said actually causes the error, which is the chart redrawing. 
>>> However, if that's your method for redrawing the chart, then the issue is 
>>> that you create a new instance of the chart every time you redraw, where 
>>> you should reuse the previous instance.
>>>
>>> On Tue, Nov 17, 2015 at 8:27 PM Kha Nguyen Dong <[email protected]> 
>>> wrote:
>>>
>> 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]> 
>>>>> 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].
>>>>>>
>>>>> 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/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
>>>>  
>>>> <https://groups.google.com/d/msgid/google-visualization-api/9518415b-c9cd-4988-b2b1-b5a1c2cd1c8f%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] 
>> <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/9b1a701d-1e71-402a-afe6-c540b1a60b41%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-visualization-api/9b1a701d-1e71-402a-afe6-c540b1a60b41%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/24216ca3-285c-4eb8-baa7-fed879cd9937%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to