Here is an example of how to set all of the items you list, plus disabling the grids.
if (primarychart) { primarychart.ProcessVariableData.LineMarkerPlot.SymbolAttributes.SymbolSize = 3; primarychart.ProcessVariableData.LineMarkerPlot.SymbolAttributes.PrimaryColor = QCSPCChartTS.ChartColor.ORANGE; primarychart.ProcessVariableData.LineMarkerPlot.SymbolAttributes.FillColor = QCSPCChartTS.ChartColor.YELLOW; primarychart.ProcessVariableData.LineMarkerPlot.LineAttributes.PrimaryColor = QCSPCChartTS.ChartColor.PURPLE; primarychart.ProcessVariableData.LineMarkerPlot.LineAttributes.LineWidth = 5; primarychart.ProcessVariableData.LineMarkerPlot.LineAttributes.LineStyle = QCSPCChartTS.ChartConstants.LS_DASH_4_2; primarychart.XGrid.ChartObjEnable = QCSPCChartTS.ChartConstants.OBJECT_DISABLE; primarychart.YGrid.ChartObjEnable = QCSPCChartTS.ChartConstants.OBJECT_DISABLE; primarychart.setZoneColors([QCSPCChartTS.ChartColor.AQUAMARINE, QCSPCChartTS.ChartColor.ORANGE, QCSPCChartTS.ChartColor.YELLOW] );
primarychart.add3SigmaControlLimits(30,25,35, false); primarychart.ControlLimitLineFillMode = true;
} |