---
title: Pie Chart Tool | Data Visualization Pie Charts | Statgraphics
description: You can make pie charts with JavaBeans using the Statgraphics data analysis pie chart tool. Get the tools for data visualization pie charts here!
---

[![Statgraphics 19 logo](https://www.statgraphics.com/hs-fs/hubfs/stat19plain-01-1.png?width=2272&height=484&name=stat19plain-01-1.png "Statgraphics 19 logo")](https://www.statgraphics.com)

- [Products](https://www.statgraphics.com/product)
- [Learn](https://www.statgraphics.com/statistics-library)
- [Training](https://www.statgraphics.com/training-and-consulting)

- [Product](https://www.statgraphics.com/product) 
    - [Centurion XVIII](https://www.statgraphics.com/centurion-xvii)
    - [Sigma Express](https://www.statgraphics.com/statgraphics-sigma-express)
    - [Online](https://www.statgraphics.com/statgraphics-stratus)
    - [Web Services](https://www.statgraphics.com/statgraphics-web-services)
- [Learn](https://www.statgraphics.com/statistics-library) 
    - [Statistics Library](https://www.statgraphics.com/statistics-library)
    - [Six Sigma & Lean](https://www.statgraphics.com/six-sigma-lean)
    - [Instructional Videos](https://www.statgraphics.com/instructional-videos)
    - [Applications/ Case Studies](https://www.statgraphics.com/application)
- [Training & Consulting](https://www.statgraphics.com/training-and-consulting) 
    - [Statpoint Seminars](https://www.statgraphics.com/statpoint-seminar)
    - [Statpoint Instructors](https://www.statgraphics.com/statpoint-instructor)
    - [Training Partners](https://www.statgraphics.com/training-partners)
    - [Webinars](https://www.statgraphics.com/webinars)
- [Support](https://www.statgraphics.com/customer-support-overview)
- [Blog](https://www.statgraphics.com/blog)
- [Store](http://store.statgraphics.com)

### Statgraphics

## [Centurion](https://www.statgraphics.com/centurion-overview)

#### [LEARN MORE](https://www.statgraphics.com/centurion-overview)

### Statgraphics

## [Sigma *express*](https://www.statgraphics.com/statgraphics-sigma-express)

#### [LEARN MORE](https://www.statgraphics.com/statgraphics-sigma-express)

### Statgraphics

## [*Stratus*](https://www.statgraphics.com/statgraphics-stratus)

#### [LEARN MORE](https://www.statgraphics.com/statgraphics-stratus)

### Statgraphics

## [Web Services](https://www.statgraphics.com/statgraphics-web-services)

#### [LEARN MORE](https://www.statgraphics.com/statgraphics-web-services)

## [Statistics Library](https://www.statgraphics.com/statistics-library)

#### [LEARN MORE](https://www.statgraphics.com/statistics-library)

## [Six Sigma & Lean](https://www.statgraphics.com/six-sigma-lean)

#### [LEARN MORE](https://www.statgraphics.com/six-sigma-lean)

## [Instructional Videos](https://www.statgraphics.com/instructional-videos)

#### [LEARN MORE](https://www.statgraphics.com/instructional-videos)

## [Applications/ Case Studies](https://www.statgraphics.com/statistical-applications)

#### [LEARN MORE](https://www.statgraphics.com/statistical-applications)

## [Statgraphics Seminars](https://www.statgraphics.com/statpoint-seminar)

#### [LEARN MORE](https://www.statgraphics.com/statpoint-seminar)

## [Statgraphics Instructors](https://www.statgraphics.com/statpoint-instructor)

#### [LEARN MORE](https://www.statgraphics.com/statpoint-instructor)

## [Training Partners](https://www.statgraphics.com/public-seminar)

#### [LEARN MORE](https://www.statgraphics.com/public-seminar)

## [Webinars](https://www.statgraphics.com/webinars)

#### [LEARN MORE](https://www.statgraphics.com/webinars)

#### Statbeans

- [STATBEANS® Overview](https://www.statgraphics.com/statbeans)
- [DataSource STATBEANS®](https://www.statgraphics.com/statbeans_datasource)
- [Calculation STATBEANS®](https://www.statgraphics.com/statbeans_calculations)
- [Tabular STATBEANS®](https://www.statgraphics.com/statbeans_tabular)
- [Graphical STATBEANS®](https://www.statgraphics.com/statbeans_graphical)

[Back to Product Overviews](https://www.statgraphics.com/product)

# Piechart STATBEAN®

 

**Purpose:** Constructs a standard one-dimensional Java script pie chart. Statgraphics STATBEANS like this use JavaBeans to create data visualization pie charts.

**DataSource for these data visualization pie charts: **any (automatic data transfer if Tabulation). 

![piechart](https://www.statgraphics.com/hs-fs/hubfs/piechart.gif?width=260&name=piechart.gif)

**Pie Chart Tool Read/Write Properties**

| **Name** | **Type** | **Description** | **Possible Values** | **Default Value** |
| --- | --- | --- | --- | --- |
| className | String | Name for classes to be used in title. | Any string. | "" |
| decimalPlaces | int | Number of decimal places for displaying frequencies. | 0+, or -1 for default. | -1 |
| frequencyVariableName | String | The name of the column containing class frequencies. | Any string. | "Frequency" |
| highlightOffet | int | Percentage offset for the highlighted slice. | 1-100 | 10 |
| highlightSlice1 | int | Number of the first highlighted slice, if any. | 0 if none, else 1+. | 0 |
| highlightSlice2 | int | Number of the second highlighted slice, if any. | 0 if none, else 1+. | 0 |
| labelVariableName | String | The name of the column containing class labels. | Any string. | "Label" |
| legends | String | The information to be placed in the legend block. | "None","Class", "Frequency", "Percentage", "Class(frequency)", "Class(percentage)", "Frequency(percentage)" | "None" |
| linesLength | int | Length of lines drawn to each label as a percentage of available graph space (affects spacing also). | 0+ | 10 |
| linesToLabels | boolean | Whether lines will be drawn to each label. | true,false | false |
| ordering | String | The type of column ordering desired. Increasing and Decreasing refer to class frequencies. | "Alphabetical", "As Entered", "Decreasing", "Decreasing Alphabetical", "Increasing", "Increasing Alphabetical". | "As Entered" |
| pieWidth | int | Percentage of available space used by the pie (affects the radius). | 1-100 | 80 |
| sliceColor | Color array | The colors to be used for the slices. | Any valid Color. | Various. |
| sliceLabelColor | Color | The color of the slice labels. | Any valid Color. | Color.black |
| sliceLabelFont | Font | The font to be used for the slice labels. | Any Font. | "Serif",0,12 |
| sliceLabels | String | Labels to add at end of slices. | "None","Class", "Frequency", "Percentage", "Class(frequency)", "Class(percentage)", "Frequency(percentage)" | "Class(percentage)" |
| weightVariableName | String | The name of the column containing optional class weights. | Any string. | "" |

**Pie Chart Tool Code Sample** - see [Tabulation](https://www.statgraphics.com/statbeans/calculations/tabulation).

[![contact-icon](https://www.statgraphics.com/hs-fs/hubfs/stat19web/sales.png?width=50&name=sales.png "contact-icon.fw")](https://www.statgraphics.com/contact-us-dealers-global-partners)

### [CONTACT SALES](https://www.statgraphics.com/contact-us-dealers-global-partners)

Contact our Sales team today

[![youtube-icon.fw](https://www.statgraphics.com/hubfs/stat19web/watchr.png)](https://www.statgraphics.com/instructional-videos)

### [WATCH A VIDEO](https://www.statgraphics.com/instructional-videos)

Learn more about the many enhancements added to Version 19

[![download](https://www.statgraphics.com/hubfs/stat19web/downloadr.png)](https://www.statgraphics.com/download18)

### [DOWNLOAD TRIAL](https://www.statgraphics.com/download19)

Try Statgraphics 19 today for free!

[![eye icon](https://www.statgraphics.com/hubfs/stat19web/viewr.png)](https://www.statgraphics.com/download-brochure-0)

### [VIEW BROCHURE](https://www.statgraphics.com/download-brochure-0)

Discover Statgraphics 19 with our product brochure.

![contact us](https://www.statgraphics.com/hubfs/stat19web/contactr.png)

© 2025 Statgraphics Technologies, Inc.

The Plains, Virginia

[CONTACT US](https://www.statgraphics.com/contact-us-partner)

![Statgraphics download center](https://www.statgraphics.com/hs-fs/hubfs/stat19web/downloadcr.png?width=50&name=downloadcr.png)

Have you purchased Statgraphics Centurion or Sigma Express and need to download your copy?

[CLICK HERE](https://www.statgraphics.com/download-center)

- [Support](https://www.statgraphics.com/customer-support-overview)
- [Company](https://www.statgraphics.com/contact-us-dealers-global-partners)
- [Blog](https://blog.statgraphics.com)

-  
-          

-  