Questions tagged [pie-chart]

A pie chart is a circular representation of data divided into sections by the drawing of radii.

A pie chart is a circular representation of data divided into sections by the drawing of radii.

  • Each section represents a percentage of some total.
  • The sum of the values of all sections is 100% of the total.
  • The sizes of the sections are directly proportional to the percentage of the total.
  • For example, if a given section represented 10% of the total value, the central angle of the section would be 36 degrees, or 10% of the total 360 degrees in the chart.

Questions regarding pie charts as used in programming should use this tag.

However, some aren't considering pie charts as the best option to visualize data. Often data which is visualized with pie-charts can be visualized with bar-charts as well.

In scientific software for statistical computing and graphics, function pie generates a pie chart.

Useful links


Related tags

3007 questions
1
vote
1 answer

How to change 3D pie chart segment value at run time in android?

i want to create pie chart based on db values and while adjusting the slider i have to change pie chart i created it pie chart and got slider adjustable value. My code is, PieChartDefalut.java package com.exae.url; import…
malavika
  • 1,331
  • 4
  • 21
  • 54
1
vote
1 answer

Java JFreeChart Not fully displaying chart in JPanel

I have been experimenting with JFreeChart for an upcoming project and looking at the tutorials they seem to be pretty straight forward. I created a simple little program that asks for some data and display a 3D pie chart. It works but when…
jbolt
  • 688
  • 3
  • 16
  • 37
1
vote
1 answer

PieChart: When and how we should use Increment Type?

The code of my servlet: JasperCompileManager.compileReportToFile(jrxmlSourcePathMain, jrxmlDestPathMain); InputStream isRef = new FileInputStream(new File(jrxmlDestPathMain)); ServletOutputStream sosRef =…
Gaohongyan
  • 293
  • 1
  • 3
  • 9
1
vote
1 answer

iReport pie chart with limits label does not format other slice

I am working on iReport. I have a pie chart which I have limited to 5 slices. I then needed to format the results so I created a variable: new java.text.DecimalFormat("#,##0").format($F{Service}). The issue is the "other" slice which is a total of…
Sherry Angelo
  • 31
  • 1
  • 4
1
vote
1 answer

How to use gRaphael on rails

as a newbie in Rails, i'm trying to find a good open charting library to work with rails. With some research I've found gRaphael, and it seems it could just work for me, if i just could use it in my rails app.. I found a gem that seems to aggregate…
MrWater
  • 1,797
  • 4
  • 20
  • 47
1
vote
1 answer

Truncate the percentage in the tooltip of the pie charts

How to set the precision on the calculated percentage in fusion pie charts. My pie chart attributes as xmlData.Append(""); …
kk1076
  • 1,740
  • 13
  • 45
  • 76
1
vote
1 answer

Creating a word document from html and chart control using C# .Net

Currently I am having a aspx page with a table and and multiple ASP.Net chart control(pie chart). I need to generate a Microsoft Word Document with all the content that are present in the aspx page(might be in a button click or in the page load) and…
ANP
  • 15,287
  • 22
  • 58
  • 79
1
vote
1 answer

missing segments in d3 when putting sunburst on top of pie

(first posted on google group but no response so assuming I should be posting this here). Am trying to lay a sunburst (coloured arcs) on top of a pie (yellow and white segments). Here is a js fiddle that shows the problem, the initial green segments…
PhoebeB
  • 8,434
  • 8
  • 57
  • 76
1
vote
1 answer

Custom ordering of pie slices in excel wtih VBA

Is there a way to customize the order of the slices of a pie chart in excel (2003, 2007, 2010) with VBA so they're not bunched solely by value?
Eugene
  • 10,957
  • 20
  • 69
  • 97
1
vote
3 answers

raphael pie chart always blue when there is only 1 value (how to set color of a pie with one slice)

I am having an issue with raphael pie charts. The data I am using is dynamic, and in some instances, only 1 value is returned, meaning the whole chart is filled, as it is the ONLY slice. The problem is that when there is only 1 value, it ignores my…
livinzlife
  • 863
  • 3
  • 17
  • 33
1
vote
0 answers

Pie layout and bundle layout on same svg using d3.js?

I'm trying to create something that's like D3 hierarchical bundling: http://mbostock.github.com/d3/talk/20111116/bundle.html Only instead of the of labelling each node, I'd like an arc at the top - like the pie…
BZ.
  • 1,928
  • 2
  • 17
  • 26
1
vote
1 answer

VBA + Matlab: Pie Chart trouble

My task is 'create pie chart in excel and then show it in matlab'. as i think, i have two troubles: 1) is this chart correctly create chart? (A1-A6 are names, B1-B6 - numbers). Ok, this function work. Function CreateChart() As Excel.Chart Dim title…
gaussblurinc
  • 3,642
  • 9
  • 35
  • 64
1
vote
3 answers

redraw pie chart in highchart

suppose I have 4 slices having 20%, 30%, 30% and 20%. If I make 4th slice(20%) inactive, the other slices should adjust themselves and occupy 100 %. how to do this in highcharts? Thank you.
Hem
  • 71
  • 1
  • 3
  • 12
1
vote
1 answer

D3.js pie chart labels for slices not tweening

When I click on the various hyperlinks to tween my chart: while the pie's slices are tweening but I cannot figure out how to bring along each slice's label. A mostly working JSfiddle is here: http://jsfiddle.net/lukateake/MX7JC/ Thanks in advance…
luka
  • 13
  • 1
  • 3
1
vote
1 answer

jqplot Pie Chart data label format precision without trailing zeros

I would like to know how to format the data labels on a Pie Chart so it shows max 2 decimal characters, and never shows trailing zeros, for example: 2 -> 2 2.0 -> 2 2.566 -> 2.57 In other words, I am asking how to set dataLabelFormatString…
Boro
  • 7,913
  • 4
  • 43
  • 85
1 2 3
99
100