title: How to create a custom limit line label in candlestick chart using ios-charts library?
body: <p>I'm using a "Charts" library for drawing candlestick charts in my iOS app.</p>
  
  <p>How can I have labels for limit lines like on the image below?</p>
  
  <p><a href="https://i.stack.imgur.com/a8xFa.png" rel="nofollow noreferrer">Example</a></p>
  
  <p>As far as I understand I have to create a custom renderer for Y axis and override methods for drawing limit lines and/or Y axis labels. 
  So far I managed to achieve this <a href="https://i.stack.imgur.com/h7ecv.png" rel="nofollow noreferrer">screenshot</a>, but the label is not attached to the right end of the limit line and has a static position which means if I zoom or drag the chart it doesn't move correctly with the other labels on the axis. As of now Y labels are generated automatically by the chart.</p>
  
  <p>I tried to follow this example but it didn't work for me: <a href="https://stackoverflow.com/questions/36083802/custom-view-of-limit-line-in-mpandroidchart">Custom view of Limit Line in MPAndroidChart</a></p>
  
  <p>Could you tell me what exactly should I do to make limit line and it's label look like on the example image?
  Would be nice to have a detailed explanation + code since I'm new to iOS programming.</p>