public CriticalityVariationsPoints(CriticalityVariations criticalityVariations, CriticalityChartSize criticalityChartSize) : base(criticalityVariations) { chartSize = criticalityChartSize; CalculatePoints(); }
public void LoadCriticality(CriticalityVariations criticalityVariations, Point xAxis) { chartSize = new CriticalityChartSize(new Size(this.Width, this.Height), new Point(xAxis.X, 10), new Point(this.Width - xAxis.Y, 30)); criticalityVariationsPoints = new CriticalityVariationsPoints(criticalityVariations, chartSize); }