The default axis set: Difference between revisions
More actions
jrfconvert import Ā |
Cg huyphong (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
[[Category: | [[Category:The axis set]] | ||
 |  | ||
Revision as of 04:33, 26 April 2011

The default axis set
Since creating an axis set is quite a big job then, whenever you create a data cache specification, a default axis set will also be created for it. You can the later go in and modify this default axis set as explained in more detail further down.
First have a look at the logic of how a default axis set is created.
For each column in the column list of the data cache specification of the types question, group and sample-rule, the logic for creating its corresponding default axis is stated as follow: [1] |- align="left" valign="top" | style="border: 1px solid #010101" width="171" | Question - Multi | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | The corresponding questionās text in the default language | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Column_nameĀ != empty | style="border: 1px solid #010101" width="171" | For each answer option, create a default axis option whose name is the answer optionās text, value is if the data cache column name equals to the answer optionās value
Ex: Hobby == [1] |- align="left" valign="top" | style="border: 1px solid #010101" width="171" | Question - MultiGrid | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | The questionās text concatenated with the sub questionās text in the default language | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Column_nameĀ != empty | style="border: 1px solid #010101" width="171" | For each answer option, create a default axis option whose name is the answer optionās text, value is if the data cache column name equals to the answer optionās value
Ex: Problem_SQ_1 == [1] |- align="left" valign="top" | style="border: 1px solid #010101" width="171" | Question - SingleGrid | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | The questionās text concatenated with the sub questionās text in the default language | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Column_nameĀ != empty | style="border: 1px solid #010101" width="171" | For each answer option, create a default axis option whose name is the answer optionās text, value is if the data cache column name equals to the answer optionās value
Ex: Q_SQ_1 == [1] |- align="left" valign="top" | style="border: 1px solid #010101" width="171" | Question - Scale | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Column_nameĀ != empty | style="border: 1px solid #010101" width="171" |
|- align="left" valign="top" | style="border: 1px solid #010101" width="171" | Question - ScaleGrid | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Column_nameĀ != empty | style="border: 1px solid #010101" width="171" |
|- align="left" valign="top" | style="border: 1px solid #010101" width="171" | Question - Number | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Same as data cache column name | style="border: 1px solid #010101" width="171" | Column_nameĀ != empty | style="border: 1px solid #010101" width="171" |
|- align="left" valign="top" | style="border: 1px solid #010101" width="171" | Group (only one is generated for ALL sample columns in the data cache where each sample column gets an axis option in the axis set) | style="border: 1px solid #010101" width="171" | āGroupsā | style="border: 1px solid #010101" width="171" | āGroupsā | style="border: 1px solid #010101" width="171" | First group columnās name in data cache | style="border: 1px solid #010101" width="171" | First group columnās name in data cache | style="border: 1px solid #010101" width="171" | For each group column in the data cache one default axis option will be generated with name of group column and value āColumn_Nameā (meaning; summarize all rows in data table where user belongs to this group) |- align="left" valign="top" | style="border: 1px solid #010101" width="171" | Sample
(only one is generated for ALL sample columns in the data cache where each sample column gets an axis option in the axis set) | style="border: 1px solid #010101" width="171" | āSamplesā | style="border: 1px solid #010101" width="171" | āSamplesā | style="border: 1px solid #010101" width="171" | First samples columnās name in data cache | style="border: 1px solid #010101" width="171" | First samples columnās name in data cache | style="border: 1px solid #010101" width="171" | For each sample column in the data cache one default axis option will be generated with name of sample column and value āColumn_Nameā (meaning; summarize all rows in data table where user belongs to this sample)
Not stated here is math-base-modifier which by default will always be null (not modification of math-base done).