Bug #2281

Mis à jour par Sebastien Jacquot il y a plus de 5 ans

FR

BP: Calcul d'une progression sur un sous-corpus (tout simple, un texte dans un corpus) : l'axe des x commence au début du sous-corpus mais termine à la fin du *corpus*. Corrélaire : La valeur de T qui s'affiche sous le graphe correspond à est la taille du sous-corpus augmentée de la taille de la partie du corpus qui précède le sous-corpus.
Si on utilise le bouton "Reset the chart view", l'axe des x devient celui du corpus entier.

SJ:
Behaviors described in this issue seem to have changed a few since 0.7.8.
- x axis starting delimiter is well set to the first word number of the subcorpus in root corpus space
- x axis ending delimiter is well set to the last word number of the subcorpus in root corpus space
- when creating the chart, or reseting the view, it doesn't extend on x axis to take all the available space (maybe due of wrong T value, need to check this)
- T value is wrong (equals to the size of all token of root corpus from 0 to last subcorpus token)

h3. Validation tests

- create a subcorpus of VOEUX containing the year 1973
- create a progression with the query "faire"
- the chart muse take the entire available space on x axis
- T must be equals to 705
- do some zoom and pan commands in the chart
- starting delimiter vertical dotted line should be at 15 617
- ending delimiter vertical dotted line should be at 16 321
- click on "Reset view"
- the chart muse take the entire available space on x axis (as it opened the first time)

Retour