private void createChart()
        {
            _lineChart = new ShinobiChart(this.Bounds);
            // Get the license key from our JSON reading utility
            _lineChart.LicenseKey       = ShinobiLicenseKeyProviderJson.Instance.ChartsLicenseKey;
            _lineChart.AutoresizingMask = UIViewAutoresizing.FlexibleDimensions;

            SChartDateTimeAxis xAxis = new SChartDateTimeAxis();

            xAxis.Title = "Week Commencing";
            EnableGesturesOnAxis(xAxis);
            _lineChart.XAxis = xAxis;

            SChartNumberAxis yAxis = new SChartNumberAxis();

            yAxis.RangePaddingHigh = (NSNumber)0.5;
            yAxis.Title            = "Changes";
            EnableGesturesOnAxis(yAxis);
            _lineChart.YAxis = yAxis;

            // Display the legend
            _lineChart.Legend.Hidden    = false;
            _lineChart.Legend.Placement = SChartLegendPlacement.InsidePlotArea;
            _lineChart.Legend.Position  = SChartLegendPosition.TopRight;

            // Add it as a subview
            this.AddSubview(_lineChart);
        }
        /// <summary>
        /// Purpose: Set the chart properties and then draw the charts via the ShinobiChartDataSource class
        /// </summary>
        private void DrawChart()
        {

            float margin = 50 ;

            chart = new ShinobiChart (new CGRect (margin, margin, View.Bounds.Width - 2 * margin, View.Bounds.Height - 2 * margin)) {
                Title = LocalString.GetString("Umsatz36"),
                AutoresizingMask = ~UIViewAutoresizing.None,
//                LicenseKey = "MhVlc8KcDxk+okMMjAxNDExMTZzdGFkbGVyX2NoQGdteC5kZQ==VrdVExgHtimI03hvoPvQ0Htp5U9tP5Nlr5IZhOxwsNs0raEuZCbizUSybvAyb/Yo9HAgotyBC3gRciXIAggLCvgUH3QynASg3BZrgLOnD2v1B2NeJqgQmsthaRUbtO4W1W7wJKLNt2cWB1fBud4qhuLTB/h8=BQxSUisl3BaWf/7myRmmlIjRnMU2cA7q+/03ZX9wdj30RzapYANf51ee3Pi8m2rVW6aD7t6Hi4Qy5vv9xpaQYXF5T7XzsafhzS3hbBokp36BoJZg8IrceBj742nQajYyV7trx5GIw9jy/V6r0bvctKYwTim7Kzq+YPWGMtqtQoU=PFJTQUtleVZhbHVlPjxNb2R1bHVzPnh6YlRrc2dYWWJvQUh5VGR6dkNzQXUrUVAxQnM5b2VrZUxxZVdacnRFbUx3OHZlWStBK3pteXg4NGpJbFkzT2hGdlNYbHZDSjlKVGZQTTF4S2ZweWZBVXBGeXgxRnVBMThOcDNETUxXR1JJbTJ6WXA3a1YyMEdYZGU3RnJyTHZjdGhIbW1BZ21PTTdwMFBsNWlSKzNVMDg5M1N4b2hCZlJ5RHdEeE9vdDNlMD08L01vZHVsdXM+PEV4cG9uZW50PkFRQUI8L0V4cG9uZW50PjwvUlNBS2V5VmFsdWU+" // TODO: Add your trail licence key here!
           };
//            SChartNumberAxis xAxis = new SChartNumberAxis () {
//                Title = "X Value",
//                EnableGesturePanning = false,
//                EnableGestureZooming = true
//            };
//            chart.XAxis = xAxis;

            // Add a pair of axes

            SChartDateTimeAxis xAxis= new SChartDateTimeAxis () {
                Title = LocalString.GetString("Datum"),
                EnableGesturePanning = false,
                EnableGestureZooming = true
            };
//            SChartDiscontinuousDateTimeAxis xAxis = new SChartDiscontinuousDateTimeAxis () {
//                Title = "Datum",
//                EnableGesturePanning = false,
//                EnableGestureZooming = true
//            };
            chart.XAxis = xAxis;

            SChartNumberAxis yAxis = new SChartNumberAxis () {
                Title = LocalString.GetString("Umsatz"),
                EnableGesturePanning = true,
                EnableGestureZooming = true,
                RangePaddingLow = new NSNumber(0.1),
                RangePaddingHigh = new NSNumber(0.1)
            };
            chart.YAxis = yAxis;



            // Add to the view
            View.AddSubview (chart);

            // Set the data source
            chart.DataSource = new ShinobiChartDataSource(_person);

            // Hide the legend if on displaying on iPhone to save space
            chart.Legend.Hidden = false;

      }