Connection and Data Model

During the widget creation process, you can specify the widget type as chart. In addition, you can select a chart type that supports either a single data set or multiple data sets

To create a chart widget:

  1. On the Add Widget page of the Create Dashboard menu, click Create Widget. The Connection & Data Model page is displayed.

 

create_chart_widget_new.jpg

 

Connection & Data Model screen

 

  1. From the connection drop-down list, select the connection. The database name is automatically populated in the Database text box and the data models are displayed in the Select Data Model(s) section

 

create_chart_widget_new_1.jpg

Select Data Model(s) - Connection & Data Model screen

  1. If you need to increase the number of records retrieved from the database during widget design, do one of the following:

 

 

-Or-

 

 


note.jpg Note:


 

 

  1. Select the Sort Columns check box, if you want to list the columns in alphabetical order.

 


note.jpg Note:

The columns are displayed in the order they are returned from the database. Listing the columns in alphabetic order makes it easy for you to find the column you need from the column listing, even if you are not familiar with the database


  1. In the Select Data Model(S) section, click plus.jpg next to the data model to select it. The selected data model appears on the right
     Select_data_models_new.jpg

 


note.jpg Note:

You can select only one data model while creating a chart type widget with a single data set. For chart types with one/multiple data sets, you can select a maximum of six data models


 

  1. Click Chart as the widget type. Selection is denoted by a  mark.jpg mark that appears next to Chart.

 

Chart_Types_1.jpg

 

  1. Select the chart type in the Chart type with one/multiple data sets or Chart type with single data set section


note.jpg Note:


 

Chart_Types.jpg

 


note.jpg Note:

Working with Multiple Data Sets

If you use only one data set in the chart widget design, the data set you use is mapped to one data model

If you use more than one data set in the chart design, each data set can be mapped as follows:

For example, if you want to compare sales data retrieved from the Sales Transactions data model with sales target data retrieved from the Sales Targets data model, side by side in a chart; you can do so using the multiple data set functionality. You can map the first data set to the Sales Transactions data model, add the second data set, and map it to the Sales Targets data model.

Ideally, you must have at least one column that is common to both the data sets to present data in the chart in a meaningful way

 

In this case, each unique data set represents a different sub set of data from the same data model

 

For example, if your data set has sales transaction data for multiple product categories and if you want to isolate only Smart phone sales data to compare it with Mp3 Player sales data and analyze if Smart Phone sales are affecting MP3 player sales, you can do so using the multiple data set functionality.

You can map the first data set to the sales transactions data model and filter it from smart phones. You can add the second data set, map it to the sales transactions data model again, and in this data set filter it for mp3 players

 


 

  1. Click Next. The Select Columns page is displayed

 

 

 

top.jpg

<<Chart Widget | Select Columns>>