DriveWorks Pro 15: Generate Line Chart [send feedback...]

Generate Line Chart

This Specification Task will generate an image of a Line 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 Line 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 thirteen values in the list. Berry
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."Average Global Temperatures in the Past 25 Years" & NewLine() & "Source: NASA"
Display LegendTRUE to display the chart legend, otherwise FALSE.False
Display X Axis GridlinesTRUE to display X axis gridlines, otherwise FALSE.False
Display X Axis LabelsTRUE to display X axis labels, otherwise FALSE.True
Display Y Axis GridlinesTRUE to display Y axis gridlines, otherwise FALSE.False
Display Y Axis LabelsTRUE to display Y axis labels, otherwise FALSE.True
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 (e.g. font-family: verdana; font-size 14.25pt).
X Axis TitleThe text that will be placed along the X Axis of the chart.Year
Y Axis TitleThe text that will be placed along the Y Axis of the chart.Average Temperature oc
TableA DriveWorks table of data which will be plotted.

The first column of the table will be used as the X plot. This column can be filled with text strings.

Every cell on the top row of each column of the table will be used for series name. These cells be filled with text strings.

Every column thereafter the first will be used as the Y data plot. These cells can only contain numerical values.

DwLookupGlobalTemperature
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 & "\LineChart.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: GlobalTemperature

YearAverage Temperature oc
19920.23
19930.24
19940.32
19950.46
19960.35
19970.48
19980.64
19990.42
20000.42
20010.55
20020.63
20030.62
20040.55
20050.69
20060.63
20070.66
20080.54
20090.64
20100.71
20110.6
20120.63
20130.65
20140.74
20150.87
20160.99

Table of Contents