javascript - Google geo chart: tooltip: textStyle not working -


I have the following code for a geo chart, where I have tried to specify the color but is visible in the tooltip A yellow gray on a white background

Any ideas?

I am using Chrome version 32.0.1700.107 on Mac.

  & lt; Script type = 'text / javascript' src = 'https: //www.google.com/jsapi'> & Lt; / Script & gt; & Lt; Script type = 'text / javascript' & gt; Google.load ('Visualization', '1', {'packages': ['geochart']}); Google.setOnLoadCallback (drawRegionsMap); Function drawRegionsMap () {var data = google.visualization.arrayToDataTable ([['country', 'work day'], ['Greece', 243], ['Ireland', 205], ['United Kingdom', 162] ['Portugal', 156], ['Belgium', 164], ['Italy', 166], 'Luxembourg', 153], ['Cyprus', 150], ['Finland', 145] ['Spain', 125], '[Sweden], 134] [' Norway ', 126], [' France ', 127], [' Netherlands', 126], ['Denmark', 122] 103], ['Bulgaria', 100], ['Lithuania', 108], ['Slovakia'], ['Czech Rip', 164], ['Germany'],, 'Slovenia', 103 ], ['Estonia', 79], ['Hungary', 104], ' Latvia ', 73], [' Poland ', 70]]); Var option = {backgroundColor: '#DDDDDD', sizeAxis: {minValue: 0, maxValue: 250}, area: '150', datalessRegionColor: '#AAAAAA', tooltip: {textStyle: {color: '# 444444'}, Trigger: 'hover'}, color aisis: {color: ['green', 'blue']}, legend: 'day'}; Var chart = new google.visualization.GeoChart (document.getElementById ('chart_div')); Chart.draw (data, options); }; & Lt; / Script & gt;  

I think that in order to implement the style, it should be a way of strengthening .

But if you are completely appealing to the whole technique in any way, then you are fully implementing it again ... you may possibly

< / Html>

Comments