Difference between revisions of "Information of an axis"
(jrfconvert import) |
Cg huyphong (talk | contribs) |
||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:The axis set]] |
| | ||
Latest revision as of 05:32, 26 April 2011
Information of an axis
An axis set consists of a number of axes. An axis may have a number of options related. Some axes will not have any options if they are purely numerical.
The information of an axis and its options are:
- Axis / Name: It is a meaningful text used to identify the axis in axis lists; it cannot be an html string or an empty string. Example “Gender”
- Axis / Text: It is a more detailed description about what the axis means to do in the user perspective. It cannot be an empty string. Example “The respondents’ genders”.
- Axis / Pct-base: The axis’ pct-base must be a conditional CGS expression used for generating the denominator for calculating percentages. It cannot be empty. Example “Gender == [1-2]” (where 1 is man and 2 is woman).
- Axis / Weight: Specifies whether the primary data cache column (mainly the math base) used for that axis can be used for calculating weights. If set to true then the axis name will appear as a weight choice when setting up reports and diagrams.
- Axis / Math-base: The axis’ math-base must be a valid data cache specification column. It is used for generating expressions containing statistic functions such as: median, variance, and quantile. It is by default equal to the column name of the data cache specification column from where it was generated. Example “Gender”.
- Axis / Math-base-modifier: If we do not want to include all the results of a column in the calculations for a math-base, then we must apply a math-base-modifier. Typically a math-base-modifier will try to exclude answers that are used for "Do not know" or "Will not answer". E.g. if people in question ""LikeProduct" have answered from 1 to 5 for how well they like a product and 6 ("Don't know" in interface) if they have never tried it. Then we would make a math-base-modifier in the format "LikeProduct==[1-5]".
- Axis option / Name: It is a meaningful text to describe what the axis option contains; it is usually the text of a question’s answer option. Example “Male”.
- Axis option / Value: An axis option’s value is a conditional CGScript expression used for generating where expression when crossing among axes. Example “Gender == [1]”.
- Axis option / Pct-base: The axis option’ pct-base must be a conditional CGS expression used for generating the denominator for calculating percentages. It can be empty. If empty it will inherit its percentage base calculations from the axis percentage base. Example “Gender != empty”.