For creating the Pro-E graph feature, go to insert>model datum>graph, and you will find the sketcher window appear. Create the graph as below:

click to enlarge
Please notice from the graph sketch that, we have kept 100 units as the total distance from start to end of the curve towards “X” direction but the cam will have 360 degree rotation hence each unit of the graph is equivalent to 3.6 degrees of cam rotation. Also, we have kept the start and the end points of the curve at a vertically same height.
Name the graph as “graph1”.