- [Instructor] In this movie, I'll show you how
to modify and format the text associated with a graph
and have those modifications survive larger edits.
And so, for starters here,
notice that our text is really, super huge,
and so I'm going to take down a point size
by clicking on a graph with a Black Arrow tool
and then I'll go up to the Control panel,
notice the text is set in Myriad Pro, which is just fine,
but I want to take the type size value here down to 12 points,
at which point I'll press the Enter key,
or the Return key on a Mac, to apply that change.
And you can see that Illustrator goes ahead
and updates every line of point type
that's associated with this graph.
All right, now I'll grab my White Arrow tool,
which, again, I can get by pressing the A key,
and I'll click off the graph to deselect it.
And now I want to make my years larger
by Alt clicking once, that's a Option click on a Mac,
and then Alt or Option clicking a second time
in order to select that text.
I'm going to zoom in here.
It's very important that you don't Alt
or Option double-click on your text
because that's going to switch you to the Type tool,
as we're seeing over here in the toolbox,
as well as position your blinking insertion marker,
which does bring up an interesting point, by the way.
You can go ahead and edit your text if you like to
and change it to anything you like,
but that is going to be a temporary override.
So, if I modify this line of type right here,
and then I select my graph with my Black Arrow tool,
right-click on it and choose the Data command,
I can make any modification here inside this spreadsheet.
For example, I could change this number 73 under Facebook,
not to 74, but just back to 73.
I could change it back to the same value it was
and then click on a check mark
and as soon as I do,
I'm going to override that text modification
and I'm going to replace it with my year, 2022.
And that's because all of the values here
inside the spreadsheet take precedent.
Now, that's not to say you can't modify the text,
you just need to make sure that if you really want
that modification to stick,
that you don't make any further modifications
to the spreadsheet data.
All right, but that's not really what I want to do,
so I'll just go ahead and press Ctrl+0,
or Command+0 on a Mac, to zoom out
and I'll press the A key to switch back
to my White Arrow tool
and I'll Alt click once and then twice.
So, again, don't double-click,
that's an Option click once and then twice on a Mac,
and now I'll go up here to the type size value
and I'll change it to 18 points, like so,
in order to make the years larger.
I also want to make a few modifications to the colors,
so I'll Alt click once and then twice
on the rectangle in front of Facebook,
and I'll click on its fill swatch,
and I'll change it to orange, let's say.
Not because orange is associated with Facebook,
but just for the sake of demonstrational purposes.
And then I'll Alt click once
and then twice on the rectangle in front of Pinterest
in order to select all of the dark gray bars,
and I'll go ahead and change the color
of these guys to, let's say,
this shade of purple right here
and I'll leave Twitter alone, I'll leave it set to gray.
Now, the reason I'm doing this is
because I want you to see that all
of these formatting modifications
that I've applied so far,
including the type size and the colors,
will survive future edits to the graph.
So, let's say I don't really want this
to be a horizontal bar graph,
I want it to be a vertical column graph.
In that case, I would press the V key
to switch back to my Black Arrow tool,
and I would click on some portion of the graph
to select the entire thing,
and then I'd right-click anywhere inside
the Document window.
And this time, instead of choosing Data,
choose Type, the first of the graphing commands,
in order to bring up the Graph Type dialogue box
and now notice that you can switch
to any other style of graph you like.
And so, for example, I can convert this guy
to a Line Graph and then click OK,
at which point I can see my data expressed as lines.
To make a little better sense of it,
I'll press Ctrl+h, or Command+h on a Mac,
in order to hide my selection edges
and now notice how easy it is to see that Facebook,
which has the dark squares,
is much more popular than the other social media sites.
Also notice that all of my text formatting has survived,
but my color modifications have not.
Now, because I don't want to lose those colors,
I'll press Ctrl+z, or Command+z on a Mac,
to undo that change
and I'll right-click again.
Bear in mind that this thing is still selected,
so when I right-click and choose Type,
I am modifying the selected graph.
Now, we do not have a preview available
to this dialogue box,
that's something to bear in mind,
and so, if you want to see how your change looks,
you have to select a different type,
in my case column,
and then you have to click OK
in order to see it applied.
At which point, this time,
because column and bar graphs are closely related
to each other, we end up keeping
not only the text formatting,
but the colors as well.
And so we could now very easily see
that Facebook is much more popular
than the other sites.
LinkedIn isn't really more popular than Instagram right now,
but once these movies starting gaining more
and more popularity, it probably will be by the year 2026.
And that is how you reformat text and numerical values
inside of any kind of graph here inside Illustrator.