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 normalized).
Bar chart (including normalized).
Scatter chart.
You can configure settings for both the X and Y axes.
Warning
Some of these settings may not be available for some axes.
Name
Description
Axis name
Sets an axis label.
Available values:
On: Use the field name. If the section contains multiple fields, DataLens uses the name of the field listed first.
Off: No axis label displayed.
Manually: Allows setting an axis name manually in a text field.
Axis type
Defines the axis type. This setting is available if the fields in the axis section are of the Fractional number type.
Available values:
Linear: Use linear axis.
Logarithmic: Use logarithmic axis. Suitable for charts with a large spread of values. The logarithmic axis allows you to display a fast-growing graph in a convenient form for analysis, reducing values by an order of magnitude.
Graph axis
This setting allows you to hide all axis elements: lines, labels, and grid.
Available values:
Show: Displays all axis elements.
Hide: Hides all axis elements.
Display mode
Enables configuring continuous chart display.
Available values:
Discrete: Plots the chart only for non-null values.
Continuous: Plots the chart for all values continuously. You can only use continuous mode for the Integer, Fractional number, Date, or Date and time data types.
Axis formatting
Sets the formatting of numerical axis labels.
Available values:
Auto: Default formatting.
By first field on the X axis: Displays the X axis labels with the formatting specified in the Format setting for the first field in the X section. Available in the X axis settings.
By first field on the Y axis: Displays the Y axis labels with the formatting specified in the Format setting for the first field in the Y section. Available in the Y axis settings.
Grid
Enables or disables grid display on the chart.
Available values:
On: Shows grid.
Off: Hides grid.
Grid increments, px
Sets grid increment in pixels. Available if the Grid setting is on.
Available values:
Auto: Calculates grid size automatically.
Manual: Specify grid size in pixels.
Labels
Shows or hides axis labels based on field values.
Available values:
On: Shows axis labels.
Off: Hides axis labels.
Label appearance
Sets the way the labels are displayed. Available if the Labels setting is on.
Available values:
Auto: Displays axis labels.
Horizontal: Displays axis labels horizontally.
Vertical: Displays axis labels vertically.
Angled: Displays axis labels at a 45-degree angle.
Null values
Allows you to select the handling method for null values.
Available values:
Hide: Hides null values in charts.
Connect: Connects field values where there are null values in between.
Display as 0: Displays null values in charts as zero (0) field values.
Scaling
Sets the chart axis scale.
Available values:
Auto: Enables autoscaling. 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: Requires manual input of the axis scale. You can set the maximum and minimum values along the axis. DataLens will trim the chart lines by this value.
Sets a color for a value. Available colors depend on the gradient type.
Set threshold values
Allows you to set threshold values that will refer to each color.
Borders
Sets borders for geopolygons.
Available values:
Show: Displays geopolygon borders.
Hide: Hides geopolygon borders.
If the Legend option is enabled in common settings, placing this field into the Colors section will make the legend visible below the chart. The legend contains chart colors with text descriptions corresponding to the field values in the Colors section.
Available color settings
To set up colors:
In the top-right corner of the Colors section, click (the icon is displayed when you hover over the section).
Set the Fill type:
Note
You can use the Palette type for dimensions and the Gradient type for measures.
For a dimension
For a measure
Click the color scheme selection field and set a color for each dimension value.
Click Apply.
Click the gradient selection field and set the following properties:
Gradient type: Select two or three colors.
Gradient color: Select a color palette for the gradient from the list.
Gradient direction: Change the gradient direction using the icon.
Set threshold values: Set numeric thresholds for each color.
Labels display measure values on the chart. Markup functions are supported. For String type fields, you can configure using basic Markdown syntax: click the icon before the field name and enable Markdown.
Labels are available for the following charts types: