예제 #1
0
        public CircleChart()
        {
            CenteredImage = true;

            fRenderer = new EtoGfxRenderer();
            fModel    = new CircleChartModel();
            fModel.SetRenderer(fRenderer);
            fModel.Options = new CircleChartOptions();
            fModel.Font    = AppHost.GfxProvider.CreateFont(Font.FamilyName, Font.Size, false);

            fMouseCaptured = MouseCaptured.mcNone;
        }
예제 #2
0
        public CircleChart()
        {
            CenteredImage = true;

            fRenderer = new TreeChartGfxRenderer();
            fModel    = new CircleChartModel();
            fModel.SetRenderer(fRenderer);
            fModel.Options = new AncestorsCircleOptions();
            fModel.Font    = AppHost.GfxProvider.CreateFont(Font.FamilyName, Font.Size, false);

            fMouseCaptured = MouseCaptured.mcNone;

            BackgroundColor = UIHelper.ConvertColor(fModel.Options.BrushColor[9]);
        }
예제 #3
0
        public CircleChart()
        {
            BorderStyle    = BorderStyle.Fixed3D;
            DoubleBuffered = true;

            fRenderer = new WFGfxRenderer();
            fModel    = new CircleChartModel();
            fModel.SetRenderer(fRenderer);
            fModel.Options = new AncestorsCircleOptions();
            fModel.Font    = AppHost.GfxProvider.CreateFont(this.Font.Name, this.Font.Size, false);

            fComponents           = new Container();
            fToolTip              = new ToolTip(fComponents);
            fToolTip.AutoPopDelay = 5000;
            fToolTip.InitialDelay = 250;
            fToolTip.ReshowDelay  = 50;
            fToolTip.ShowAlways   = true;

            fMouseCaptured = MouseCaptured.mcNone;
        }
예제 #4
0
 public override void SetRenderer(ChartRenderer renderer)
 {
     base.SetRenderer(renderer);
     fModel.SetRenderer(renderer);
 }