L” échelle graphique¶
Scale bars provide a visual indication of the size of features, and distance
between features, on the map item. A scale bar item requires a map item.
Use the Add Scale Bar tool following items creation
instructions to add a new scale bar item that you can
later manipulate the same way as exposed in Interacting with layout items.
By default, a new scale bar item shows the scale of the most recently added map item. You can customize it thanks to the Item Properties panel. Other than the items common properties, this feature has the following functionalities (see figure_layout_scalebar):

Panneau Propriétés d’une barre d’échelle¶
Propriétés principales¶
The Main properties group of the scale bar Item Properties panel provides the following functionalities (see figure_layout_scalebar_ppt):

Scale Bar Main properties group¶
Choisissez tout d’abord à quelle carte la barre d’échelle sera associée.
Ensuite, choisissez le style de la barre d’échelle. Six sont disponibles :
Single box and Double box styles, which contain one or two lines of boxes alternating colors;
Middle, Up or Down line ticks;
Numérique : le ratio d’échelle est affiché (par exemple, 1:50000).
Unités et Segments¶
The Units and Segments groups of the scale bar Item Properties panel provide the following functionalities (see figure_layout_scalebar_units):

Scale Bar Units and Segments groups¶
In these two groups, you can set how the scale bar will be represented.
Select the units you want to use with Scalebar units. There are many possible choices: Map Units (the default one), Meters, Feet, Miles or Nautical Miles… which may force unit conversions.
The Label unit multiplier specifies how many scale bar units per labeled unit. Eg, if your scale bar units are set to « meters », a multiplier of 1000 will result in the scale bar labels in « kilometers ».
The Label for units field defines the text used to describe the units of the scale bar, eg
m
orkm
. This should be matched to reflect the multiplier above.Vous pouvez définir combien de Segments seront dessinés à gauche et / ou à droite de la barre d’échelle.
You can set how long each segment will be (Fixed width), or limit the scale bar size in
mm
with Fit segment width option. In the latter case, each time the map scale changes, the scale bar is resized (and its label updated) to fit the range set.Le champ Hauteur permet de définir la hauteur des barres.
Affichage¶
The Display group of the scale bar Item Properties panel provides the following functionalities (see figure_layout_scalebar_display):

Scale Bar Display group¶
Vous pouvez définir comment l’échelle graphique sera affichée dans son cadre.
Marge de la boîte : espace entre le texte et les bords du cadre
Labels margin : space between text and scale bar drawing
Largeur de ligne : largeur de ligne de l’échelle graphique dessinée
Join style : Corners at the end of scale bar in Bevel, Miter or Round style (only available for Scale bar style Single Box & Double Box)
guilabel:Style d’extrémités : Fin de toutes les lignes dans le style Carré, Rond ou Plat (seulement disponible pour les styles Repères en-dessus, en-dessous et au milieu de la ligne)
Alignement : Met le texte sur la gauche, au milieu ou à droite du cadre (fonctionne uniquement pour le style Numérique)
Polices et couleurs¶
The Fonts and colors group of the scale bar Item Properties panel provides the following functionalities (see figure_layout_scalebar_fonts):

Scale Bar Fonts and colors groups¶
You can define the fonts and colors used for the scale bar.
Use the Font button to set the font of scale bar label
Couleur de police: configure la couleur de police
Couleur de remplissage: configure la première couleur de remplissage
Couleur de remplissage secondaire : configure la seconde couleur de remplissage
Line color: set the color of the lines of the Scale Bar
Fill colors are only used for Single Box and Double Box styles.