Giter VIP home page Giter VIP logo

Comments (12)

 avatar commented on July 28, 2024 3

I feel pieslicetext should always show, if the slice is too small, it should show outside with a line into the slice. We are doing reporting by pdf'ing the svg of google charts, and while the tooltips expose small slice values with moue over, that is not possible in a pdf, so it's hard to get good pdf reports without pieslicetext showing somewhere without a tooltip.

from google-visualization-issues.

orwant avatar orwant commented on July 28, 2024 2
Yeah that would be usefull, or maybe a combination between the label and the percentage
/ amount? 

pieSliceText: "%percentage% (%value%) - %label%"

Something like that would really give us all the freedom we like :)

Original issue reported on code.google.com by [email protected] on 2013-10-22 13:09:10


- _Attachment: Screenshot from 2013-10-22 15:06:19.png
![Screenshot from 2013-10-22 15:06:19.png](https://storage.googleapis.com/google-code-attachments/google-visualization-api-issues/issue-30/comment-9/Screenshot from 2013-10-22 15:06:19.png)_

from google-visualization-issues.

destan avatar destan commented on July 28, 2024 1

as @hir3npatel stated, invisible pieSliceText is a deal-breaker for pdf reports as no interaction is possible.

Following may give developers an idea about how it should seem when pieSliceText doesn't fit into the slice: http://www.highcharts.com/demo/pie-basic

image

from google-visualization-issues.

orwant avatar orwant commented on July 28, 2024
Nice idea.

A workaround for now will be to add the percentage to the formatted value of each value.
So you can run some code on the data table, and setting the formatted value of a cell
with value of 30, to "30 
(20%)"

I know its not perfect, but it will work.

Original issue reported on code.google.com by razbarvaz on 2009-08-18 15:13:46

  • Labels added: Component-Logic

from google-visualization-issues.

orwant avatar orwant commented on July 28, 2024
Thanks for the suggestion.  Although, I think the formatted value only affects the 
tooltip, which already contains the percentage.  In my scenario, I was trying to 
avoid having to click on the slice in order to see the percentage of the slice.

Original issue reported on code.google.com by fvillaj on 2009-08-20 00:00:22

from google-visualization-issues.

orwant avatar orwant commented on July 28, 2024
If you add the percentage to the formatted value, you will end up getting a duplicate
when clicking on the slice.

Original issue reported on code.google.com by ledawit on 2010-01-05 22:49:00

from google-visualization-issues.

orwant avatar orwant commented on July 28, 2024
I wanted to get exactly the same thing as fvillaj described. It would really be more
convenient for users to instantly see the percentage around the slices instead of
having to click them one by one. 

Original issue reported on code.google.com by reality.is.reality on 2010-05-12 07:26:44

from google-visualization-issues.

orwant avatar orwant commented on July 28, 2024
The corechart's pie chart now have an option to show the percentage on the slices (not
around them with connecting lines).

Original issue reported on code.google.com by jinji.viz on 2010-11-10 12:33:50

from google-visualization-issues.

orwant avatar orwant commented on July 28, 2024
(No text was entered with this change)

Original issue reported on code.google.com by jinji.viz on 2010-12-23 10:11:45

from google-visualization-issues.

orwant avatar orwant commented on July 28, 2024
Was this functionality documented somewhere?  I can't seem to find it on any of the
API pages.  Thanks in advance.

Original issue reported on code.google.com by jldimasuay on 2011-04-18 16:23:24

from google-visualization-issues.

orwant avatar orwant commented on July 28, 2024
It's documented in http://code.google.com/apis/visualization/documentation/gallery/piechart.html#Configuration_Options,
the 'pieSliceText' option, but it's actually the default, so you're supposed to see
it immediately.

Original issue reported on code.google.com by jinji.viz on 2011-04-20 07:55:53

from google-visualization-issues.

 avatar commented on July 28, 2024

@orwant or @dlaliberte is there anything in the pipeline to fix this? Activity on this repo seems very low, makes one think there's nothing going on around google charts, or no resources on it :-/

from google-visualization-issues.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.