Difference between revisions of "Data Visualisation Options"

From All n One's bxp software Wixi

Jump to: navigation, search
Line 47: Line 47:
  
 
* strLimit=10;  //This will limit to the top 10 answers.
 
* strLimit=10;  //This will limit to the top 10 answers.
 +
 +
 +
 +
== Palette ==
 +
 +
In some cases it may be desirable to set specific palette colours.  This option allows a custom suite of colours to be set for the values.
 +
 +
* strPalette=11772D,BA0001;  //This will colour the elements green and red.
 +
 +
  
  
  
 
[[Category:Module Specific:Data Profiling]]
 
[[Category:Module Specific:Data Profiling]]

Revision as of 22:56, 21 April 2014

Data Visualisations are a very powerful tool. They take any closed question (list/menu, radio button, check box, number list), counts up the total answers and can then draw bar charts and pie charts based on those figures.

SampleVisualisation.jpg

Sometimes however the default representations of some items are too limited, so BE allows you to override the default displays with your own customisations.

Modifications are made through: Main Menu > Database Management > Database - Question Management > Question - Edit > Select the campaign > Select the question whos visualisation you want to change > Down in the "Grouping Options" section is "Visualisation Option"


The customisations are entered in a single line of data separated by semicolons.So, in the Visualisation Option box if you put

blShowBar=false;strListing=AlphabeticAZ;strLimit=5;

The bar chart would not show, the listing would be aphabetic from A to Z and only the top 5 items would be shown.


Here are the options currently available.


1 Show | Hide Elements

By default both bar and pie chart will be shown. You can turn one or both off if required.

  • blShowQuestion=false; //Hides the entire question
  • blShowData=false; //Hides the data elements and just leaves the visualisations
  • blShowBar=false; //Hides just the bar chart element
  • blShowPie=false; //Hides just the Pie chart element


2 Listing

With lists with lots of items in them, the sorting of the elements can become very important

  • strListing=AlphabeticAZ; // Sort the answers alphabetically from 0 to 9, A to Z
  • strListing=AlphabeticZA; // Sort the answers alphabetically from Z to A, 9 to 0
  • strListing=QuantityLeastMost; // Sort the answers, with the least frequently occuring at the top. Each amount item is alpha sorted as well.
  • strListing=QuantityMostLeast; // Sort the answers, with the most frequently occuring at the top. Each amount item is alpha sorted as well.


3 Limit

For VERY long lists, it may be more advisable to limit to a specific amount of answers, like the top 10. The limit option allows you to specify exactly how many items to limit to.

  • strLimit=10; //This will limit to the top 10 answers.


4 Palette

In some cases it may be desirable to set specific palette colours. This option allows a custom suite of colours to be set for the values.

  • strPalette=11772D,BA0001; //This will colour the elements green and red.