Column chart
allows you to compare values for a set of unordered items across categories through vertical bars ordered horizontally.
Column chart
need a minimum of one value element and one column element to showcase. The measure column or expression column that you would like to analyze can be dropped into values block. The dimension column that you would like to categorize the measure column can be dropped onto Columns block. If you would like to categorize based on a series column, then the respective dimension column can be dropped onto Rows block in addition. These blocks are composed into Data pane.
The following steps explains the data configuration of column chart:
column chart control
icon from the tool box into design panel. You can find the control in tool box by search.Data Source
button in the configuration panel.CREATE NEW
button to launch a new connection from the connection type panel.Microsoft Excel
Connection type is selected for demonstration) of the listed connection type button.NEW DATA SOURCE
configuration panel, fill the connection type and related details. Click the Preview & Connect
button.Save
button.Properties icon
in the configuration panel.properties
panel of the widget will be displayed as shown in the following screenshot.ASSIGN DATA
tab.ASSIGN DATA
tab will be opened with the available columns from the connected data source.Bind column by dragging and dropping the element from the sections to values
.
IMPORTANT:
You can filter
and format
the data displayed in the widget from the settings menu options. To open the settings menu
, click the settings icon
.
The following screenshots shows the various settings menu options based on the type of field configured in the type of section.
The configured field names can be edited by using the Rename
option provided in the settings menu.
You can change the aggregation type of the measure section from the settings menu as shown in the following screenshot. Refer to this section for more details.
You can use Filters to change the values by selecting the Filter
option. For more details, refer to Measure filter and dimension filter.
You can format the elements by selecting the Format
option. For more details, refer to measure format.
To remove the added value fields, click the highlighted button.
Drag and drop the elements from sections to columns.
IMPORTANT:
You can change the Settings
.
The configured field names can be edited by using the Rename
option provided in the settings menu.
You can Sort the dimension data using the Sort
option under the Settings menu list. To apply sorting for the data, refer to the Sort.
You can apply filter by selecting the Filter(s)
option in the settings. For more details, refer to the filter.
The chart will be rendered like this,
Similarly, you can add the Measures
and Expression Columns
into the column field.
On adding the second value to the Columns section, the alert message will be shown.
Click Yes
to enable the option. If you click No
, a single value will be added to the Columns section.
Figure: Chart with a drilled view of the selected region.
Drag and drop the elements from sections to Row
.
You can configure the tooltip section
to showcase the additional information in the widget’s tooltip without affecting the visualization. Refer to this section for more details on configuring the tooltip fields.
You can format the column chart for better illustration of the view that you require using the settings available in Properties
tab.
This allows you to set title
for this column chart widget.
This allows you to set subtitle
for this column chart widget.
This allows you to set description
for this column chart widget.
This option allows you to toggle the visibility of tooltip in chart.
Click the Change
button to open the Chart Type and Axis Settings
dialog.
Chart Type: This allows you to switch the widget view from current chart type to another convertible chart type.
Secondary Axis: By default, the configured field is plotted as the primary axis, if you enable this option, the selected field will be plotted as the secondary axis.
It animates the measure values when you toggle the Enable Animation
.
This allows you to toggle the visibility of value labels.
If you Disable Show Value Labels
properties, the dependent properties, which are color, Value label position, Value label rotation and Value label suffix will be hidden.
This allows you to customize the toggle visibility of value labels in each series.
This allows you to customize the value label’s color.
This option allows you to customize the value label position in the chart. By default, it is set to ‘Auto,’ so the label position for the column chart will be set to Top.
This allows you to define the rotation angle for the value labels
to display.
This allows you to show or hide the suffix value of value labels.
This allows you to customize the suffix value of value labels.
NOTE: When Increased the height and number of data in chart the value label was hidden. Use label rotation property to visible the label.
This allows you to show data, which column does not have value.
This allows you to handle the display mode of the data point values is null or undefined when Show Items With No Data
is enabled.
This option allows you to show the null or undefined values with gaps.
This option allows you to show the null or undefined values in the zero axis.
This option displays the null or undefined values with the average value.
This option allows you to increase or decrease the width of the column by using the Column Width
.
This option allows you to increase or decrease the space between the columns by using the Column Spacing
.
On enabling this support, the chart scroll bar thumb-size will be calculated based on the total records count. So, you can see the last record by performing a single scroll.
This option allows you to set number of records needs to be fetched on initial load.
A Legend is a text used to describe the data plotted. This allows you to toggle the visibility of legend in chart and also change the legend text position (selecting through combo box).
Enabling this option of Custom Legend Text will allow you to define a custom text (through the text area) to display for each legend series (selecting through the combo box) in chart.
This allows you to change the chart legend title and label colors.
You can customize the legend text through the Custom Legend Settings
dialog. This dialog will show the legend text list as labels at left and corresponding text area at right to add the formatted text to display instead.
A Legend is a text used to describe the data plotted. This option allows you to place the legend at the position of Left, Right, Top, and Bottom.
This allows you change the shape of the legend.
Circle
This option allows you to change the shape of the legend in a Circle
.
Series Type
This option allows you to change the shape of the legend in Series
.
This allows you to add the legend title for the chart. It will reflect with the Show Legend
.
This option allows you to customize legend text based on the ‘Text Width’ property value.
None
This option allows you to render legend items without any wrap and trim.
Trim
This option allows you to trim the legend items if its legend exceeds the ‘Text Width’ value.
Wrap
This option allows you to wrap legend items based on the ‘Text Width’ value.
This option allows you to set a maximum width for the Legend Items and it is applicable only if text-overflow set to Trim or Wrap.
If you uncheck the Show Legend
property in the property panel, the dependent properties, which are Legend color, Legend position, customization button and Legend title are also hidden.
NOTE: For single series, Legend wont be visible.
To configure the linking to URL or dashboard with the widget using its settings. For more details, refer to Linking.
This section allows you to customize the axis settings in chart.
This allows you to customize the axis title color.
This allows you to customize the axis label color.
This allows you to toggle the visibility of category axis.
If you disable the Show Category Axis
option, dependencies properties Show axis title, Axis title text, Trim overflow mode, Trim axis labels, Label Rotation and Auto Interval option will be hidden.
This allows you to toggle the visibility of category axis title.
This allows you to edit the category axis title for chart. It will reflect in x-axis name of chart.
If we uncheck the Show Axis Title
property, the Axis title text box property will be hidden.
This allows you to handle the display mode of the overlapping labels in the category axis.
This option trims the end of overlapping label in the axis.
This option hides the overlapping label in the axis.
This option allows you to trim the axis labels based on the Maximum Label Width
property value.
This option allows you to set a maximum width for the axis labels, and also it can be made customizable when the trim axis label
option is enabled.
This allows you to define the rotation angle for the category axis labels to display.
By default, the Auto Interval
property is enabled. The Auto Interval property is used to set auto intervals based on the number of data points for category axis labels. If the user wants to customize the interval, then the user needs to disable the auto interval and set the required interval.
This allows you to enable the primary value axis for chart.
If you disable the Show Primary Axis
option, dependencies properties, which are Axis title, Axis title text, Axis type and Axis Format properties will be hidden.
This allows you to enable the visibility of primary value axis title of chart.
This allows you to edit the primary value axis title. It will reflect in y-axis name of chart.
By default, the chart axis showing positive values on the top and negative values at the bottom. But, there are times when we need to inverse the axis and show the negative values on the top and positive values on the bottom. For Example, When we bind the temperature data to the chart and to display the negative values on the top, we can make use of this property.
On enabling this property the chart negative values will display on the top and positive values display on the bottom.
This allows you to change the type of axis in the column chart.
This option allows you to handle the type of axis as linear.
This option allows you to handle the logarithmic axis that uses a logarithmic scale and it is very useful in visualizing when the data has values with both lower order of magnitude (Eg: 10-6) and higher-order of magnitude (Eg: 106).
This allows you to manually set the Minimum, Maximum and Interval values of primary value axis through the Axis Range Settings dialog.
It will reflect in the primary value axis of the chart.
This option allows you to format the primary and secondary axis values from the formatting details provided using the Format
button. For more details, refer to this measure format.
You can toggle the visibility of the each axes gridlines visibility using the property.
This allows you to enable the Primary Value Axis
gridlines for the column chart.
This allows you to enable the Secondary Value Axis
gridlines for the column chart.
This allows you to enable the Category Axis
gridlines for the column chart.
You can add more than one trendline to Cartesian charts except for bar type series(Line, Column, Area, Spline) and stacked type of charts. You can add, edit, and delete trendlines.
To add the trendline, click the highlighted button.
Now, the dialog will open as follows.
Click the OK
button to add trendline in a column chart. Now, the chart renders as follows.
To edit the trendline select the one to be edited and click the highlighted button.
Again, the trendline dialog window opens now.
Legend Text
You can edit the trendline legend by the Legend Text
text box. By default, the Legend Text
renders are based on the Line type and Series name.
Series
You can change the series to which series have to show the trendline by Series
dropdown option.
Line Type
You can select line type by the Line Type
dropdown option(Linear, Exponential, Logarithmic, Power, and Polynomial).
Line Color
You can change the color of the trendline by the Line Color
color picker.
Line Style
You can change the style of the trendline by the Line Style
drop down option(Solid, Dot, Dash, DotDash, LongDash, and LongDashDotDot).
To delete the trendline, select the one to be deleted and click the highlighted button.
IMPORTANT: The
Formatting section
will be enabled when the widget is configured, and it will be hidden if the row field is configured.
This allows you to change the color
for the column chart.
It will reflect in the column chart.
The Advance setting
option will be enabled when only one column and one row is configured. You can refer more details from this section
Color in column chart widget can be customized using the color settings available in the properties
section. This will allow the users to improve the visualization in column chart and to distinguish the data based on conditional range values that will let the visualizer to understand what is shown in data.
In the properties
pane, under the Formatting
section, check the Advanced Setting
check box.
This will open the Conditional Formatting
dialog.
save
button to apply.Refer to the following sections for the detailed steps on using the Gradient, [Rule](/embedded-bi/visualizing-data/visualization-widgets/column-chart/#rule-based- condition-mode) and individual modes.
You can customize the fill color of the column chart using the gradient based conditional formatting. This is the default mode
.
You can choose any field from the Based-On section to apply the conditions from the drop-down.
You can select the summary type for the selected measure field.
You can define your range by entering the low, mid, and high values.
NOTE: It is optional, if no value is entered then the ranges will be auto calculated based on the minimum and maximum values from the data source.
You can enter the title for the column chart legends.
This allows you to customize the fill color of the column chart based on one or more numerical / text conditions.
The value type drop-down allows you to choose whether you are going to apply the direct value (specific number like 3 goals, order ID 10248) or percentage (values above 30% or 50 %).
You can give a meaningful name to the applied conditions.
Choose the condition for measure field from the highlighted conditions.
If you selected the dimension as a based-on field
and want to use text condition, the following text-based conditions are available.
The text-based condition type will be enabled only when the dimension selected is used as the based-on field.
You can mention the condition value.
For the dimensions, case sensitive option is provided to choose whether the entered value is case sensitive or not.
Select the fill color for that condition using the color picker.
Click add condition
to specify add new condition.
Click the delete
button to remove the existing condition.
Using the individual
mode, you can specify color for each record.
IMPORTANT: Only top 100 records will be listed in the
dialog.
Using the Color Mapping type, you can apply the colors to the series either based on data or index.
Data
It allows you to apply color for chart series based on data. If you want to apply a specific color to specific data, you can use Data based color mapping. By default, the Color Mapping Type will be Data
.
Index
It allows you to apply color for chart series based on Index
. Such that the colors are maintained based on index even if data is changed. It shows only 15 different colors. After that, the color will be repeated from above colors.
For example, If you are displaying the countries based on the increasing order of the case count, then the index-based color mapping will be useful to set the colors based on the rank. Say red color to the top, then the red color will be maintained for the country having the largest case count.
NOTE: We prefer to use Index based color customization only for minimum data(upto 15 series).
You can choose the color for the record from the nearby color picker.
To undo all the changes, click reset
.
This allows you to apply color for chart series either by using a default palette or a custom color palette. By default, the colors will be applied using the default palette. This series of settings will be visible only if you configured the row section in the chart.
This Option allows you to apply default color for chart series.
By toggle off the Use Default Palette
option, the Color Mapping Type
will be shown.
Using Color Mapping type, you can apply the colors to the series either based on data or index.
Data
It allows you to apply color for chart series based on data. If you want to apply a specific color to specific data(i.e. Violet color for 2021, Sky Blue color for 2022, and green for 2020), you can use Data based color mapping. By default, the Color Mapping Type will be Data
.
Index
It allows you to apply color for chart series based on Index
. Such that the colors are maintained based on index even if data is changed. It shows only 15 different colors. After that, the color will be repeated from above colors.
For example, If you are displaying the countries based on the increasing order of the case count, then the index-based color mapping will be useful to set the colors based on the rank. Say red color to the top, then the red color will be maintained for the country having the largest case count.
NOTE: We prefer to use Index based color customization only for minimum data(upto 15 series).
This section allows you to customize the font size of chart elements.
By default, the ‘Auto Font Size’ property is enabled. the Auto font size property is used to set font size based on dashboard viewing client machine resolution. If the user wants to customize or set fixed font size, then the user needs to disable auto font size and set required font size.
This section allows you to handle the filter
action for the spline area chart widget.
This allows you to define this column chart widget as a master widget such that its filter action can be made to listen by other widgets in the dashboard.
This allows you to define this column chart widget to ignore responding to the filter actions applied on other widgets in the dashboard.
Using this option, you can enable or disable the hierarchical top N filtering. While applying the Top N filter with multiple dimension columns, the data returned can be customized based on whether the filtering needs to be done as flat or based on the hierarchy of dimension columns added.
When the Hierarchical Filter option
is enabled, the Top N will be applied for each individual column separately based on the number set for each column.
This sections allows you to customize the Container Appearance
for the column chart widget.
This allows you to handle the alignment of widget title to either left, center, or right.
This allows you to apply the text color
to the widget title.
`On enabling Auto Font Size, the font size of the title will be adjusted automatically based on the screen resolution.
Font Size
This allows you to apply the specified size of the font to the widget title if the Title Auto Font Size is disabled. Value can be between 10 and 44.
On enabling Auto Font Size, the font size of the subtitle will be adjusted automatically based on the screen resolution.
Font Size
This allows you to apply the specified size of the font to the widget title if the Subtitle Auto Font Size is disabled. Value can be between 10 and 32.
On enabling Auto Padding, the padding of the widget container will be adjusted automatically if the size of the widget varies.
Padding
This allows you to customize the padding of the widget container if the Auto Padding is disabled. Value can be between 0 and 25.
This allows you to toggle the visibility of the border surrounding the widget.
This allows you to apply the specified radius to the widget corners if the Show Border is enabled. Value can be between 0 and 10.
This allows you to set the background image for the column chart widget.
This allows you to set the background color to the column chart widget.
This property allows you to specifies the transparency for the background color.
This allows you to toggle the visibility of the shadow
surrounding the widget.
This Section allows you to customize the Container actions for the column chart widget.
This allows you to enable or disable the widget title of the column chart.
This allows you to enable or disable the maximized mode of the column chart widget. The visibility of the maximize icon in the widget header will be defined based on the setting in the viewer.
This allows you to enable or disable the CSV export option for the column chart widget. Enabling this allows you to export the summarized data of the widget view to CSV format in the viewer.
This allows you to enable or disable the Excel export option for the column chart widget. Enabling this allows you to export the summarized data of the widget view to (.xlsx or .xls)
format in the viewer.
This allows you to enable or disable the Image export
option for the column chart widget. Enabling this allows you to export the view of the widget to image format (.jpg), (.png), or (.bmp)
in the viewer.
This allows you to enable or disable the PDF export option for the column chart widget. Enabling this allows you to export the view of the widget to pdf format in the viewer.
This allows you to enable or disable comment
for the dashboard widget. For more details, refer to this link.
This allows you to visualize the raw data associated with a widget at runtime.
To learn more about viewing the underlying widget data, refer to the view data documentation.
This allows you to pin the widget.
We hide the widget elements based on the size of the widget for better readability.
When the chart has been placed with less than 7 columns chart Y-axis labels, Y-axis titles will be hidden.
When the chart has been placed with less than 6 rows, chart X-axis labels, X-axis titles, and gridlines will be hidden.