Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Javascript/Typescript
 QCSPCChart for Javascript/Typescript
 Line attributes (color, style, fill, symbol)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

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;


}

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07