Beispiel #1
0
 public SpreadCharBaseContainer(SpreadChartBase spreadChart, Control c1Chart, CellsPanel parentViewport) : base(spreadChart, parentViewport)
 {
     _chartBaseView = CreateView(spreadChart, c1Chart);
     _chartBaseView.ParentViewport      = base.ParentViewport;
     _chartBaseView.HorizontalAlignment = HorizontalAlignment.Stretch;
     _chartBaseView.VerticalAlignment   = VerticalAlignment.Stretch;
     base.Content = _chartBaseView;
 }
Beispiel #2
0
 public ChartTitleView(Dt.Cells.Data.ChartTitle chartTitle, SpreadChartBaseView parentView)
 {
     _chartTitle = chartTitle;
     _parentView = parentView;
     _titleFrame = new Rectangle();
     base.Children.Add(_titleFrame);
     _titleContent = new TextBlock();
     _titleContent.TextAlignment = Windows.UI.Xaml.TextAlignment.Center;
     base.Children.Add(_titleContent);
     UpdateChartTitle();
 }