Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net
 SPC Control Chart Tools for .Net
 Change symbols on the fly
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dale.Shetler

6 Posts

Posted - 09 Jun 2010 :  17:53:33  Show Profile  Reply with Quote
I am playing with an example using the SPCBatchVariableControlChart usercontrol. Is there a way to change the Symbols on the Control Chart programatically? I can not find a property to set that will change the symbol, symbolsize, or fillflag. None of the sample projects do this.

Thanks for any help.

Dale

quinncurtis

1586 Posts

Posted - 09 Jun 2010 :  18:01:06  Show Profile  Reply with Quote
You will find some examples on page 237 of the manual. Here are a few that should let you change all of the attributes you list:

this.PrimaryChart.ProcessVariableData.LineMarkerPlot.SymbolAttributes.PrimaryColor = Color.Yellow;
this.PrimaryChart.ProcessVariableData.LineMarkerPlot.SymbolAttributes.FillColor = Color.Yellow;
this.PrimaryChart.ProcessVariableData.LineMarkerPlot.SymbolAttributes.SymbolSize = 18;

this.PrimaryChart.ProcessVariableData.LineMarkerPlot.SymbolAttributes.FillFlag = true;
this.PrimaryChart.ProcessVariableData.LineMarkerPlot.LineAttributes.PrimaryColor = Color.Blue;
this.PrimaryChart.ProcessVariableData.LineMarkerPlot.LineMarkerSymbol = ChartObj.SQUARE;

The symbol attributes apply to every point of the plot, with only the symbol color allowed to change in response to an alarm condition.
Go to Top of Page

Dale.Shetler

6 Posts

Posted - 10 Jun 2010 :  08:43:05  Show Profile  Reply with Quote
Thank you, that did it. I didn't see any of the properties I was searching for on that page, but you got me going in the right direction now.

Dale
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07