It depends on what you mean by "label." If you are talking about figure
numbering, it's easy. Create a paragraph format called "Label" or
"Figure" or "Caption"-- or whatever you want. Set its autonumbering to
include "<n+>". This makes the number "1" appear the first time you use
the paragraph format, and increments the number each additional time the
paragraph format is used.
Then, when you want to insert a graphic, first insert a single-celled
table in the document with titles turned on. The cell will hold your
graphic. The title will hold the paragraph with the autonumbering. You
can set the title for above or below the graphic. The result is a
graphic with a numbered caption.
For example, I assign this autonumbering style to my Caption paragraph
format:
F:Fig. <n+>.\sn
The "F:" assigns a "series" that keeps the autonumbering for figures
separate from any other numbering sequences in the document. (It does
not print.) "<n+>" sets the autonumber and "\sn" adds a normal space.
(You could type a space instead, but it's invisible at the end of a
line, so you can't tell if it's there as part of the autonumber format.)
The result is "Fig. 1. " (or other autoincremented number) showing
automatically at the beginning of the caption paragraph. I then add in
my caption for the particular graphic.
If you create a standard table format to hold graphics, it can
automatically assign your "Label" format to the table title, rather than
you having to assign it each time you create the table.