Difference between revisions of "Diagram 2"

From Catglobe Wiki
Jump to: navigation, search
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Image:Diagram_2.JPG]]
+
[[Image:Diagram 2.JPG]]  
  
The diagram above is a cross diagram which is made by crossing 2 axes together:<br>- The X-axis has 12 options: Jan, Feb, Mar, … Dec<br>- The Y- axis has 2 options: This Year and Last Year. Calculations for these options are based on values stored in a custom column in the data cache. These values, which are calculated on corresponding values in the EndDate column, indicate whether an RPQ was finished in this year or last year.
+
The diagram above is a cross diagram which is made by crossing 2 axes together:<br>- The X-axis has 12 options: Jan, Feb, Mar, … Dec<br>- The Y- axis has 2 options: This Year and Last Year. Calculations for these options are based on values stored in a custom column in the data cache. These values, which are calculated on corresponding values in the EndDate column, indicate whether an RPQ was finished in this year or last year.  
  
==== The following steps show you how to create the above diagram  ====
+
= The following steps show you how to create the above diagram  =
  
<u>'''Step 1. Create a new axis set in DCS list based on the EndDate column'''</u><br>&nbsp;'''1. Open the Data Cache in Data Cache list''' (Tools/Data/Data Caches).<br>'''&nbsp;2. In the Data Cache tab'''&nbsp;<br>&nbsp;&nbsp; '''2.1 Select Column’s type then click “Add Column” button to insert a new Custom column'''<br>[[Image:Add custom.JPG]]&nbsp;
+
<u>'''Step 1.'''</u>'''Create a new axis set in DCS list based on the EndDate column, this axis will be used as the&nbsp;y-axis of&nbsp;the cross diagram in Dashboard.'''<br>&nbsp;'''1. Open the Data Cache in Data Cache list''' (Tools/Data/Data Caches)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:Dash 0.JPG]] .
  
- A new Custom column is used to define the Quarter which this record is related to the current day in the system.<br>- Data type&nbsp;: Number <br>- Save numbers&nbsp;: 0,1 and null.<br>&nbsp;&nbsp; 0&nbsp;: if the year of the EndDate column is the same with the current year in the system.<br>&nbsp;&nbsp; 1&nbsp;: if the year of the EndDate column is in the previous year of current year in the system.<br>&nbsp;&nbsp; Null&nbsp;: if the year of the EndDate column is in other years.  
+
<br>'''&nbsp;2. In the Data Cache tab:'''&nbsp;<br>&nbsp;&nbsp; '''2.1 Select Column’s type then click “Add Column” button to insert a new Custom column'''<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:Add custom.JPG]]&nbsp;
  
&nbsp;&nbsp; '''2.2 Put the CGScript which defines Current Year and Last Year'''<br><span id="fck_dom_range_temp_1251961601465_789">[[Image:Insert script.JPG|693x230px]]</span>&nbsp;
+
<br>
  
- Input Name of the Custom column, this name will be an option of the axis set.<br>- Insert the CGSript.<br>// CGScript<br>array a = stringSplit(EndDate, " ");<br>string s = a[0];<br>a = stringSplit(s, "/");<br>number endDateYear = convertToNumber(a[2]);<br>number endDateMonth = convertToNumber(a[0]);<br>number endDateDay = convertToNumber(a[1]);<br>array today = getDateTime();<br>number todayYear = today[DateTime_Year];<br>number todayMonth = today[DateTime_Month];<br>number IsLastYear = 1;<br>number IsThisYear = 0;<br>if (endDateYear == todayYear)<br>return IsThisYear;<br>if (endDateYear == todayYear-1)<br>return IsLastYear;<br>//End Script
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - A new Custom column is used to define the year which this record is related to.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Data type&nbsp;: Number <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Save numbers&nbsp;: 0,1 and null.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;: if the year of the EndDate column is the same with the current year in the system.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;: if the year of the EndDate column is in the previous year of current year in the system.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Null&nbsp;: if the year of the EndDate column is in other years.
  
<br>&nbsp;'''3. Go to the Axis set tab: Create a new axis set'''&nbsp;<br>&nbsp;&nbsp; '''3.1 Create a new axis set<br>'''
+
&nbsp;&nbsp; '''2.2 Put the CGScript which defines Current Year and Last Year'''<br><span id="fck_dom_range_temp_1251961601465_789">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:Insert script.JPG|693x230px]]</span>&nbsp;
  
'''[[Image:Create new axis.JPG|328x477px]]'''&nbsp;&lt;span id="fck_dom_range_temp_1251962342404_791" /&gt;&lt;span id="fck_dom_range_temp_1251962342404_702" /&gt;&lt;span id="fck_dom_range_temp_1251962342404_473" /&gt;&lt;span id="fck_dom_range_temp_1251962342404_758" /&gt;&lt;span id="fck_dom_range_temp_1251962342404_123" /&gt;&lt;span id="fck_dom_range_temp_1251962342420_48" /&gt;
+
- Input Name of the Custom column, this name will be an option of the axis set.<br>- Insert the CGSript.  
  
&nbsp;&nbsp; '''3.2 Input value to the new axis set'''
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  
'''[[Image:Input value.JPG]]'''&nbsp;
+
{| style="width: 634px; height: 296px" border="1" cellspacing="1" cellpadding="1" width="634"
 +
|-
 +
| // CGScript<br>&nbsp;array a = DateTime_parse(EndDate, "MM/dd/yyyy");
 +
array today = getDateTime();
  
Axis math – base, Axis pct – base, Option value : will be used the Custom column’s name.
+
number todayYear = today[DateTime_Year];
  
For example :<br>
+
number todayMonth = today[DateTime_Month];
  
[[Image:Example.JPG|696x397px]]
+
number IsLastYear = 1;
 +
 
 +
number IsThisYear = 0;
 +
 
 +
if (a[0] == todayYear)
 +
 
 +
return IsThisYear;
 +
 
 +
if (a[0]== todayYear-1)
 +
 
 +
return IsLastYear;
 +
 
 +
//End Script
 +
 
 +
|}
 +
 
 +
- Save the Custom column.<br><br>&nbsp;'''3. Go to the Axis set tab''''': ''Create a new axis set'''&nbsp;<br>'''''<b>&nbsp;&nbsp; </b>3.1 Create a new axis set<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ''''''[[Image:Create new axis.JPG|269x392px]]'''&nbsp;
 +
 
 +
<br>
 +
 
 +
&nbsp;&nbsp;''3.2 Input value to the new axis set''
 +
 
 +
'''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:Input value.JPG]]'''&nbsp;
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Axis math – base, Axis pct – base, Option value&nbsp;: will be used the Custom column’s name.
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For example&nbsp;:<br>
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp; [[Image:Example.JPG|696x323px]]&nbsp;
 +
 
 +
&nbsp;&nbsp;'''4. Save the Data cache.'''
 +
 
 +
'''<u>Step 2.&nbsp;</u>Create a new axis set in DCS list based on the EndDate column, this axis will be used as the x-axis of the cross diagram in Dashboard.<br>'''&nbsp;'''1. Open the Data Cache in Data Cache list '''(Tools/ Data / Data Caches)<br>&nbsp;'''2. In the Data Cache tab:'''<br>&nbsp;&nbsp;'''''2.1. Select Column’s type then click “Add Column” button to insert a new Custom column.<br>'''''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - A new Custom column is used to define the month of EndDate.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Data type&nbsp;: Number <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Save numbers&nbsp;: 1,2,3,4,5,6,7,8,9,10,11 and 12.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1: the month of the EndDate is January.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2: the month of the EndDate is February.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3: the month of the EndDate is March.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4: the month of the EndDate is April.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5: the month of the EndDate is May.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6: the month of the EndDate is June.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7: the month of the EndDate is July.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8: the month of the EndDate is August.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9: the month of the EndDate is September.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10: the month of the EndDate is October.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11: the month of the EndDate is November.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;12: the month of the EndDate is December.
 +
 
 +
<br>''&nbsp;&nbsp; '''2.2 Put the CGScript which defines Current Year and Last Year'''''<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:Insert script.JPG]]</b>
 +
 
 +
<br><span style="display: none" id="1251963061441S">&nbsp;</span>- Input Name of the Custom column, this name will be an option of the axis set.<br>&nbsp;- Insert the CGSript.
 +
 
 +
{| border="1" cellspacing="1" cellpadding="1" width="500"
 +
|-
 +
| // CGScript<br>array a = DateTime_parse(EndDate, "MM/dd/yyyy");
 +
return a[1];
 +
 
 +
//End Script
 +
 
 +
|}
 +
 
 +
-&nbsp;Save the Custom column.<br>&nbsp;'''3. Go to the Axis set tab: Create a new axis set&nbsp;<br>'''&nbsp;&nbsp; a. Create a new axis set&nbsp;:'''<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[Image:Create new axis.JPG|264x384px]]'''&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;&nbsp; b. Input value to the new axis set.
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:Input value.JPG]]&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp; Axis math – base, Axis pct – base, Option value&nbsp;: will be used the Custom column’s name.<br>&nbsp;&nbsp;&nbsp;&nbsp; For example&nbsp;: Custom column’s name is Month.&nbsp;
 +
 
 +
{| border="1" cellspacing="1" cellpadding="1" width="200" align="left"
 +
|-
 +
| Option name
 +
| Option value
 +
|-
 +
| Jan
 +
| Month == [1]
 +
|-
 +
| Feb
 +
| Month == [2]
 +
|-
 +
| Mar
 +
| Month == [3]
 +
|-
 +
| Apr
 +
| Month == [4]
 +
|-
 +
| May
 +
| Month == [5]
 +
|-
 +
| Jun
 +
| Month == [6]
 +
|-
 +
| Jul
 +
| Month == [7]
 +
|-
 +
| Aug
 +
| Month == [8]
 +
|-
 +
| Sep
 +
| Month == [9]
 +
|-
 +
| Oct
 +
| Month == [10]
 +
|-
 +
| Nov
 +
| Month == [11]
 +
|-
 +
| Dec
 +
| Month == [12]
 +
|}
 +
 
 +
<br>
 +
 
 +
&nbsp;&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
<br>'''<br><br>4. Save the Data Cache.<br><u>Step 3. </u>Create Dashboard item whose type is Cross diagram.'''<br>&nbsp;'''1. Go to Dashboard list '''(Tools/ Reports/ Dashboard).<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:Dash 1.JPG]]&nbsp;
 +
 
 +
<br>&nbsp;'''2. Create a new dashboard or edit an existing one.&nbsp;'''<br>&nbsp;'''3. In General Information tab''': Data caches list must have the DCS which is created at step 1&amp;2.<br>&nbsp;'''4. Layout tab''': Create Dashboard items.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.1 Create Dashboard (DB) item 1 whose type is Shown axis.&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:Dash 2.JPG]]  
 +
 
 +
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o Data cache: use the DCS which is created at step 1&amp;2.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;o This DB item will be used as the X-axis of the cross diagram&nbsp;that has 12 options: Jan, Feb, Mar,… Dec
 +
 
 +
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2 Create Dashboard (DB) item 2 whose type is Shown axis.&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; [[Image:Dash 2.JPG]]&nbsp;
 +
 
 +
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o Data cache&nbsp;: use the DCS which is created at step 1&amp;2.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;o This DB item will be used as Y-axis&nbsp;of the cross diagram&nbsp;that has 2 options: Last Year and This Year.
 +
 
 +
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.3 Create Dashboard (DB) item 3 whose type is Cross diagram&nbsp;:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; [[Image:Dash 3.JPG]]&nbsp;
 +
 
 +
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o Data cache: use the DCS which is created at step 1&amp;2.<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;o Chart type: Line<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; o X – axis: must be DB item 4.1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; o Y – axis: must be DB item 4.2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; o Style sheet: choose a style sheet which is created in the Style sheet list.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; o Data format: absolute<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; o Direction: Vertical<br>&nbsp;&nbsp;'''5. Insert these Dashboard items&nbsp;to the HTML editor then save the Dashboard.'''
 +
 
 +
// Finish creating the diagram.

Latest revision as of 07:51, 7 September 2009

Diagram 2.JPG

The diagram above is a cross diagram which is made by crossing 2 axes together:
- The X-axis has 12 options: Jan, Feb, Mar, … Dec
- The Y- axis has 2 options: This Year and Last Year. Calculations for these options are based on values stored in a custom column in the data cache. These values, which are calculated on corresponding values in the EndDate column, indicate whether an RPQ was finished in this year or last year.

The following steps show you how to create the above diagram

Step 1.Create a new axis set in DCS list based on the EndDate column, this axis will be used as the y-axis of the cross diagram in Dashboard.
 1. Open the Data Cache in Data Cache list (Tools/Data/Data Caches)
           Dash 0.JPG .


 2. In the Data Cache tab: 
   2.1 Select Column’s type then click “Add Column” button to insert a new Custom column
                                 Add custom.JPG 


           - A new Custom column is used to define the year which this record is related to.
           - Data type : Number
           - Save numbers : 0,1 and null.
                 0 : if the year of the EndDate column is the same with the current year in the system.
                 1 : if the year of the EndDate column is in the previous year of current year in the system.
                 Null : if the year of the EndDate column is in other years.

   2.2 Put the CGScript which defines Current Year and Last Year
         Insert script.JPG 

- Input Name of the Custom column, this name will be an option of the axis set.
- Insert the CGSript.

      

// CGScript
 array a = DateTime_parse(EndDate, "MM/dd/yyyy");

array today = getDateTime();

number todayYear = today[DateTime_Year];

number todayMonth = today[DateTime_Month];

number IsLastYear = 1;

number IsThisYear = 0;

if (a[0] == todayYear)

return IsThisYear;

if (a[0]== todayYear-1)

return IsLastYear;

//End Script

- Save the Custom column.

 3. Go to the Axis set tab: Create a new axis set 
   3.1 Create a new axis set
       '
Create new axis.JPG 


  3.2 Input value to the new axis set

         Input value.JPG 

       Axis math – base, Axis pct – base, Option value : will be used the Custom column’s name.

       For example :

     Example.JPG 

  4. Save the Data cache.

Step 2. Create a new axis set in DCS list based on the EndDate column, this axis will be used as the x-axis of the cross diagram in Dashboard.
 1. Open the Data Cache in Data Cache list (Tools/ Data / Data Caches)
 2. In the Data Cache tab:
  2.1. Select Column’s type then click “Add Column” button to insert a new Custom column.
         - A new Custom column is used to define the month of EndDate.
         - Data type : Number
         - Save numbers : 1,2,3,4,5,6,7,8,9,10,11 and 12.
              1: the month of the EndDate is January.
              2: the month of the EndDate is February.
              3: the month of the EndDate is March.
              4: the month of the EndDate is April.
              5: the month of the EndDate is May.
              6: the month of the EndDate is June.
              7: the month of the EndDate is July.
              8: the month of the EndDate is August.
              9: the month of the EndDate is September.
             10: the month of the EndDate is October.
             11: the month of the EndDate is November.
             12: the month of the EndDate is December.


   2.2 Put the CGScript which defines Current Year and Last Year         Insert script.JPG


- Input Name of the Custom column, this name will be an option of the axis set.
 - Insert the CGSript.

// CGScript
array a = DateTime_parse(EndDate, "MM/dd/yyyy");

return a[1];

//End Script

- Save the Custom column.
 3. Go to the Axis set tab: Create a new axis set 
   a. Create a new axis set :
     Create new axis.JPG
 

 

   b. Input value to the new axis set.

      Input value.JPG 

 

     Axis math – base, Axis pct – base, Option value : will be used the Custom column’s name.
     For example : Custom column’s name is Month. 

Option name Option value
Jan Month == [1]
Feb Month == [2]
Mar Month == [3]
Apr Month == [4]
May Month == [5]
Jun Month == [6]
Jul Month == [7]
Aug Month == [8]
Sep Month == [9]
Oct Month == [10]
Nov Month == [11]
Dec Month == [12]


  

 

 

  

 

 

 

 

 

 




4. Save the Data Cache.
Step 3. Create Dashboard item whose type is Cross diagram.

 1. Go to Dashboard list (Tools/ Reports/ Dashboard).
         Dash 1.JPG 


 2. Create a new dashboard or edit an existing one. 
 3. In General Information tab: Data caches list must have the DCS which is created at step 1&2.
 4. Layout tab: Create Dashboard items.
      4.1 Create Dashboard (DB) item 1 whose type is Shown axis. 
         Dash 2.JPG


         o Data cache: use the DCS which is created at step 1&2.
         o This DB item will be used as the X-axis of the cross diagram that has 12 options: Jan, Feb, Mar,… Dec


      4.2 Create Dashboard (DB) item 2 whose type is Shown axis. 
          Dash 2.JPG 


         o Data cache : use the DCS which is created at step 1&2.
         o This DB item will be used as Y-axis of the cross diagram that has 2 options: Last Year and This Year.


      4.3 Create Dashboard (DB) item 3 whose type is Cross diagram :
         Dash 3.JPG 


         o Data cache: use the DCS which is created at step 1&2.
         o Chart type: Line
         o X – axis: must be DB item 4.1
         o Y – axis: must be DB item 4.2
         o Style sheet: choose a style sheet which is created in the Style sheet list.
         o Data format: absolute
         o Direction: Vertical
  5. Insert these Dashboard items to the HTML editor then save the Dashboard.

// Finish creating the diagram.