title: iOS-Charts draw 2 chart views with same YAxis
body: <p>I'm implementing a line chart on iOS with ability for comparing data using <a href="https://github.com/danielgindi/Charts" rel="nofollow noreferrer">iOS Charts</a> and Swift</p>
  
  <h3>Simplest Scenario</h3>
  
  <p>Compare data of Jan 04 to Jan 05, Jan 05 to Jan 06, Jan 06 to Jan 07 and so on...</p>
  
  <p>So, I need to draw 2 lines with <strong>different XAxis</strong> (second line is 1 day shifted of first line) and same YAxis</p>
  
  <h3>I did</h3>
  
  <p>Create 2 line chart views (<code>LineChartView</code>), 1 with top XAxis and legend ; and 1 with bottom XAxis and legend</p>
  
  <h3>Problems</h3>
  
  <ol>
  <li><p>Because of space of XAxis labels and legends, 2 lines has different YAxis position (e.g: 0 value of line 1 is around 96 value of line 2). I think some margin may resolve this problem but I can find only 1 option <code>minOffset</code>, which set margins for all top, bottom, left and right. What thing I can use to only margin top and bottom?</p></li>
  <li><p>All interactions (drag, zoom, touch, etc) only affect 1 of them, not both. How can I make interactions applied to both of them?</p></li>
  </ol>
  
  <p><strong>Update</strong>
  I resolved first issue by adding minTopBottomOffset and modifying <code>ChartViewBase</code> to use it</p>
  
  <p>More information about what I'm expecting: </p>
  
  <ul>
  <li>I have a data like this: <code>[{time: Jan 01, value: 10}, {time: Jan 02, value: 13}, {time: Jan 03, value: 5}]</code> </li>
  <li><code>time</code> is X, <code>value</code> is Y </li>
  <li>I want to draw first line with XAxis at bottom, second line with XAxis displayed on top and second line has XAxis shifted to the right 1 day. 2 lines have same data </li>
  </ul>
  
  <p>See my expected chart here: <a href="https://drive.google.com/file/d/0B5DT3STrB2t3UW0wTXpKU1RHSTA/view" rel="nofollow noreferrer">https://drive.google.com/file/d/0B5DT3STrB2t3UW0wTXpKU1RHSTA/view</a></p>
  
  <p>Thank you!</p>