Chart settings

Charts can be configured. For example, you can choose to display a legend, customize a color scheme, or set your own title.

Available settings depend on the type of chart being configured.

General settings

General settings affect the overall display of charts.
To open general settings, click to the left of the screen above the chart.

Warning

The availability of individual settings depends on the chart type.

NameDescription
HeaderSets a chart header.

Possible values:
Hide: Hides a header.
Show: Displays a header. In the text field on the right, you can enter the header text.
LegendDisplays a legend below the chart. A legend contains chart colors with text descriptions that correspond to field values in the Colors section.

Possible values:
Hide: Hides a legend.
Auto: Displays a legend if the field is specified in the Colors section.
Sum in tooltipsDisplays a sum in a tooltip when you hover over the chart display.

Possible values:
On: Displays a sum in a tooltip.
Off: Hides a sum in a tooltip.
NavigatorDisplays the navigator as an additional element below the chart. It helps reduce a selection of data displayed in the chart.

Possible values:
On: Displays the navigator.
Off: Hides the navigator.
To learn more, see the instructions.
PaginationSplits a table into pages.

Possible values:
On: Breaks a table in parts across pages.
Off: Displays an entire table.
LimitSets the number of rows to export. Also, this is the number of rows displayed per page. The setting is available if the Pagination setting is enabled.
GroupingDisplays unique field values.

Possible values:
On: Display unique values.
Off: Display all values.
TotalsDisplays a row with total values for table columns. Values in a row are calculated using the same formulas as aggregation in a measure.

Possible values:
On: Display the Total row.
Off: Hide the Total row.

Field settings

You can configure:

To open settings of a dimension or a measure, click the icon to the left of its name.

Note

If you apply aggregation to a dimension, it acts as a measure and the measure settings become available.

Dimensions

NameDescription
NameSets a dimension name.
TypeSets the type of dimension data.
GroupingSets the type of grouping or rounding. The setting is only available for dimensions of the Date and Date and time type.
FormatSets the format of the value display.
Date modeSets the date display mode. The setting is only available for dimensions of the Date and Date and time type.

Possible values:
Continuous: Display all dates continuously.
Discrete: Display dates that contain values.
AggregationSets the aggregation type. Aggregation functions are available according to the table Data aggregation.

Measures

NameDescription
NameSets the measure name.
TypeSets the data type for measures.
Not supported for QL charts.
AggregationSets the aggregation type. Aggregation functions are available as shown in the Data aggregation table.
Not supported for QL charts.
FormatSets the format of the value display.
Decimal placesSets the number of characters displayed after the decimal point in a value.
Not supported for QL charts.
Display groups of thousandsAllows you to display groups of thousands for numeric values.

Possible values:
With separator: Display spaces between groups of thousands.
Merged: Hide spaces between groups of thousands.
PrefixSets a text displayed before a value.
PostfixSets a text displayed after a value.
Data typeSets a rounding scale of values.

Section settings

To open section settings, click in a row with the section name.

Axes

Axis settings are only available for charts that have at least one X or Y axis:

  • Line chart.
  • Area chart (Stacked and Normalized).
  • Column chart (including a Normalized column chart).
  • Bar chart (including a Normalized bar chart).
  • Scatter chart.

You can configure settings for both the X and Y axes.

Warning

Not all of these settings are available for all axes.

NameDescription
Axis nameSets an axis label.

Possible values:
Auto: Uses a field name. If the section contains several fields, DataLens uses the name of the field specified first in the list.
Manually: Allows you to set an axis name manually in a text field.
Off: No axis label.
GridDisplays a grid on the chart.

Possible values:
On: Displays a grid.
Off: Hides a grid.
Grid increments, pxSets the grid increment in pixels.
The setting is available if the Grid setting is enabled.

Possible values:
Auto: Calculates the grid size automatically.
Manually: Allows you to set the grid size in pixels.
Hide labelsHides axis labels that correspond to the field values.

Possible values:
Yes: Hides axis labels.
No: Displays axis labels.
Label appearanceSets the appearance of the label display. The setting is available if the Hide labels setting is set to No.

Possible values:
Auto: Displays label values.
Horizontal: Displays label values horizontally.
Vertical: Displays label values vertically.
At angle: Displays label values at a 45-degree angle.
Empty displays (null)Sets the method of processing empty values.

Possible values:
Do not display: Does not display empty values in a chart.
Join: Joins values of fields that have empty values between them.
Display as 0: Displays empty values in charts as zero (0) field values.
ScalingSets the scale of chart axes.

Possible values:
Auto: Sets the scale automatically. You can specify how DataLens sets the scale: from 0 to the maximum field value (Autoscale from 0 to max) or from the minimum to the maximum field values (Autoscale from min to max).
Manually: Allows you to set the axis scale manually. You can set the maximum and minimum values along the axis. DataLens trims the chart lines by this value.
Axis typeSets the axis type. The setting is available if fields in the axis section are of the Fractional number type.

Possible values:
Linear: Sets a linear axis.
Logarithmic: Sets a logarithmic axis. Use it for charts with a large range of values. A logarithmic axis allows you to display a fast-growing graph in a convenient form for analysis, reducing values by an order of magnitude.

Color

Generally, you can set a specific color for any graph value.

The following settings are available for a tree diagram, a table (including a pivot table), and a map:

NameDescription
Gradient typeSets the number of colors used in a gradient.

Possible values:
Two-color: Sets two colors for a gradient.
Tri-color: Sets three colors for a gradient.
ColorSets a color for a value. Available colors depend on the gradient type.
Set threshold valuesAllows you to set threshold values that will correspond to each color.
BordersSets borders for geopolygons.

Possible values:
Show: Display geopolygon borders.
Hide: Hide geopolygon borders.

You can create color palettes and use them in your charts.

Labels

Display a measure value on the chart.

Labels are available for the following charts types:

  • Line chart.
  • Area chart (Stacked and Normalized).
  • Column chart (including a Normalized column chart).
  • Bar chart (including a Normalized bar chart).
  • Pie chart.
  • Map.

Sorting

Allows you to sort chart values by measure or dimension.

Sorting is available for the following chart types:

  • Line chart.
  • Area chart (Stacked and Normalized).
  • Column chart (including a Normalized column chart).
  • Bar chart (including a Normalized bar chart).
  • Pie chart.
  • Table (including a Pivot table).

Filters

These allow making a selection of values by dimension or measure.
Filters are available for all chart types.