- [Instructor] In this movie, I'll show you
how to create and apply graph designs.
Now in the case of this document,
the graph designs are the logos which are repeated
over and over again across the course
of each one of the columns.
Now, a couple of things I want you to notice
about these logos.
With the exception of Pinterest,
every one of them is surrounded by a rounded square,
subject to those dynamic round corners
that we first looked at in chapter 14
of the fundamentals course,
which, as you're about to see,
are going to cause us some problems,
not insurmountable, but we'll need
to be paying attention.
Also notice, if I press Control + Y
or Command + Y on the Mac to switch
to the outline mode, that we have all kinds
of crazy ellipses that are associated
with the Instagram logo.
And those ellipses are making up
that complex gradient that we're seeing right there.
And they are massed into place, incidentally,
which is not going to cause us a problem.
I just want you to know what's going on.
But I also want you to notice,
and it's easy just to pick out
around the Twitter logo right here,
if I were to press the A key
in order to switch to the white arrow tool
and Alt or Option click on this outer rectangle,
that it's actually cropping the logos
and it's defining the distance
between one repeating logo and the next.
And that is something you have to account for
when you first create the graph design.
Alright, so I'll go ahead and switch
to this document in progress here.
And I'll press Shift + Page Down
to advance to the second artboard
which contains large versions of these logos.
And I'll go ahead and zoom in
on the Facebook F right here.
And I should say that every one of these logos
comes directly from the source.
So this is the actual Facebook corporate icon.
Alright, so I'm going to go ahead and click
on this rounded square right here.
And you can see that I have applied dynamic rounding.
I'll go ahead and undo that change.
And that's available to me because I'm working
with the white arrow tool.
Alright, now what I want to do is create
a square boundary for this icon
by grabbing my rectangle tool.
And then, I'm going to move over that center point
right there.
And if I want to make sure I'm absolutely
aligned to it, then I should probably go up
to the View menu and turn on my Smart Guides.
Alright, now I will Alt or Option click
right there on that center point
to bring up the rectangle dialog box.
And I came up with width and height values each
of 148 points, at which point,
I'll click OK to create that big square.
Now I want it to be invisible,
so I'll click on the first color swatch
on the far left side of the control panel,
and I'll select none.
And that way, we have a bounding box.
Alright, now I'll switch back to the black arrow tool
which of course you can get by pressing the V key.
Make to marquee everything like so.
And when I say everything, I mean you need
to partially marquee everything
so that you don't accidentally miss the F.
And then, you want to go up to the Object menu,
drop all the down to Graph at the bottom of the menu,
at which point you'll see those five graphing commands
that begin with Type and end with Marker.
Now so far, we've already seen
the Type and Data commands.
The Design command allows us to create
a graph design, as we'll be doing in just a moment.
The Column command allow you to apply
that design to a column or horizontal bar graph.
And the Marker command allows you apply that design
to a line or area graph.
Alright, so I'll go ahead and choose Design.
Notice that I've already saved out
the other four designs for Instagram,
LinkedIn, Pinterest, and Twitter.
And so, to create the Facebook design,
just go ahead and click on the New Design button,
and that'll create a new design
with the default name.
Be sure to take a look at the preview
to make sure that it looks the way you want it to.
And then, click on the Rename button
and go ahead and call this guy Facebook,
and then click OK.
Go ahead and click OK again in order to complete the design.
Alright, now I'll click off the F to deselect it
and I'll press Control + zero
or Command + zero on the Mac to zoom out.
And I'll press Shift + Page Up
to advance to the previous artboard.
Now what you want to do is apply the design.
And for the sake of convenience here,
I'm just going to apply it to the entire graph
by clicking on it with the black arrow tool.
And then I'll go up to the Object menu,
choose Graph, and choose Column.
And then, you want to find this item right here, Facebook.
Now if you have the other document open,
you'll see this one called Facebook (Social media compared).
And that's because Illustrator can see
graph designs across multiple open documents.
But just to make sure that we're doing
an honest job here, I'll go ahead
and select the first Facebook item.
And then, notice Column Type is set to vertically scaled
and Rotate Legend Design is turned on.
And so if I click OK, you'll see,
if I press Control + H or Command + H on a Mac,
in order to hide the selection edges,
that all the F's are rotated up here
in the legend and they're all stretched
down here in the graph.
If that's not what you want, then just go ahead
and right-click in the document window
and choose Column to revisit that dialog box.
And let's go ahead and change Column Type
this time to Uniformly Scaled.
You're almost never going to want to do this,
but this will prevent the logo from getting stretched.
And then I'll turn off the checkbox Rotate Legend Design
so we're no longer rotating these guys.
And I'll click OK.
And sure enough, that unrotates the logos
in the legend, but it also gives us
these enormous letters right here.
And you can see that they're stacked
on top of each other.
So just notice how ridiculous things are
at this point.
Alright, so I'll press Control + Y
or Command + Y on the Mac to switch back
to the preview mode.
I'll right-click once again and choose Column.
And this time, I'll switch to Sliding.
We'll look at Repeating in the next movie,
but let's take a look at Sliding right now.
As before, we want this checkbox to be turned off.
And so, I'll go ahead and click OK,
and we end up with this very funky effect here.
And notice, by the way, that we are stretching
the F's across their centers, so across the bar.
And that's because, by default,
Illustrator just goes ahead and stretches
the center of the graph design.
Alright, another thing to notice
is the appearance of your corners.
Some of you may be having problems
with your corners right about now
with them stretching oddly,
in which case, press Control + K
or Command + K on a Mac to bring up
the Preference dialog box,
and turn on this checkbox right here, Scale Corners,
and then click OK.
Now, that won't necessarily fix anything immediately,
but it will make a difference
if you right-click, choose Column,
and then switch back to a different setting
such as Vertically Scaled and click OK.
And now you should notice that your corners
are scaling the way they should.
Alright, but what I want to do is create
a version of this logo that scales across the bottom
so that its base stretches and nothing
above this point stretches at all.
And to make that happen, I'll press Shift + Page Down
to advance to the second artboard.
And I'll go ahead and grab these objects right here.
And I can't see them because I need
to press Control + H or Command + H on the Mac
in order to bring back the edges.
And now I'll drag them down while pressing the Shift key.
And then I'll also press the Alt key
or the Option key on the Mac in order to make
a copy of that guy.
So I have the Shift and Alt keys down.
That's Shift and Option on the Mac.
Alright, now you want to grab your line tool
and then just draw a horizontal line.
So press the Shift key as you drag
across the portion of the logo
that you want to see stretch.
So rather than stretching the center
which is right about there
and makes for a big, thick bar,
we want to stretch the base.
Alright, now notice over here in the layers panel
that I have a layer called guides
that happens to be turned off right now.
I'll go ahead and turn it on.
And then I'll drag this line so that it appears
on the guides layer.
And that way, all of our guides will be relocated
to that layer.
And then, you want to right-click in the Document window
and choose Make Guides in order to turn that guy
into a guide.
Now what you want to do is go to the View menu,
choose Guides and choose Unlock Guides.
If the command reads Lock Guides, don't choose it.
So, we just want to unlock it at this point.
And then, press the V key to switch back
to your black arrow tool.
Go ahead and marquee all these objects,
including the guide line right there.
And then, go up to the Object menu,
choose Graph, and choose Design.
And now, I'll go ahead and click on a New Design button.
And then, I'll click on a Rename button.
So, it's a two-part operation.
And I'll call this guy something like Stretchy F,
let's say, and I'll click OK.
Alright, now I'll click OK again
to ensure that I have definitely created that guide.
And I'll return to the View menu,
choose Guides, and choose Lock Guides
to lock those guides down so I don't mess them up.
Alright, now I'll press Shift + Page Up
in order to return to the first artboard.
I'll click on the graph to select it.
And I'll press Control + H or Command + H on the Mac
to hide the selection edges.
And for the present, I'm going to turn off
that guides layer just because we no longer need it.
And I'll right-click in the document window
and choose Column.
And now I'll go ahead and grab Stretchy F,
and I'll change the Column Type
from Vertically Scale to Sliding,
and I'll click OK.
And you can see I'm now exclusively stretching
the base of that F.
Alright, now I'll press Control + H
or Command + H on the Mac to bring back
the selection edges and I'll click off the graph
to deselect it.
And that friends, is how you create
and apply a graph design,
specifically to a vertical column graph,
here inside Illustrator.