Line Chart

Official Content
This documentation is valid for:


A Line chart displays a series as a lines that are grouped by category.Line charts are useful for showing data changes over a period of time or for illustrating comparisions among items. Line Chart Control is an interactive chart, try clicking on a point or on the legend entries.

The user control is really simple, you just need to set one property in order to get the control working.


To show a simple line chart to illustrate a comparision between Sales and Expenses for certain years, you need just :

  • Drag and drop Google Charts Control.
  • Set Line Chart to property named Type.
  • Assign to the Data property a variable based on GoogleChartData data type (this SDT is automatically imported when dropping the control to a web form).
  • Load the information that will be shown by the chart using a variable based on GoogleChartData.
//Sample code for GoogleCharts
Sub 'LoadGoogleChartData'
 &GoogleChartSeries.Name = "Sales"
 &GoogleChartSeries = new()
 &GoogleChartSeries.Name = "Expenses"

 It looks like :

 Line Chart

This implementation is analog to Column chart for more details about adding series, customizing or handling events please refer to Column Chart Control

Implementation Details

Line Chart Control is based on the Google Line Chart Control.