Thank you for your support Daniel,

I also draw a Table chart before the PieChart.
I confirmed the data is same but there is only errored at the PieChart.
I hope to send you the web page but it is an administrator part so hard to 
open.

During the test today, I realized the error has occurred in my Macbook.
So I checked 7 other computers (windows and mac as well)
All of the computers were fine when Chrome browser is not updated(ver 59). 
There are some were ver.57 and some were ver.58.
And after updating all the computer's Chrome version to the latest 
version(ver59), I can check the error on other computers as well.

You mentioned that the error is about an SVG element and I checked, at the 
Chrome ver.59, there is an SVG spec is removed (deprecated in ver.54).
Do you think that is related to the problem?

I didn't develop the part but I used to maintain the chart over 2 years and 
there is no problem like this. But I realized the error a few days ago.
I am not sure that this is your role or not.
Would you please give me some advice about this problem that is related 
Chrome version?



2017년 6월 13일 화요일 오후 6시 17분 52초 UTC+9, Shinwoo Kang 님의 말:
>
> Hi,
>
> I am using google visualization for various charts.
>
> I tried to draw piecharts with array data but I got the error when I use 
> draw().
> The problem is that I got the error randomly and rarely even though the 
> array data is same.
>
> Is there someone who have any ideas about it?
>
> Below is my work.
>
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------
> var pieDataArr = [["test1", 2], ["test2", 1], ["test3", 1], ["test4", 1], 
> ["test5", 0]];
>
> var data = google.visualization.arrayToDataTable(pieDataArr);
>
>
> var options = {
>    title : titleOption,
>    titleTextStyle : {
>       fontSize : 15
>    },
>    width : chartWidth,
>    height : 400,
>    chartArea:{
>       top : 20,
>       width : chartWidth*0.6,
>       height : 360
>    },
>    bar : {
>       groupWidth : 25
>    },
>    hAxis : {
>       maxValue : 100,
>       viewWindow : {
>          max : 100
>       }
>    },
>    vAxis : {
>       textStyle : {
>          fontSize : 12
>       }
>    },
>    'backgroundColor' : '#f0f3f7',
>    legend:{
>       position : 'bottom'
>    },
>    pieSliceTextStyle : {
>       color : '#2c3520'
>    },
>    pieHole : 0.4,
>    colors :colorMap
> };
>
>
> var chart = new google.visualization.ChartWrapper({
>    chartType : 'PieChart',
>    dataTable : data,
>    options : options,
>    containerId : chartId_
> });
>
>
> chart.draw();
>
>
>

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/7f5f9f48-3603-4570-808b-685c4acc923b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to