Questions tagged [google-pie-chart]

A pie chart that is rendered within the browser using SVG or VML. Displays tooltips when hovering over slices.

A pie chart that is rendered within the browser using SVG or VML. Displays tooltips when hovering over slices.

65 questions
15
votes
2 answers

create multilevel donut chart with Google Chart

I am creating a multilevel donut chart with google charts. I am successful to creating a single level chart. But now I have to create another chart in that chart. Please help me. And also is that possible to write text on chart slice in circular…
sagar43
  • 3,341
  • 3
  • 29
  • 49
10
votes
1 answer

Google Charts Legend labels cut off

The legend labels for my pie chart are being cut off when the label is too long. I have already tried to setting width to '100%' but my legend is way big to counter that. Is there a way to discretely define the pie chart size and the legend size?…
Farhan
  • 411
  • 1
  • 10
  • 23
4
votes
4 answers

Use php variable in google pie chart

I want to use my PHP variable in Google chart,but the chart couldn't read my PHP tag. As you can see the code below I put my PHP variable in the script. (The PHP variable I have defined at top of the code and the result is correct). What's wrong…
Chi Yang
  • 154
  • 1
  • 14
3
votes
1 answer

google visualization api pie chart percents wrong position

I'm stuck at google visualization api pie chart. Percent labels are mis-aligned a bit Here is options coreData = { options: { width: '550', height: '400', chartArea: { height: "90%", width: "90%" }, } }; And…
3
votes
2 answers

AngularJS ng-repeat not re-rendering the repeater (UI) and not invoking ng-init once again

I have a small doubt about ng-init, actually I have some charts. Trendline on top Piecharts below. HTML Table below. on page load I am not displaying anything, but once I click on particular button for the first time then my entire charts and…
Khan
  • 271
  • 1
  • 5
  • 13
3
votes
1 answer

Customizing Tooltip Text In Pie Chart

I'm working on a pie chart and I would like to customize the tooltip that appears when the mouse hovers over the pie chart. Currently the text shows 50 (50%) where I really want it to say $50 (50%). It's not clear in the google charts API how to…
thank_you
  • 11,001
  • 19
  • 101
  • 185
2
votes
1 answer

Dismiss Google Pie Chart Tooltip on Click Away

I am using a Google Pie Chart for data representation. The chart's tooltips include action items that users can click on. To keep the tooltips open long enough for users to click the items, I have opted to have the tooltips show on click/selection…
2
votes
1 answer

Dynamic Change - Google Chart Type

Depends on the select type, the chart should display. I prepared JSON. But I need to change chart type dynamically. I tried differently. But got an error. Is there any alternative solution is available to fulfil this senorio. JS…
2
votes
1 answer

Legend circle radius Google Chart

I am using Google visualization to draw a pie chart. I want to change the radius of the color circles in the legend. Is that possible ? The output from Google graph looks like this:
2
votes
1 answer

Show Google pie charts on click at text or image?

I did not manage to set up a link where an onClick() - action would generate a Goolge pie chart. Here is an example via JSFiddle.
V. Wolf
  • 123
  • 1
  • 8
2
votes
2 answers

How to modify Google's PieChart pieSliceText positioning

I am having trouble with my Google PieChart pieSliceText position. It is overlapping onto the page and not entirely on the PieChart itself. See this screenshot photo: I even adjusted the font to be much smaller, but same problem: Because of…
AussieJoe
  • 1,285
  • 1
  • 14
  • 29
2
votes
1 answer

Google Pie chart percentage calculation

I have a page that displays data in a form of a Pie Chart. I use Google Charts and here is the code: