public void SetInfo(TheChartDefinition pDef, string pZoomType, string xAxisType) { mChart.ChartDef = pDef; if (mChart.ChartDef.ValueDefinitions == null) { //Must contain ValueDefinition or else out! return; } for (int i = 0; i < mChart.ChartDef.ValueDefinitions.Count; i++) { mChart.dataseries[i] = new List <double>(); } }
public void CreateChartInfo(TheChartDefinition pDef, string pZoomType, string xAxisType) { Reset(); SetInfo(pDef, pZoomType, xAxisType); }
/// <summary> /// Sets a chart infor without a reset /// </summary> /// <param name="pDef">Chart Definition</param> /// <param name="pZoomType">Zoom type</param> /// <param name="xAxisType">Axis Type</param> public void SetInfo(TheChartDefinition pDef, string pZoomType, string xAxisType) { MyDefaultChartsFactory?.SetInfo(pDef, pZoomType, xAxisType); }