DriveWorks Pro 16: Generate Pie Chart [send feedback...]

Generate Pie Chart

This Specification Task will generate an image of a Pie chart.

The appearance and data of chart can be configured using the properties of the task.

The plotting behaviour is intended to be the same as plotting a chart in Microsoft Excel.

Generate Pie Chart Properties

Property NameDescriptionExample used to create the chart above
Chart Area BackColorThe color of the Chart Area background. The area in and around the chart itself. Text, RGB and hex color values are accepted. Defaults to white if blank.white
Chart Color ThemeThe color theme of the chart itself. Choose from one of the values in the list.

See the chart below for examples.

Chart Title FontThe font string for the chart title.font-family: calibri; font-size: 14pt; text-decoration:
Chart Title TextThe text that will be placed above the chart. Can be left blank if no title required."U.S. GDP By Industry" & NewLine() & "Source: Bureau of Economic Analysis"
Display LegendTRUE to display the chart legend, otherwise FALSE.True
Display Slice LabelsTRUE to allow labels to be placed within each slice of the pie., otherwise FALSE.False
Image BackColorThe color of the image background. The area not included in the chart or legend. Text, RGB or Hexadecimal values accepted. Defaults to white if blank.
Legend FontThe font used for the legend.font-family: calibri; font-size: 12pt; text-decoration:
Slice Label FontThe font used for the slice labels.font-family: calibri; font-size: 12pt; text-decoration:
TableA DriveWorks table of data which will be plotted.

The first column of the table will be label the slices. This column can be filled with text strings.

The second column will be used as the data plot. These cells can only contain numerical values.

TitleChanges the Title (not the name) of the task.Generate Column Chart
DestinationThe full file name and path of the image file to create, including its extension.DWVariableChartLocation & "\PieChart.png"
Image Height (px)The pixel height of the image to output.400
Image Width (px)The pixel width of the image to output.600
OverwriteTRUE to overwrite the destination file, otherwise FALSE.True

Example Table Data

The table below is an example of the data in a Simple Table referenced by the Table property above.

Simple Table Name: UsEconomy

IndustryGDP value added $ billions 2011
Real estate, renting, leasing1898
State and Local Government1336
Finance and insurance1159
Health/ social care1136

Example Chart Color Theme Property

The table below shows examples of values for the Chart Color Theme property above.

Chart Color ThemeArea ChartColumn ChartLine ChartPie Chart

Table of Contents