a!lineChartConfig( primaryGrouping, secondaryGrouping, measures, sort, dataLimit, link )
Contains configuration for how to display data in a line chart. See the Line Chart Component page for examples on using this configuration supporting function.
See also:
Name | Keyword | Types | Description |
---|---|---|---|
Primary Grouping |
|
Grouping |
Defines the field labels to display on the axis in the chart, configured using |
Secondary Grouping |
|
Grouping |
Defines the field labels to display across each line in the chart, configured using |
Measures |
|
Measure |
Defines the numerical calculations for data in the chart, configured using |
Sort |
|
SortInfo |
Use |
Data Limit |
|
Integer |
Maximum number of data points to display on the chart. Default: 100. Valid values: 1-5000. |
Link |
|
Any Type |
Link to execute when a user selects a data point on the chart. Use |
a!lineChartConfig()
is always used within a line chart component.Count of <primary key field name>
.fv!selection
. This variable returns a map that contains each of the field aliases as the key and the unformatted value as the value. Since the alias is used for the key, aliases are required for each grouping and measure when using a link. See Chart Configuration Using Records for an example of how to configure a link.The following patterns include usage of the Line Chart Configuration.