I am generating a graph using Highcharts framework in one of the iOS projects using Swift language.
The function for generating graph is as follows.