T O P I C R E V I E W |
quinncurtis |
Posted - 26 Oct 2020 : 10:52:25 I’ve been experimenting with the pure JS/TS chart while referring to the manual given and I have some problems that I have encountered.
1. How do I resize the symbol bullet in the chart?
2. How to adjust the line and colour of LineMarkerPlot?
3. How to define specific colours for each zones? |
1 L A T E S T R E P L I E S (Newest First) |
quinncurtis |
Posted - 26 Oct 2020 : 10:53:36 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;
} |
|
|