# Mixed chart

{% hint style="success" %}
*Check out the below-given walk-through on how to use Mixed chart in the Self-service visualization.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxZF8YGlESz97qqyTOJvz%2Fuploads%2FpNCLelgbtY1serIyLuMe%2FProperties%20of%20Mixed%20chart.mp4?alt=media&token=04cccca3-1d0b-4ee7-a3bf-733f0d3e1311>" %}
***Applying various chart properties on the Mixed chart***
{% endembed %}

The Mixed Chart combines a line chart and a column chart. It can plot 3-series of data on the graph. It is primarily used to emphasize a different series of information.

* **The best situation to use a Mixed Chart:** To compare multiple categories
* **Example:** To analyze a company's budget v/s revenue.
* **Variations of this chart-The following are the variations for this chart:**
  * **Use stacked Column charts:** Multiple categories can be clubbed together on top of each other, which makes addressing multiple questions easier.
  * **Use columns side by side:** Comparison between multiple categories becomes easier instead of toggling between charts and data.
  * **Add color for quick insight:** Where displaying columns with colors allows users to pay immediate attention to the essential tasks.

<figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/9NlUYUddgiQ5qfEB0v9J/image.png" alt=""><figcaption><p><em><strong>Default View with Mixed chart</strong></em></p></figcaption></figure>

#### **Properties** <a href="#properties" id="properties"></a>

You can access the chart-specific properties from the ***Design*** page. Click the ***Chart Properties*** ![](https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/1J9yut5zSflkGLQvY6eU/image.png) icon to display the ***Chart*** ***Properties*** tab on the right-side panel.

<figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/phytDtFZW9OZ88Cg3g42/image.png" alt=""><figcaption><p>The chart-specific Properties tab</p></figcaption></figure>

## **General Settings**

* **Style**: Select a style to display the data (the provided choices for this field are Cluster, Stack, Stack Percentage, Stack Overlaid
* **Order**: Select a sequence for displaying information
  * None
  * Ascending
  * Descending
  * **Manual Sort:** The user needs to manually sort the dimensions by using the indicator signs. By selecting an order (ascending or descending), the user needs to configure the following fields:
    * ***Order By***- Select a value option from the drop-down menu to order the sequence of the data.
    * ***Limit***- Set a number to display the requested data by this limit.
  * **Exclude Global Filter**: The view gets excluded from the Global Filter condition by putting a checkmark in the bo&#x78;**.**
  * **Show Data Label**: The data label is displayed using a checkmark in the given box.
  * **Enable Base Zero**: Base value gets presented from Zero by providing a checkmark in the box.
  * **Show Point**: Enable the ***Show Point*** option using a checkmark in the given box.
  * **Line Form**: Select a line format from the drop-down menu (the provided choices for this field are Curve and Segment).
  * **Bar Size**: This option helps to set a size for the bars that appear in the ***Mixed chart***.
  * **Show Legend**: Provide a checkmark in the box to display Legend. After enabling ‘**Show Legend**,’ users need to select the following information:

    * **Legend Style**: Select one of the following options using the drop-down menu.
      * Fixed
      * Floating
    * The following fields appear only when the selected ***Legend Style*** option is ***Fixed***.
      * **Legend Font Size:** This option helps to adjust the size of the Legend if the ***Legend Style*** is ***Fixed***.
      * **Legend Orientation**: This option appears when the ***Show Legend*** option is enabled, and the selected ***Legend Style*** is ***Fixed***. Users can choose an option from the given choices using the drop-down menu.
        * Vertical
        * Horizontal
      * **Legend Checkbox**: Enable this option using a checkmark to add the checkbox beside the Legend.

    &#x20;            ![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FFnHtChUw3vLk5RjXwu89%2Fimage.png?alt=media\&token=1e086ed9-2776-44ec-864e-b227a4dc34f1)​
  * **Slider**: Provide a checkmark in the box to enable the slider. If the ***Disabled*** option is selected for the slider, then the slider disappears from the ***View*** display.

    * **Fixed Slider Range**: Enable a checkmark in the given box to get a fixed slider range.

    <figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/buHHJxwPcVyibXJ1t2CF/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> In the above-given image, the limit is set as 7 so, the slider has been removed.*
{% endhint %}

## **View Filter**

* **Filter**: Select a filter condition using the drop-down menu (E.g., ‘**Source**’ is the selected filter condition in the following image).

## **Category Axis**

* **Title**: Provide a title for the axis.
* **Axis Label**: Enable the Category Axis label by putting a checkmark in the box.
* **Label Angle**: Select a display angle for the axis label.

## **Primary Value Axis**

* **Title**: Provide a title for the Primary Value Axi&#x73;**.**
* **Axis Label**: Enable the Primary Value Axis label by putting a checkmark in the box.
* **Format Type**: Select a desired format type from the drop-down menu (the provided options for this field are: None, Auto, Percent, Thousand, Lacs, Crore, Million, Billion, Trillion, Quadrillion).
* **Currency Type**: Select a currency symbol to be displayed in the view (the provided options for this field are: None,  Rupees, Euro, Pound, USD, Yen, Cent).
* **Precision**: Set the after-decimal value (It displays up to 5 precision).

<figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/Jh73IPKySVKJtEfT9CJ7/image.png" alt=""><figcaption></figcaption></figure>

## **Secondary Value Axis**

Properties for the **Secondary Value Axis** are displayed when two measures are dragged on the canvas.

* **Enable**: Put a checkmark in the box to enable the Secondary Value Axis.
* **Title**: Provide a title for the Secondary Value Axis.
* **Format Type**: Select a desired format type from the drop-down menu (the provided options for this field are: None, Auto, Percent, Thousand, Lacs, Crore, Million, Billion, Trillion, Quadrillion).
* **Currency Type**: Select a currency symbol to be displayed in the view (the provided options for this field are: None,  Rupees, Euro, Pound, USD, Yen, Cent).
* **Precision**: Set the after-decimal value (It displays up to 5 precision).

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*&#x20;

* *You* *don't get the **Currency Type** field when the selected **Format Type** is **Percentage**,*&#x20;
* *The selected **View Filter** option will be reflected to customize the View data after adding the View to the report.*&#x20;
* *The users must configure the* [***Series Properties***](https://docs.bdb.ai/self-service-visualization-6/design-canvas/series-properties) *of the dragged measure after enabling the **Secondary Value Axis** to display the same in the chart.*
  {% endhint %}

## **Insights**

* **Text:** *Provide any information regarding the chart. If any digit or character is required to be highlighted, put it inside two asterisks. (E.g., \*70%\* or \*skills\*).*
* **Font Size:** Set/modify the Font Size of the Insights text.
* **Font Color:** Select a Font color for the Insights Text.
* **Text align:** There are three alignments to align the text.
  * Left
  * Right
  * Centre
* **Position:** There are two options to position the text.

  * Bottom
  * Right      &#x20;

  <figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/YFVxkqZ24ml8nuiU3Nu9/image.png" alt=""><figcaption></figcaption></figure>

## Series Properties

The Series Properties can be configured to access the description and modified display of the Secondary Value Axis. Users can set and modify various aspects of the primary value axis through the Series Properties.

* Access the Secondary Value Axis using the ***Properties*** tab and enable it.
* Click the ***Series Properties*** provided next to the measure name.
* A new window opens with the name of the selected dimension/series.
* Configure the required details:

  * **Aggregation**-Select an aggregation using the drop-down menu (By default, it displays the second aggregation type which is ***Sum***)
  * **Display Name**- Provide a name to be displayed in the legend.
  * **Series Type**- Select a series type to display the secondary value.
  * **Point Shape:** Select a point shape using the drop-down menu.&#x20;
  * **Line Type:** Select a line type using the drop-down menu.      ​
  * **Color**- Select a color for the series.
  * **Data Label Color**-Select a color for the Data Label.
  * **Data Label Position**: Select an option using the drop-down icon.

  <figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/ya2CDoRNeSNsidVPG5w7/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The **Point Shape** and **Line Type** fields will appear only if the selected **Series Type** is **Line**.​*&#x20;
{% endhint %}

### Conditional Colors

* Select an Operator from the drop-down. The supported operators are displayed in the following image:

&#x20;      ![](https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/948vh4MEzmZ5KedcPaVd/image.png)&#x20;

* Provide a number for the comparison as per the set operator.
* Select a color using the color pallet for the set condition.

<figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/KFsr7n3wx7yaowVRcEEy/image.png" alt=""><figcaption><p>Conditional Colors setup</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/HaGck4Jep0LOhcMv0CFY/image.png" alt=""><figcaption><p><em><strong>Displaying Series Properties changes on the Primary Value Column</strong></em></p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/YGiqpnKQ6xhvLD1AEXJu/image.png" alt=""><figcaption><p><em><strong>Displaying Series Properties changes on the Secondary Value Column</strong></em></p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/qcRKh6n896BG051TWTp3/blobs/Dk7DpRbRyAzpcaBwpz9r/image.png" alt=""><figcaption><p>The modified View after applying custom colors using Series Properties for both the value axis</p></figcaption></figure>

## Annotation Settings

Annotation lines in a chart are used to highlight specific points or thresholds for easier analysis and interpretation. They typically represent key events, milestones, or significant values that help provide context or draw attention to important aspects of the data.

{% hint style="success" %}
*Check out the illustration to get annotation lines in a Mixed chart.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2FSnkIOzkCA3pZwk0o1qxG%2FAnnotation%20in%20Report%20Mixed%20Chart.mp4?alt=media&token=9d16b2dc-d7e2-4f91-bd50-2508a06d1e8d>" %}
Annotation lines in the Mixed chart
{% endembed %}

* Navigate to the dimension and measure panel on the Design page.
* Select the required dimensions and measures for the given space.
* Click the ***Play*** button.&#x20;
* A View will be plotted based on the selected dimensions and measures.

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> One of the Dimensions should be with date values. E.g., Event Date is such dimension for this case.*
{% endhint %}

<figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2Fur8cnlD3ZhpcHx17sgB4%2Fimage.png?alt=media&#x26;token=9b4ea9e2-75c6-4b6b-8846-c2b8426e4ca1" alt=""><figcaption></figcaption></figure>

* Click the ellipsis for the dragged Dimension that contains the Date values.
* A window for the dimension will open on the right side of the page.
* The user can set or modify the dimension's Display Name, Date Interval, and Date Format.&#x20;

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The user must choose a date format from the supported date formats only.*
{% endhint %}

<figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2FHZM4xeUbKLUrdg2eleJS%2Fimage.png?alt=media&#x26;token=c2ea7f8f-6dd0-439e-927d-029b964e8d65" alt=""><figcaption></figcaption></figure>

* Open the Chart Properties.

* Go to the ***Annotation Property*** section.

* Click the ***Select Annotation Type*** option to get the drop-down menu.

* Select an option from the drop-down. The supported Annotation Types are ***File Upload*** and ***Data Sheet.***&#x20;

* By selecting the ***File Upload*** option, the user will be redirected to upload a file.&#x20;

  <figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2FmA94HKF8XCbKK82frpb6%2Fimage.png?alt=media&#x26;token=784384f6-c5c6-4c04-a8a8-704a70ef3f60" alt=""><figcaption></figcaption></figure>

* Click the ***Choose File*** option.

<figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2FY9wXsJSUMS7HsSkhUZEg%2Fimage.png?alt=media&#x26;token=6072dc28-b01c-492d-96ec-0b54cacc8a14" alt=""><figcaption></figcaption></figure>

* Select a file from the system and upload it.&#x20;

<figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2FWY3tNzEryD2TUmhGkW8f%2Fimage.png?alt=media&#x26;token=9d8d12be-ceb7-42dc-b2fe-17c3301c1c63" alt=""><figcaption></figcaption></figure>

* The file name of the uploaded file will appear next to the Choose File option.
* Configure the ***Annotation Property*** by adjusting the following fields:
  * **Select Sheet**: Choose the specific sheet to annotate from the drop-down menu.
  * **Label Field**: Specify which field will be used as the label for your annotations.
  * **Annotation Field**: Define the field that contains the annotation data.
  * **Line Color**: Select the color for annotation lines to ensure visibility and distinction.
  * **Tooltip Title**: Set a custom title for the tooltip that appears on hover.
  * **Line Width**: Determine the thickness of the annotation lines to suit your preferences.
  * **Line Opacity**: Adjust the transparency level of the lines for better visual integration with the chart.
* Click the ***Show Annotation*** button.&#x20;
* Enable the ***Annotation*** checkbox. &#x20;

  <figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2FtC6hFyMyQgvwxq2BiFwP%2Fimage.png?alt=media&#x26;token=674d53e8-a61b-4a4e-929e-d0ce123b6bea" alt=""><figcaption></figcaption></figure>
* The Annotation line will appear in the View.&#x20;

  <figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2FAXdC7Ui7yTfbm0NjOK75%2Fimage.png?alt=media&#x26;token=ebf41c84-000b-4bb4-a037-7e08c9728136" alt=""><figcaption></figcaption></figure>
* The user can access the tooltip by hovering the cursor on the annotation line.&#x20;
  * *All the dates for a common year will be plotted together in a column.  All the dates for a common year will be plotted together in a column.*

    <figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2FwIL8PRNTtvC971mNjlYl%2Fimage.png?alt=media&#x26;token=9bf78f27-dbfd-4551-9f25-47a03fe9671c" alt=""><figcaption></figcaption></figure>

<details>

<summary>Data Sheet as an Annotation Type</summary>

*By selecting the **Data Sheet** option, the user will be asked to choose a Data Sheet from the available list and proceed to the remaining Annotation Property settings.*&#x20;

![](https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2Fx5Cpd2Fwixu9SsbMwGiq%2Fimage.png?alt=media\&token=16fbf9a2-83b0-4148-a71f-b9a0eaeba5ac)

*<mark style="color:green;">Please Note:</mark> All the other fields for annotation property remain the same for a Data Sheet when selected as an Annotation T*ype.

</details>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The Annotation line will be plotted based on the yearly value. All the dates for a common year will be plotted together in a column.*
{% endhint %}

### Threshold Settings

* Show Threshold Line: Use a checkmark in the given box to display the Threshold lines.
* Threshold 1: Set a value for the first threshold line.

<figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2F0GtvYS0imKgFfLzo0JCF%2Fimage.png?alt=media&#x26;token=6b633bb6-0935-4435-b240-653aab4b478b" alt=""><figcaption><p>Threshold Settings</p></figcaption></figure>

<figure><img src="https://429249220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqcRKh6n896BG051TWTp3%2Fuploads%2FykggSFhLDTqDCwgFtil9%2Fimage.png?alt=media&#x26;token=c975c1b7-4daf-43f0-bcf9-17a121bc71c2" alt=""><figcaption><p> <em><strong>Threshold Lines in the Mixed chart</strong></em></p></figcaption></figure>
