This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blockdashboardconfigquery [2017/08/19 22:42] admin a |
blockdashboardconfigquery [2024/04/04 15:50] (current) |
||
---|---|---|---|
Line 74: | Line 74: | ||
| CH-cas | CH | cas | 302 | | | CH-cas | CH | cas | 302 | | ||
- | Afin de pouvoir afficher un graphe en barres sur une série de données par pays, il est nécessaire pour alimenter l'entrée du graphe, de produire une table transformée de la sortie directe de requête. La table à obtenir est : | + | Say now we would like to feed a multiple series graph that will show the country comparison grpah for each auth method. To do that, we need to transform the linear initial result into a matrix that will feed the graph series. We need to get the following form of the same data: |
^ pkey ^ auth ^ FR ^ EN ^ CH ^ | ^ pkey ^ auth ^ FR ^ EN ^ CH ^ | ||
Line 81: | Line 81: | ||
| cas | cas | 1754 | 98 | 302 | | | cas | cas | 1754 | 98 | 302 | | ||
- | qui nous permette de fournir des séries "par méthode d'authentification" sur les entrées pays. | + | This will be easily converted into json structures that feed multiple series graphs. |
- | Nous pouvons exprimer alors la méthode du pivot comme : | + | The result rotation can be written as: |
- | " pivoter la colonne cn (country) autour du pivot "auth" pour re répartir les données de la colonne num ". | + | " Rotate the column cn (country) around the "auth" column to distribute the num column ". |
- | Le pivot nécessite de retraiter les clef primaires pour qu'elles correspondent à la nouvelle organisation de la table de sortie. | + | The rotation will have to process and compute a new form of results primary keys to cope the new table organisation. |
Line 93: | Line 93: | ||
----- | ----- | ||
- | ====Crédits==== | + | ====Credits==== |
- | * Valéry Frémaux (valery@activeprolearn.com)- Développements et documentation | + | * Valéry Frémaux (valery@activeprolearn.com)- Main design and development |
- | * Florence Labord (florence@activeprolearn.com) - documentation | + | * Florence Labord (florence@activeprolearn.com) - Documentation |
- | + | [[:blocks:dashboard:userguide|Return to the configuraiton guide index]] - [[:Blocks:Dashboard|Return to the component index]] - [[:Blocks:Dashboard:QueryCatalogue|Generic query catalog]] - [[:Plugins|Return to the plugins index]] - [[:start|Home]] | |
- | [[:blocks:dashboard:userguide|Revenir à l'index du guide de configuration]] - [[:Blocks:Dashboard|Retour à l'index du composant]] - [[:Blocks:Dashboard:QueryCatalogue|Aller au catalogue de requêtes génériques]] - [[:Plugins|Revenir à l'index des plugins]] - [[:start|Revenir au catalogue]] | + | |
<html><!-- /nomoodle --></html> | <html><!-- /nomoodle --></html> | ||