Search code examples
ioschartsshinobi

How to customize the look of the crosshair for the iOS Shinobi SDK?


I would like to change the crosshair to a single vertical line. I'm looking for an example of a SChartCrosshair subclass that customizes the drawing. How do I customize the look of the crosshair?


Solution

  • there's a few links on the Shinobi site that show you how to customise the crosshair, they might help :)

    a) http://www.shinobicontrols.com/blog/posts/2013/12/04/data-streaming,-crosshairs-and-custom-tooltips-in-shinobicharts/

    b) http://www.shinobicontrols.com/blog/posts/2012/07/19/customizing-that-crosshair/

    c) http://www.shinobicontrols.com/forum/shinobicontrols/2013/8/crosshair-with-line-only-to-the-x-axis/