/// <summary>
        /// Executes the chart demo. </summary>
        /// <param name="context"> the context </param>
        /// <returns> the built intent </returns>
        public override Intent execute(Context context)
        {
            CategorySeries category = new CategorySeries("Weight indic");

            category.add("Current", 75);
            category.add("Minimum", 65);
            category.add("Maximum", 90);
            DialRenderer renderer = new DialRenderer();

            renderer.ChartTitleTextSize = 20;
            renderer.LabelsTextSize     = 15;
            renderer.LegendTextSize     = 15;
            renderer.Margins            = new int[] { 20, 30, 15, 0 };
            SimpleSeriesRenderer r = new SimpleSeriesRenderer();

            r.Color = Color.BLUE;
            renderer.addSeriesRenderer(r);
            r       = new SimpleSeriesRenderer();
            r.Color = Color.rgb(0, 150, 0);
            renderer.addSeriesRenderer(r);
            r       = new SimpleSeriesRenderer();
            r.Color = Color.GREEN;
            renderer.addSeriesRenderer(r);
            renderer.LabelsTextSize = 10;
            renderer.LabelsColor    = Color.WHITE;
            renderer.ShowLabels     = true;
            renderer.VisualTypes    = new DialRenderer.Type[] { DialRenderer.Type.ARROW, DialRenderer.Type.NEEDLE, DialRenderer.Type.NEEDLE };
            renderer.MinValue       = 0;
            renderer.MaxValue       = 150;
            return(ChartFactory.getDialChartIntent(context, category, renderer, "Weight indicator"));
        }
	  /// <summary>
	  /// Executes the chart demo. </summary>
	  /// <param name="context"> the context </param>
	  /// <returns> the built intent </returns>
	  public override Intent execute(Context context)
	  {
		CategorySeries category = new CategorySeries("Weight indic");
		category.add("Current", 75);
		category.add("Minimum", 65);
		category.add("Maximum", 90);
		DialRenderer renderer = new DialRenderer();
		renderer.ChartTitleTextSize = 20;
		renderer.LabelsTextSize = 15;
		renderer.LegendTextSize = 15;
		renderer.Margins = new int[] {20, 30, 15, 0};
		SimpleSeriesRenderer r = new SimpleSeriesRenderer();
		r.Color = Color.BLUE;
		renderer.addSeriesRenderer(r);
		r = new SimpleSeriesRenderer();
		r.Color = Color.rgb(0, 150, 0);
		renderer.addSeriesRenderer(r);
		r = new SimpleSeriesRenderer();
		r.Color = Color.GREEN;
		renderer.addSeriesRenderer(r);
		renderer.LabelsTextSize = 10;
		renderer.LabelsColor = Color.WHITE;
		renderer.ShowLabels = true;
		renderer.VisualTypes = new DialRenderer.Type[] {DialRenderer.Type.ARROW, DialRenderer.Type.NEEDLE, DialRenderer.Type.NEEDLE};
		renderer.MinValue = 0;
		renderer.MaxValue = 150;
		return ChartFactory.getDialChartIntent(context, category, renderer, "Weight indicator");
	  }