# name2 attribute

Type: | string
Inherited: | no
Used By: | gdata
Default: | none
See: | key-on-x name x

In two dimensional graphs (the towerbargraph and depthbargraph), the name to give the value on the secondary key.
For towerbargraph graphs, this is the name to give the vertical component.
For depthbargraph graphs, this is usually the name to give the Z component, but this will change to the x component if the value of key-on-x has been set to "true".

    <towergraph>
      <gdata name="apples" name2="2000" value="10"/>
      <gdata name="apples" name2="2001" value="11"/>
      <gdata name="oranges" name2="2000" value="9"/>
      <gdata name="oranges" name2="2001" value="7"/>
    </towerbargraph>