public virtual void InitControlData(CellSet.CellSet cs, OlapControl grid) { if (grid.callbackException != null) { exception = SessionTimeoutDialog.RenderMassage(grid, grid.callbackException); return; } Cellset = new RCellset(cs, grid.MaxTextLength); Layout = new ClientLayout(grid.AxesLayout); chartsType = grid.ChartsType; analysisType = "grid"; }
public override void InitControlData(CellSet.CellSet cs, OlapControl grid) { if (grid.callbackException != null) { exception = SessionTimeoutDialog.RenderMassage(grid, grid.callbackException); return; } if (grid.Cube == null) { return; } Cellset = new RCellset(cs, grid.MaxTextLength); Layout = new ClientLayout(grid.AxesLayout); var chart = grid as OlapChart; if (!chart.chartDefinitions.IsEmpty) { chartDefinitions = new ClientChartDefinitions(chart.chartDefinitions); } if (!double.IsNaN(chart.Scale.Item1) && !double.IsNaN(chart.Scale.Item2)) { scaleX = chart.Scale.Item1; scaleY = chart.Scale.Item2; } //grid.ChartsType = new SeriesType[]{SeriesType.Bar}; chartsType = grid.ChartsType; maxTextLength = grid.MaxTextLength; analysisType = "chart"; fontProperties = new FontProperties(); }
internal void InitControlData(CellSet.CellSet cs, OlapControl grid) { Cellset = new RCellset(cs, grid.MaxTextLength); Layout = new ClientLayout(grid.AxesLayout); }