title: Axis constraint for Coreplot axis set in Swift
body: <p>Currently I'm converting objective-C based plotting app to the swift and most of the parts are knife in the butter, but I'm struck when it comes to the <strong>axis positioning</strong>. </p>
  
  <p>In objective-C I used the below two lines to <strong>fix the axis on the plot</strong>,</p>
  
  <pre class="lang-c prettyprint-override"><code>CPTXYAxisSet *axisSet = (CPTXYAxisSet *)graph.axisSet;
  CPTXYAxis *x = axisSet.xAxis;
  
  x.orthogonalPosition = @0.0
  x.axisConstraints = [CPTConstraints constraintsWithLowerOffset: 0.0];
  </code></pre>
  
  <p>The problem here is, the swift implementation is void of these two properties</p>
  
  <ul>
  <li><p>orthogonalPosition</p></li>
  <li><p>axisConstraints</p></li>
  </ul>
  
  <p>So, if anybody knows the correct way of doing this or any workaround for fixing the axis in the plot kindly provide a helping hand. Thanks in advance.</p>