Thank you for the fix. I put the piece of code in window.load function and
was working. But the pie slice text goes back to the original position on
hovering (when 'enableInteractivity' is set)
On Thursday, December 19, 2013 1:15:06 AM UTC+5:30, Vaughn Hagerty wrote:
>
> I ran into this same thing. If you can figure out how to isolate the
> offending text node, you can nudge it over. Here's an example of what I did
> (I had just a simple pie chart with two slices:
>
> if(window.navigator.appVersion.match(/Chrome\/(31.*?) /)) { //
> fix for chrome v31
> var pie_text = jQuery('#all-receivers-pie-chart g text');
> var chrome_fix = jQuery(pie_text[1]).attr('x') - 30;
> //it's the second one causing the problem, move it to the left 30px
> jQuery(pie_text[1]).attr('x',chrome_fix);
> }
>
>
> On Friday, December 13, 2013 2:29:41 PM UTC-5, Robert Roberts wrote:
>>
>> In Chrome, if you take a look at the piechart page (
>> https://developers.google.com/chart/interactive/docs/gallery/piechart )
>> the numbers and text are placed poorly, often off of the slice on the
>> larger slices. "German" becomes "Ger" and "45%" becomes "45". When I load
>> this page in Firefox and Safari, this is not an issue.
>>
>> I like using google visualization charts but for now in chrome my only
>> solution is to just hide the pie slice string. Changing the font size or
>> style doesn't help and I don't see a way through the API to change their
>> positioning.
>>
>> Chrome is up to date: Version 31.0.1650.63
>>
>
--
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.
For more options, visit https://groups.google.com/groups/opt_out.