Facebook Pixel

AnyChart Extension for Qlik: Bullseye Chart

Interactive Bullseye Charts to Track Goals and Performance

Basics

Downloading and Installing

Qlik Sense Desktop

To install AnyChart Bullseye Extension in Qlik Sense Desktop, do the following:

  1. Download AnyChart Bullseye Extension for Qlik Sense.
  2. Extract the archive.
  3. Open a Windows Explorer window and navigate to the Qlik Sense Extensions directory:
    ..\Users\<UserName>\Documents\Qlik\Sense\Extensions.
  4. Copy the anychart-4x-bullseye folder to the Extensions directory.
  5. Relaunch Qlik Sense Desktop.
Qlik Sense Server

To install AnyChart Bullseye Advanced Extension on a Qlik Sense server,

  1. Download AnyChart Bullseye Advanced Extension for Qlik Sense.
  2. Open Qlik Management Console (QMC): https://<QPS server name>/qmc
  3. Select Extensions on the QMC start page or from the Start drop-down menu.
  4. Click Import in the action bar.
  5. In the dialog, select the downloaded archive. Leave the password area blank.
  6. Click Open in the file explorer window.
  7. Click Import.
Qlik Sense Cloud

To install AnyChart Bullseye Extension in Qlik Sense Cloud, do the following:

  1. Download AnyChart Bullseye Advanced Extension for Qlik Sense Cloud.
  2. Access the Management Console:
    • add /console to your tenant address: https://<your tenant address>/console
    • or use the navigation link Administration under the user profile in the hub
  3. Go to the Extensions page and click Add.
  4. In the dialog, select the downloaded archive.
  5. Click Add.
  6. In the Management Console, go to the Content Security Policy section and click Add.
  7. In the dialog, give the Content Security Policy a name – for example, AnyChart.
  8. Type the address of the origin server: qlik.anychart.com
  9. Select the following directives:
    • connect-src
    • font-src
    • img-src
    • script-src
    • style-src
  10. Click Add.

Overview

The Bullseye chart is a tool that displays data points as markers spread across a set of concentric rings, which represent either ordinal categories or ranges of numerical values.

You can configure the appearance of the chart: set the colors, adjust the markers, legend, axes, and grids, enable and configure the labels, and set the text of the tooltips.

Also, the following options are available: interactivity and calculation conditions.

An AnyChart Bullseye chart with a legend and labels

Quick Start

This quick tutorial explains how to create a basic Bullseye chart.

First of all, add an empty chart to your sheet:

  1. Go to Custom objects > AnyChart in the assets panel.
  2. Drag an empty AnyChart Bullseye chart to the sheet.

Then add three dimensions, the first one representing nominal categories (the groups of data points), the second one ordinal categories (the names of rings), and the third one the IDs of points:

  1. Go to Dimensions in the properties panel.
  2. Click Add dimension and select a dimension.
  3. Click Add dimension and select a dimension.
  4. Click Add dimension and select a dimension.

A basic bullseye chart built with the AnyChart Bullseye extension for Qlik Sense

Alternatively, it is possible add two dimensions and one measure .

Please note that you can also create dimensions and measures from fields or add them by clicking on buttons on the empty chart.

Dimensions and Measures

Dimensions

To add a dimension, do the following:

  1. Go to Dimensions in the properties panel.
  2. Click Add dimension and select a dimension.

Depending on the data structure, you can add two or three dimensions.

Measures

To add a measure, do the following:

  1. Go to Measures in the properties panel.
  2. Click Add measure and select a measure.

Depending on the data structure, you can add one measure or create a chart without measures.

Data Structures

The Bullseye chart supports two different ways of setting data (data structures). You should select the one that best suits your data.

3 Dimensions

If you want the Y-axis to display ordinal categories (the names of rings), add three dimensions:

  • The first dimension (Categories) represents the names of nominal categories, which are shown on the X-axis.
  • The second dimension (Rings) represents the names of rings, which are shown on the Y-axis.
  • The third dimension (ID) represents the IDs of data points.

Please keep in mind that the order of categories on the Y-axis is defined by the sorting settings of the second dimension.

A data table for an AnyChart Bullseye chart with 3 dimensions

An AnyChart Bullseye chart with 3 dimensions

2 Dimensions + 1 Measure

If you want the Y-axis to display numerical values, add two dimensions and one measure:

  • The first dimension (Categories) represents the names of nominal categories, which are shown on the X-axis.
  • The second dimension (ID) represents the IDs of data points.
  • The measure (Rings) represents numerical values, which are shown on the Y-axis.

Please note that when the Y-axis displays numerical values, it is possible to select the scale type (linear or logarithmic).

A data table for an AnyChart Bullseye chart with 2 dimensions and 1 measure

An AnyChart Bullseye chart with 2 dimensions and 1 measure

Appearance

Colors

Color Modes

AnyChart Bullseye supports different ways of coloring the markers of the chart.

One of the available color modes (By dimension) affects the legend as well. Also, depending on the mode, the legend is either available or not.

To select a color mode,

  1. Go to Appearance > Colors and legend in the properties panel.
  2. Switch the Colors slider.
  3. Select a color mode from the drop-down menu.

The following table explains the difference between different modes and lists the settings available for each of them:

Color Mode Description Settings
Single color You can set one color, which is applied to all the markers. The legend is not available. Color
Opacity
By dimension You can use the built-in palettes to color the markers by any dimension. The legend is automatically generated and colored. Select dimension
Palette selection
Reverse colors
Opacity
By expression If the data structure of the chart includes a measure, you can color its markers by expression. The legend is available, but you have to manually add and color every item. Expression
Single Color

You can set one color, which is applied to all the markers:

  1. Go to Appearance > Colors and legend in the properties panel.
  2. Switch the Colors slider.
  3. Select Single color from the drop-down menu.
  4. Use the Color and Opacity options.

In this mode, the legend is not available.

A bullseye chart with the markers colored by a single color

Color by Dimension

You can use the built-in palettes to color the markers by any dimension (depending on the data structure, there are two or three dimensions):

  1. Go to Appearance > Colors and legend in the properties panel.
  2. Switch the Colors slider.
  3. Select By dimension from the drop-down menu.
  4. Select a dimension from the Select dimension drop-down menu.
  5. Select a palette.
  6. Use the Reverse colors and Opacity options.

The legend is automatically generated and colored. However, you can always disable or customize it if needed.

In this screenshot, the markers and legend are colored by the first dimension:

A bullseye chart colored by the first dimension

Here the markers and legend are colored by the second dimension:

A bullseye chart colored by the second dimension

Color by Expression

If the data structure of the chart includes a measure, you can color its markers by expression:

  1. Go to Appearance > Colors and legend in the properties panel.
  2. Switch the Colors slider.
  3. Select By expression from the drop-down menu.
  4. Enter an expression in the Expression input box.

In addition, the shape of markers can also be set conditionally. The legend is available, but you have to manually add and color every item.

Coloring by expression sets colors using a user-defined expression. When coloring by expression, you can define both what colors to use and which values to use them with, enabling more control over how colors are used in the visualization. For example, you might highlight values of particular interest, or differentiate between values within different value ranges. Coloring by expression can also be used to color a visualization by values not included within a visualization, such as coloring markers by alternative measures or dimensions.

Here are a few examples to show what you can do with expressions by color. Please note that expressions do not affect the legend, so in these examples it is configured manually.

Example: Coloring by Measure

If(Price < 1, 'green',
If(Price < 100, 'gold',
If(Price < 1000, 'orange', 
If(Price >= 1000, 'red'))))

In this example, 4 colors indicate 4 ranges the measure shown on the Y-axis (price).

A bullseye chart colored by expression (by measure)

Example: Coloring by alternative measure

If(EstimatedCompletionTime < 4, 'red',
If(EstimatedCompletionTime < 8, 'orange',
If(EstimatedCompletionTime >= 8, 'green')))

In this example, 3 colors indicate 3 ranges of the estimated completion time. The Y-axis, however, displays another measure – the price.

A bullseye chart colored by expression (by alternative measure)

Example: Coloring by alternative dimension

If(Type = 'Antibiotic', 'green',
If(Type = 'Antiviral', 'orange',
If(Type = 'Analgesic', 'blue',
If(Type = 'Anticancer', 'red'))))

In this example, 4 colors distinguish markers belonging to 4 different groups (drug types). The X-axis displays other groups (countries).

A bullseye chart colored by expression (by alternative dimension)

Markers

Type and Size

To configure markers, go to Appearance > Colors and legend in the properties panel, switch the Colors slider, and do the following:

  • To set the size, use the Size option.
  • To set the type, switch the Marker shape slider and select a built-in icon (shape) from the drop-down menu below.
  • To set markers as a custom image, enter a link to the image in the Image URL input box.

Here is one of the built-in icons:

A bullseye chart with the markers set as one of the built-in shapes

Type by Expression

You can add a user-defined expression assigning different built-in icons to different markers. This option is available when markers are colored by expression. To use it,

  1. Go to Appearance > Colors and legend > Colors in the properties panel.
  2. Switch the Marker shape slider.
  3. Enter an expression in the Marker shape expression input box.

In the expression, you should refer to the icons by their names:

'circle'
'cross'
'diamond'
'diagonal-cross'
'square'
'star4'
'line'
'star5'
'trapezium'
'star6'
'pentagon'
'star7'
'arrowhead'
'star10'
'triangle-down'
'arrow-down'
'triangle-up'
'arrow-up'
'triangle-left'
'arrow-left'
'triangle-right'
'arrow-right'

In the example below, the colors and shapes represent different ranges of the measure shown on the Y-axis (price). The following expression is used to set the shapes:

If(Price < 1, 'triangle-up',
If(Price < 100, 'diamond',
If(Price < 1000, 'cross', 
If(Price >= 1000, 'star4'))))

A bullseye chart with the markers set as different built-in shapes

The expression that defines shapes does not need to be similar to the expression that defines colors. For example, here the colors represent the measure shown on the Y-axis (price), but the shapes represent the dimension shown on the X-axis (country):

If(Country = 'China', 'triangle-up',
If(Country = 'Germany', 'cross',
If(Country = 'USA', 'star4')))

A bullseye chart with the markers set as different built-in shapes

Legend

When the chart is colored by dimension, the legend is automatically generated and colored. However, you can disable or customize it.

When the chart is colored by expression, the legend is available, but you have to manually add and color every item.

To configure the legend, go to Appearance > Colors and legend > Colors in the properties panel and do the following:

  • To enable or disable, switch the Legend slider.
  • To set the position, select Top, Right, Bottom, or Left from the Position drop-down-menu.
  • To set the alignment, select Top, Middle, or Bottom from the the Alignment drop-down menu.
  • To set the title, go to Title and enter your text the Title input box.
  • To configure the title font, use the Style, Color, Size, Family, and Shadow options.

Also, to add and a custom item,

  1. Switch the Items slider.
  2. Click Add legend item.
  3. Enter the name of the item in the Label input box.
  4. To set the color, use the Color option.

In this screenshot, the chart is colored by the second dimension, and the auto-generated legend is shown, its position and title customized:

A bullseye chart colored by the second dimension, the legend customized

Here the chart is colored by expression, and the legend displays custom items, its position and title customized:

A bullseye chart colored by expression, the legend customized

Axes

X-Axis

The X-axis displays the names of nominal categories (the first dimension in any data structure).

To configure the X-axis, go to Appearance > X-axis in the properties panel and do the following:

  • To disable or enable the labels of the axis, switch the Labels slider.
  • To configure the stroke, go to Line and use the Line, Color, and Style options.
  • To configure the grid, switch the Grid slider and use the options below.

To learn more about the settings of the grid, see Grids.

Two bullseye charts with the X-axes customized.

Y-Axis

Depending on the data structure, the Y-axis displays either ordinal categories (the names of rings) or numerical values (a measure).

To configure the Y-axis, go to Appearance > X-axis in the properties panel and do the following:

  • To disable or enable the labels of the axis, switch the Labels slider.
  • To configure the stroke, go to Line and use the Line, Color, and Style options.
  • To select the scale type, go to Scale type and select Linear or Logarithmic from the drop-down menu.
  • To configure the grid, switch the Grid slider and use the options below.

To learn more about the settings of the grid, see Grids.

Also, you can adjust the start angle of the chart, which affects the position of the Y-axis.

Two bullseye charts with the Y-axes customized.

Please keep in mind that the Scale type selection is available only when the Y-axis displays numerical values. You might need to use the Logarithmic scale type if the range of the values is very wide.

Linear Scale

A bullseye chart with the Y-axis representing a linear scale.

Logarithmic Scale

A bullseye chart with the Y-axis representing a logarithmic scale.

Grids

The Bullseye chart has two grids:

  • The X-grid intersects the X-axis and divides the chart into sectors.
  • The Y-grid intersects the Y-axis and divides the chart into rings.

Two bullseye charts with the X- and Y-grids highlighted.

To configure a grid, go to Appearance > X-axis or Y-axis in the properties panel, switch the Grid slider, and do the following:

  • To configure the stroke, go to Line and use the Line, Color, and Style options.
  • To configure the fill, go down and select the fill type from the drop-down menu.

The X- and Y-grids support different fill schemes:

Grid Fill Type Description Settings
X, Y None No colors are applied to the grid. N/A
X, Y Solid You can set one color, which is applied to the whole grid. Color
Opacity
X, Y Odd / Even You can set two colors: one is applied to the odd rings or sectors and the other to even ones. Odd color, Opacity
Even color, Opacity
X Palette You can select one of the built-in palettes. The sectors of the chart are colored in the order of their appearance. Palette selection
Reverse colors
Opacity
Y Gradient You can set two colors to generate a stepped gradient, which is applied to the rings of the chart. Inner color
Outer color
Opacity

It is possible to combine fill types by applying different schemes to different grids. The screenshots below show most of the fills and their combinations:

Four bullseye charts with the grids colored.

Four bullseye charts with the grids colored.

Labels

Labels are text objects that are linked to markers and display additional information about the data points they represent.

By default, there are no labels on the chart, but you can enable and configure them. Go Appearance > Labels in the properties panel and do the following:

  • To enable or disable, switch the Labels slider.
  • To set the text, switch the Text slider and enter a string value or a string expression in the input box.
  • To configure the background, switch the Background slider and use the Fill, Opacity, Corner type, Border type, and Border radius options.
  • To configure the font, switch the Font slider and use the Style, Color, Size, Family, and Shadow options.
  • To set the character limit, switch the Character limit slider and enter a number in the input box.

In the example below, the font of the labels is customized, and the following expression is displayed:

If(Price >= 1000, Drug & Chr(10) & '$' & Round(Price), ' ')

A bullseye chart with the labels customized

Tooltips

Tooltips are text boxes that appear when the user hovers over markers. You can set a custom tooltip text.

Please note that it is possible to set the tooltip text either as a string value or as an arbitrary string expression. Using expressions allows you to highlight values of particular interest, display values not included within a visualization or results of calculations, and so on.

Also, you can use HTML in tooltips.

To disable (or enable) tooltips, go to Interactivity in the properties panel and switch the Tooltips slider.

To configure the tooltip text,

  1. Go to Appearance > Tooltips in the properties panel.
  2. Switch the Tooltip text slider.
  3. Enter a string value or a string expression in the input box.

Here is an example of an expression for configuring the tooltip text:

'<b>' & Upper(Drug) & '</b>'&
'<br><i>' & Type & '</i>' &
'<hr>Stage: ' & Phase &
'<br>Estimated Price: $' & Price

A bullseye chart with a tooltip displaying a custom text

Start Angle

You can adjust the start angle of the chart, which affects orientation of the chart and the position of the Y-axis:

  1. Go to Appearance > Presentation in the properties panel.
  2. Use the Start angle option.

By default, the start angle is 0°.

Three bullseye charts with different start angle settings

Inner Radius

You can adjust the inner radius of the chart to set the size of the open space in the center:

  1. Go to Appearance > Presentation in the properties panel.
  2. Use the Inner radius option.

By default, the inner radius is 0%: the center is occupied by the inner ring, and no extra space is left.

Two bullseye charts with different inner radius settings

Other Features

Interactivity

By default, the following interactivity features are available: selection, snapshots, and tooltips. To disable or enable them, go to Interactivity in the properties panel and switch the following sliders:

  • Selection
  • Snapshots
  • Tooltips

Calculation Conditions

AnyChart supports calculation conditions: you can set a condition that needs to be fulfilled (true) for the object to be displayed. If the condition is not fulfilled, a custom message is displayed.

A calculation condition is useful when a chart or table is very big and makes the visualization slow to respond. A calculation condition can then help so that for example an object does not show until the user has filtered the data to a more manageable level by applying selections.

To add a condition, do the following:

  1. Go to Add-ons > Data handling in the properties panel.
  2. Enter an expression in the Calculation condition input box.
  3. Enter a string value or a string expression in the Displayed message input box.

For example, the following expression allows showing the chart only when the user selects less than 10 data items (drugs):

If(Count(Drug) < 10, 1, 0) 

If there are too many items, AnyChart displays this message:

'There are too many drugs (' & Count(Drug) & ').'

A bullseye chart with a calculation condition

Contact Our Sales Representatives

Our Sales Representatives will be happy to talk to you and answer any questions regarding our products, licensing, purchasing, and everything else.