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 & .Net Compact Framework
 SPC Control Chart Tools for .Net
 3 Decimal Points in all Data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

syedshanu

17 Posts

Posted - 20 Mar 2008 :  21:29:27  Show Profile  Reply with Quote
I want to display measuerment Data,Cp,cpk,mean,range,ucl,lcl and all the data in chart should be display in 3 disimal points.I want to display all the data in chart as 3 desimal Points.can u tell me one example please.



shanu

quinncurtis

1164 Posts

Posted - 21 Mar 2008 :  15:09:26  Show Profile  Reply with Quote
Set the decimal precision of all of the calculated values using the ChartData.DefectiveDecimalPrecision property.

Me.ChartData.DefectiveDecimalPrecision = 3


Set the decimal precision of the alarm limits using the code below.

Dim i As Integer
For i = SPCChartObjects.SPC_CONTROL_TARGET To Me.PrimaryChart.ControlLimitData.Count - 1
  Dim controllimititem As SPCControlPlotObjectData = Me.PrimaryChart.GetControlLimitData(i)
  controllimititem.LabelDecs = 3
Next
For i = SPCChartObjects.SPC_CONTROL_TARGET To Me.SecondaryChart.ControlLimitData.Count - 1
  Dim controllimititem As SPCControlPlotObjectData = Me.SecondaryChart.GetControlLimitData(i)
  controllimititem.LabelDecs = 3
Next
Go to Top of Page

syedshanu

17 Posts

Posted - 21 Mar 2008 :  20:12:17  Show Profile  Reply with Quote
Thanks for the Replay.It was working fine.

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