NChartTooltip CreateTooltip()
        {
            NChartTooltip result = new NChartTooltip();

            result.Background         = new NChartSolidColorBrush(UIColor.FromRGB(255, 255, 255));
            result.Background.Opacity = 0.9f;
            result.Padding            = new NChartMargin(10.0f, 10.0f, 10.0f, 10.0f);
            result.BorderColor        = UIColor.FromRGB(128, 128, 128);
            result.BorderThickness    = 1.0f;
            result.Font = UIFont.SystemFontOfSize(16.0f);

            return(result);
        }
示例#2
0
        NChartTooltip CreateTooltip()
        {
            NChartTooltip result = new NChartTooltip();

            result.Background         = new NChartSolidColorBrush(Color.Argb(255, 255, 255, 255));
            result.Background.Opacity = 0.9f;
            result.Padding            = new NChartMargin(10.0f, 10.0f, 10.0f, 10.0f);
            result.BorderColor        = Color.Argb(255, 128, 128, 128);
            result.BorderThickness    = 1.0f;
            result.Font = new NChartFont(16.0f);

            return(result);
        }
		NChartTooltip CreateTooltip ()
		{
			NChartTooltip result = new NChartTooltip ();

			result.Background = NChartSolidColorBrush.SolidColorBrushWithColor (UIColor.White);
			result.Background.Opacity = 0.9f;
			result.Padding = new NChartMargin (10.0f, 10.0f, 10.0f, 10.0f);
			result.BorderColor = UIColor.FromRGB (128, 128, 128);
			result.BorderThickness = 1.0f;
			result.Font = UIFont.SystemFontOfSize (16.0f);
			result.Visible = false;

			return result;
		}
示例#4
0
		NChartTooltip CreateTooltip ()
		{
			NChartTooltip result = new NChartTooltip ();

			result.Background = new NChartSolidColorBrush (Color.Argb (255, 255, 255, 255));
			result.Background.Opacity = 0.9;
			result.Padding = new NChartTypes.Margin (10.0f, 10.0f, 10.0f, 10.0f);
			result.BorderColor = Color.Argb (255, 128, 128, 128);
			result.BorderThickness = 1;
			result.Font = new NChartFont (16);
			result.Visible = false;

			return result;
		}
示例#5
0
 void UpdateTooltipText(NChartTooltip tooltip, double value)
 {
     tooltip.Text = string.Format("{0:0.##}", value);
 }