XCELSIUS DASHBOARDS (click to go to post)

XCELSIUS-FORMATTING TRICK-5 CUSTOM MAP-ICON COMPONENT

CUSTOM MAP WITH FLICKERING ICONS



In this formatting Trick we will learn how to make a custom map with Flickering icons (as shown below). In this dashboard the default icon starts flickering as the dashboard loads and if the user clicks on some other icon that icon starts flickering.

This formatting trick shows a very good use of alerts in icons. I know others have used this trick too but not very sure how they have done it.Ofcourse you can use these icons for other purposes also.
You can play with the dashboard below





The most important thing to understand here is that you need to have something that changes continuously to have such an effect (Flickering). So to get this effect we have used the play selector component. These are the steps to be followed.
1. 1) To start we need 7 icons (as I have 7 continents here). Place the icons on the canvas and do the following changes to the Properties


a) First in the General tab: Put Display Value for Icon-1 as D5, Icon-2 as E5 and so on..Icon-7 gets J5. (So 5th row from D to J)


b) Put the Source Data for Icon-1 as ‘1’ (both Checked and un-Checked), Source Data for Icon-2 as ‘2’ (both Checked and un-Checked) and so on .. so Icon-7 Gets Source Data as ‘7’ (both Checked and un-Checked).In the picture below you can see the properties of the 4th icon. From the image you can see that Source Data is 4 (both Checked and un-Checked).





c) Put the Destination Cell for All Icons as Cell D8 (Remember All the icons have to have the same Destination).so for example Icon-5 is clicked then D8 will have a value 5 and if Icon-6 is clicked then D8 will be 6.


d) In Cells D3 to J3 put numbers 1 to 7 indicating the number of the Icon. Why we do it I’ll explain later.

e) In Behavior Tab go to Animation and Effects and Check Enable sound Check box ( if you don’t need the sound uncheck it )


f) In Appearance > Layout uncheck ‘Show on/off’ check box. And in Appearance>Text uncheck ‘Display Value’ Check Box.


g) In Alerts check ‘Enable Alerts’ then Click on ‘By Value’ Radio button. Uncheck ‘Use a Range’ if it is checked. Then in the Box below enter ‘0’ and click on ‘Add’. When you click on ‘add’ you will notice an extra row has been added to the ‘From’ –‘To’ part. Delete the last two rows by clicking on the crosses next to it (as shown in the picture.). Uncheck the Enable Auto Colors box.



h) You can add a color to ‘NO DATA’ Row which can be similar to the first row. Also add contrasting colors so that we can see it changing. So if everything is done correctly your Properties window should look like this.

2. 2)Next we come to the Play selector component.
a) First we make two columns M13:M24 and N13:N24 where the ‘M13 to M24’ cells have alternate “-1” and “1” whereas ‘N13 to N24’ has only “1” in all the cells.

Now we come to the most important part of this trick. We make a table from D13 to J24. We have to write an ‘IF’ condition such that whichever icon is clicked the row corresponding to that icon in the table D13:J24 will have alternate ‘-1’ and ‘1’.For example if Icon-3 is clicked then the cell D8=3(because all icons have destination as D8 point 1C ) then the cells from F13 to F24 should have alternate -1 and 1. Thus we put the following formula in each of the cells. So in cell F13 we put this “=IF($D$8=F$3,$M13,$N13)” (F3 is from Point !d). Similarly we just drag this formula both sides. So the cell D13 would have “=IF($D$8=D$3,$M13,$N13)” and so on.In the image below D8 ahs value '2' thus cells E:13 to E:24 have alternate '-1' and '1'.


b) Select insertion type as ‘ROW’ in properties general tab, give the source data as D13 to J24 and the destination as D5 to J5 (which are also the display for the icons).


c) Go to Behavior Tab>Common and check auto play.
So after everything the sheet will look like.


3. 3)Then we simply import a World Maps Picture using the image component, remember i am not using the map component i am using using the image component, arrange icons on it and do some aesthetic changes. Click preview and we are done.


Share/Bookmark
Blog Widget by LinkWithin